{"id":71,"date":"2024-12-08T20:45:35","date_gmt":"2024-12-08T20:45:35","guid":{"rendered":"https:\/\/electricmammal.com\/wordpress\/?p=71"},"modified":"2024-12-14T14:45:43","modified_gmt":"2024-12-14T14:45:43","slug":"dynamic-dns-with-noip-com","status":"publish","type":"post","link":"https:\/\/electricmammal.com\/wordpress\/index.php\/2024\/12\/08\/dynamic-dns-with-noip-com\/","title":{"rendered":"Dynamic DNS with noip.com"},"content":{"rendered":"\n<p>Like I said in the post about installing WordPress, you will probably need a dynamic DNS update client. What does this service do?<\/p>\n\n\n\n<p>Your ISP provider has only so many IP addresses. Not all customers are online at the same time. If you log off and don&#8217;t use your internet connection for a bit, and your neighbor logs on, your neighbor may well end up having the IP address you were just using. If you log back on, and your neighbor is still online, you&#8217;ll be given an address that is different from the one you had used previously.<\/p>\n\n\n\n<p>That&#8217;s all well and good for traffic you originate. However, if someone is trying to reach electricmammal.com, the DNS server needs to match the name to the numerical IP address and then arrange the connection accordingly. If your numerical address is changing all the time (or potentially changing all the time), that&#8217;s a problem.<\/p>\n\n\n\n<p>noip.com and its kin make an arrangement with your computer&#8211; send us the numerical IP address currently assigned to you by your ISP every few minutes and we&#8217;ll make sure the DNS server has the right information. Hosting from a home server would be either impossible or very expensive without such a service.<\/p>\n\n\n\n<p>The update process is most easily managed by your router. noip.com has a <a href=\"https:\/\/www.noip.com\/support\/knowledgebase\/how-to-configure-ddns-in-router\" data-type=\"link\" data-id=\"https:\/\/www.noip.com\/support\/knowledgebase\/how-to-configure-ddns-in-router\">great article<\/a> on how to do this, showing the screens for several different router brands. You must supply your noip username, noip password, and the name of the domain that you&#8217;ve registered with noip.<\/p>\n\n\n\n<p>Alas, if you must install an update client on your pi, it&#8217;s a little more complicated, but not horrible. The basic article from noip is <a href=\"https:\/\/www.noip.com\/download?page=linux\">here<\/a>.<\/p>\n\n\n\n<p>The recommended code provided in the article does not work, but the following does. the package  installed should be <strong><em>arm64.deb<\/em><\/strong>, not <strong><em>amd64.deb<\/em><\/strong>.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>wget --content-disposition https:\/\/www.noip.com\/download\/linux\/latest<\/code><\/li>\n\n\n\n<li><code>tar xf noip-duc_3.3.0.tar.gz<\/code><\/li>\n\n\n\n<li><code>cd \/home\/$USER\/noip-duc_3.3.0\/binaries &amp;&amp; sudo apt install .\/noip-duc_3.3.0_arm64.deb<\/code><\/li>\n<\/ul>\n\n\n\n<p>To run the client, use the following line in Terminal:  <\/p>\n\n\n\n<p><code><mark style=\"background-color:var(--base)\" class=\"has-inline-color\">sudo noip-duc -g example.com --username yourusername --password yourpassword<\/mark><\/code><\/p>\n\n\n\n<p>Better yet, make activation automatic at boot:<\/p>\n\n\n\n<p>Open cron for editing: <code>sudo crontab -e<\/code><\/p>\n\n\n\n<p>Choose 1, so you are using the <code>nano<\/code> editor.<\/p>\n\n\n\n<p>Add the following line at the bottom of the file <\/p>\n\n\n\n<p><mark style=\"background-color:var(--base)\" class=\"has-inline-color\"><code>@reboot<\/code> <code>s<\/code><\/mark><code><mark style=\"background-color:var(--base)\" class=\"has-inline-color\">udo noip-duc -g example.com --username yourusername --password yourpassword<\/mark><\/code><\/p>\n\n\n\n<p>Type <code>control-x<\/code>, type <code>y,<\/code> and hit <code>enter<\/code>.<\/p>\n\n\n\n<p>You will probably need to reboot: <code><mark style=\"background-color:var(--base)\" class=\"has-inline-color\">sudo reboot<\/mark><\/code><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Like I said in the post about installing WordPress, you will probably need a dynamic DNS update client. What does this service do? Your ISP provider has only so many IP addresses. Not all customers are online at the same time. If you log off and don&#8217;t use your internet connection for a bit, and &#8230; <a title=\"Dynamic DNS with noip.com\" class=\"read-more\" href=\"https:\/\/electricmammal.com\/wordpress\/index.php\/2024\/12\/08\/dynamic-dns-with-noip-com\/\" aria-label=\"Read more about Dynamic DNS with noip.com\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-71","post","type-post","status-publish","format-standard","hentry","category-electronics-and-computers"],"_links":{"self":[{"href":"https:\/\/electricmammal.com\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/71","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/electricmammal.com\/wordpress\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/electricmammal.com\/wordpress\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/electricmammal.com\/wordpress\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/electricmammal.com\/wordpress\/index.php\/wp-json\/wp\/v2\/comments?post=71"}],"version-history":[{"count":6,"href":"https:\/\/electricmammal.com\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/71\/revisions"}],"predecessor-version":[{"id":91,"href":"https:\/\/electricmammal.com\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/71\/revisions\/91"}],"wp:attachment":[{"href":"https:\/\/electricmammal.com\/wordpress\/index.php\/wp-json\/wp\/v2\/media?parent=71"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/electricmammal.com\/wordpress\/index.php\/wp-json\/wp\/v2\/categories?post=71"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/electricmammal.com\/wordpress\/index.php\/wp-json\/wp\/v2\/tags?post=71"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}