{"id":208,"date":"2023-05-26T13:35:55","date_gmt":"2023-05-26T13:35:55","guid":{"rendered":"https:\/\/koner.mywire.org\/?page_id=208"},"modified":"2023-06-23T09:31:51","modified_gmt":"2023-06-23T09:31:51","slug":"dynu-ddns-free-dynamic-dns-service","status":"publish","type":"page","link":"https:\/\/koner.mywire.org\/index.php\/dynu-ddns-free-dynamic-dns-service\/","title":{"rendered":"Free Dynamic DNS Service"},"content":{"rendered":"\n<h4 class=\"wp-block-heading\">What is dynamic DNS?<\/h4>\n\n\n\n<p>Dynamic DNS technology allows you to give your home network PC or server a permanent address on the Internet. Internet service providers change your IP address on a regular basis, but with dynamic DNS you can keep your domain name pointed to the current IP address of your home server or other devices.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Set up dynamic DNS (DDNS) for your Raspberry Pi using dynu.com free service<\/h4>\n\n\n\n<p>Sign up for a dynu.com account: Go to the dynu.com website (<a href=\"https:\/\/www.dynu.com\/\">https:\/\/www.dynu.com\/<\/a>) and sign up for a free account. Provide the necessary information and create a new domain name (e.g., yourdomain.dynu.com) or use an existing domain if you have one.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a href=\"https:\/\/www.dynu.com\/DynamicDNS\/IPUpdateClient\/RaspberryPi-Dynamic-DNS\" data-type=\"URL\" data-id=\"https:\/\/www.dynu.com\/DynamicDNS\/IPUpdateClient\/RaspberryPi-Dynamic-DNS\">Raspberry Pi<\/a><\/h3>\n\n\n\n<p>You can <a href=\"https:\/\/www.dynu.com\/DynamicDNS\/IPUpdateClient\/RaspberryPi-Dynamic-DNS\" data-type=\"URL\" data-id=\"https:\/\/www.dynu.com\/DynamicDNS\/IPUpdateClient\/RaspberryPi-Dynamic-DNS\">create a script in Raspberry Pi<\/a> and setup a cron job to run every 5 minutes to keep your hostnames updated to the most current IP address.<\/p>\n\n\n\n<p>1. Create a directory to put the files into.<\/p>\n\n\n\n<p><code>cd ~<br>mkdir dynudns<br>cd dynudns<\/code><\/p>\n\n\n\n<p>2. Create a dynu.sh script with the command to update the IP address. For security reasons, you should use the&nbsp;<a href=\"https:\/\/www.dynu.com\/NetworkTools\/Hash\" target=\"_blank\" rel=\"noreferrer noopener\">MD5 hash<\/a>&nbsp;of your password. If you use the regular password, please be sure to URL encode any special characters in the password.<\/p>\n\n\n\n<p><code>nano dynu.sh<\/code><\/p>\n\n\n\n<p>echo url=&#8221;https:\/\/api.dynu.com\/nic\/update?username=USERNAME&amp;password=PASSWORD&#8221; | curl -k -o ~\/dynudns\/dynu.log -K &#8211;<\/p>\n\n\n\n<p>3. Make dynu.sh executable.<\/p>\n\n\n\n<p><code>chmod 700 dynu.sh<\/code><\/p>\n\n\n\n<p>4. Use a cron job to make the script run every 5 minutes.<\/p>\n\n\n\n<p><code>crontab -<\/code>e<\/p>\n\n\n\n<p>Add the following to the bottom of the crontab:<\/p>\n\n\n\n<p>*\/5 * * * * ~\/dynudns\/dynu.sh<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Free DDNS Server for RaspberryPi using DYNU to connect home! - RaspberryPi Tutorial #04 | 4K\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/ZKEGP_qBmxg?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>What is dynamic DNS? Dynamic DNS technology allows you to give your home network PC or server a permanent address on the Internet. Internet service providers change your IP address on a regular basis, but with dynamic DNS you can keep your domain name pointed to the current IP address of your home server or [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-208","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/koner.mywire.org\/index.php\/wp-json\/wp\/v2\/pages\/208","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/koner.mywire.org\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/koner.mywire.org\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/koner.mywire.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/koner.mywire.org\/index.php\/wp-json\/wp\/v2\/comments?post=208"}],"version-history":[{"count":17,"href":"https:\/\/koner.mywire.org\/index.php\/wp-json\/wp\/v2\/pages\/208\/revisions"}],"predecessor-version":[{"id":232,"href":"https:\/\/koner.mywire.org\/index.php\/wp-json\/wp\/v2\/pages\/208\/revisions\/232"}],"wp:attachment":[{"href":"https:\/\/koner.mywire.org\/index.php\/wp-json\/wp\/v2\/media?parent=208"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}