{"id":3959,"date":"2020-11-30T10:00:00","date_gmt":"2020-11-30T16:00:00","guid":{"rendered":"https:\/\/www.foell.org\/justin\/?p=3959"},"modified":"2020-11-30T10:04:52","modified_gmt":"2020-11-30T16:04:52","slug":"dynamic-dns-with-openwrt-19-07-and-nsupdate-info","status":"publish","type":"post","link":"https:\/\/www.foell.org\/justin\/dynamic-dns-with-openwrt-19-07-and-nsupdate-info\/","title":{"rendered":"Dynamic DNS with OpenWrt 19.07 and nsupdate.info"},"content":{"rendered":"\n<p>I went to resurrect my <a href=\"https:\/\/www.foell.org\/justin\/diy-dynamic-dns-with-openwrt-bind\/\">dynamic DNS configuration on my OpenWrt router<\/a>. The idea was sparked from a <a href=\"https:\/\/www.foell.org\/justin\/get-your-files-organized-have-a-backup-plan\/#comment-2397\">reader comment<\/a>, so I wanted to follow-up on using <a href=\"https:\/\/www.nsupdate.info\/\">nsupdate.info<\/a> with OpenWrt for a DIY Dynamic DNS setup.<\/p>\n\n\n\n<p>Before I began, I thought I should see if there&#8217;s a newer OpenWrt version my router can run. I always start on the <a href=\"https:\/\/openwrt.org\/supported_devices\">Supported Devices<\/a> page of the wiki, but on this visit I was treated to a warning:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.foell.org\/justin\/files\/2020\/11\/OpenWrt-Project-Supported-devices.png\"><img loading=\"lazy\" decoding=\"async\" width=\"979\" height=\"703\" data-attachment-id=\"3960\" data-permalink=\"https:\/\/www.foell.org\/justin\/dynamic-dns-with-openwrt-19-07-and-nsupdate-info\/openwrt-project-supported-devices\/\" data-orig-file=\"https:\/\/www.foell.org\/justin\/files\/2020\/11\/OpenWrt-Project-Supported-devices.png\" data-orig-size=\"979,703\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"OpenWrt-Project-Supported-devices\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/www.foell.org\/justin\/files\/2020\/11\/OpenWrt-Project-Supported-devices-300x215.png\" data-large-file=\"https:\/\/www.foell.org\/justin\/files\/2020\/11\/OpenWrt-Project-Supported-devices.png\" src=\"https:\/\/www.foell.org\/justin\/files\/2020\/11\/OpenWrt-Project-Supported-devices.png\" alt=\"\" class=\"wp-image-3960\" srcset=\"https:\/\/www.foell.org\/justin\/files\/2020\/11\/OpenWrt-Project-Supported-devices.png 979w, https:\/\/www.foell.org\/justin\/files\/2020\/11\/OpenWrt-Project-Supported-devices-300x215.png 300w, https:\/\/www.foell.org\/justin\/files\/2020\/11\/OpenWrt-Project-Supported-devices-768x551.png 768w\" sizes=\"auto, (max-width: 979px) 100vw, 979px\" \/><\/a><\/figure>\n\n\n\n<p>If you read the<a href=\"https:\/\/openwrt.org\/supported_devices\/432_warning\"> 4\/32 warning<\/a>, the crux of the matter is that there may not be enough RAM to run OpenWrt without crashing. And the small flash area means possibly not having enough room to install LuCI, the web interface, and the <a href=\"https:\/\/openwrt.org\/docs\/guide-user\/luci\/luci.secure\">packages to access LuCI via HTTPS<\/a>. Also, there&#8217;s this:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>Previous versions of OpenWrt (such as earlier versions of 17.01.x, 15.05.x \u201cChaos Calmer\u201d and prior) contain now-known security vulnerabilities in the kernel, wireless implementation, and\/or application code. [&#8230;] In many cases, these known vulnerabilities are being actively targeted, potentially including by <a href=\"https:\/\/blog.talosintelligence.com\/2018\/05\/VPNFilter.html\">advanced, likely state-sponsored or state-affiliated actor<\/a> or actors.<\/p><\/blockquote>\n\n\n\n<!--more-->\n\n\n\n<p>Ugh, I <em>was<\/em> using one of those older versions, and now I&#8217;m paranoid (as I should be) that my router could be used as a tool by nation-states to do their bidding. Nicely, there&#8217;s a link on the supported devices page titled <a href=\"https:\/\/openwrt.org\/toh\/views\/toh_available_16128\">&#8220;I want to buy a router which is supported by OpenWrt.&#8221;<\/a> It links to their supported hardware table, pre-filtered by units that can run the latest stable version of OpenWrt &#8211; 19.07.4 at time of writing.<\/p>\n\n\n\n<p>I spent some time browsing this list compared to what was available at my local <a href=\"https:\/\/www.microcenter.com\/\">Micro Center<\/a>. I tried to find one that had the best OpenWrt support with the fewest known issues, and landed on the <a href=\"https:\/\/openwrt.org\/toh\/tp-link\/archer-c7-1750\">TP-Link C7 AC1750<\/a> for $70. If I like this one after a month or so, I&#8217;m going to buy another for better coverage.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">OpenWrt ddns-scripts install<\/h2>\n\n\n\n<p>With the hardware choice out of the way, I installed OpenWrt 19.07.4. Then I needed to <a href=\"https:\/\/openwrt.org\/docs\/guide-user\/services\/ddns\/client\">add support for Dynamic DNS<\/a>. Go to <em>System -&gt; Software<\/em> in the Web UI (LuCI). Click <em>Update lists&#8230;<\/em>, then type <code>ddns<\/code> in the filter input and press &lt;Enter&gt; to filter the list. The packages to install to use nsupdate.info are <code>ddns-scripts_nsupdate<\/code> and <code>luci-i18n-ddns-en<\/code> (or whatever language package you need):<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.foell.org\/justin\/files\/2020\/11\/OpenWrt-ddns-Software-LuCI.png\"><img loading=\"lazy\" decoding=\"async\" width=\"889\" height=\"1024\" data-attachment-id=\"3966\" data-permalink=\"https:\/\/www.foell.org\/justin\/dynamic-dns-with-openwrt-19-07-and-nsupdate-info\/openwrt-ddns-software-luci\/\" data-orig-file=\"https:\/\/www.foell.org\/justin\/files\/2020\/11\/OpenWrt-ddns-Software-LuCI.png\" data-orig-size=\"1050,1209\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"OpenWrt-ddns-Software-LuCI\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/www.foell.org\/justin\/files\/2020\/11\/OpenWrt-ddns-Software-LuCI-261x300.png\" data-large-file=\"https:\/\/www.foell.org\/justin\/files\/2020\/11\/OpenWrt-ddns-Software-LuCI-889x1024.png\" src=\"https:\/\/www.foell.org\/justin\/files\/2020\/11\/OpenWrt-ddns-Software-LuCI-889x1024.png\" alt=\"\" class=\"wp-image-3966\" srcset=\"https:\/\/www.foell.org\/justin\/files\/2020\/11\/OpenWrt-ddns-Software-LuCI-889x1024.png 889w, https:\/\/www.foell.org\/justin\/files\/2020\/11\/OpenWrt-ddns-Software-LuCI-261x300.png 261w, https:\/\/www.foell.org\/justin\/files\/2020\/11\/OpenWrt-ddns-Software-LuCI-768x884.png 768w, https:\/\/www.foell.org\/justin\/files\/2020\/11\/OpenWrt-ddns-Software-LuCI.png 1050w\" sizes=\"auto, (max-width: 889px) 100vw, 889px\" \/><\/a><\/figure>\n\n\n\n<p>Installing those will also install their dependencies, such as the base <code>ddns-scripts<\/code> and <code>luci-app-ddns<\/code>. Once they&#8217;re installed, reboot your router and you&#8217;ll have a <em>Services -&gt; Dynamic DNS<\/em> menu.<\/p>\n\n\n\n<p>You might see the menu before rebooting, but you&#8217;ll likely get this error if you try to visit it:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/usr\/lib\/lua\/luci\/controller\/ddns.lua:116: attempt to index field '?' (a nil value)<\/code><\/pre>\n\n\n\n<p><a href=\"https:\/\/forum.openwrt.org\/t\/dynamic-dns-luci-gui-does-not-load-on-19-07-rc1\/48064\">Rebooting should take care of it.<\/a> Then on the new <em>Dynamic DNS<\/em> page, you may see a <em>Hints<\/em> notification like this:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.foell.org\/justin\/files\/2020\/11\/OpenWrt-Dynamic-DNS-LuCI.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"657\" data-attachment-id=\"3967\" data-permalink=\"https:\/\/www.foell.org\/justin\/dynamic-dns-with-openwrt-19-07-and-nsupdate-info\/openwrt-dynamic-dns-luci\/\" data-orig-file=\"https:\/\/www.foell.org\/justin\/files\/2020\/11\/OpenWrt-Dynamic-DNS-LuCI.png\" data-orig-size=\"1060,680\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"OpenWrt-Dynamic-DNS-LuCI\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/www.foell.org\/justin\/files\/2020\/11\/OpenWrt-Dynamic-DNS-LuCI-300x192.png\" data-large-file=\"https:\/\/www.foell.org\/justin\/files\/2020\/11\/OpenWrt-Dynamic-DNS-LuCI-1024x657.png\" src=\"https:\/\/www.foell.org\/justin\/files\/2020\/11\/OpenWrt-Dynamic-DNS-LuCI-1024x657.png\" alt=\"\" class=\"wp-image-3967\" srcset=\"https:\/\/www.foell.org\/justin\/files\/2020\/11\/OpenWrt-Dynamic-DNS-LuCI-1024x657.png 1024w, https:\/\/www.foell.org\/justin\/files\/2020\/11\/OpenWrt-Dynamic-DNS-LuCI-300x192.png 300w, https:\/\/www.foell.org\/justin\/files\/2020\/11\/OpenWrt-Dynamic-DNS-LuCI-768x493.png 768w, https:\/\/www.foell.org\/justin\/files\/2020\/11\/OpenWrt-Dynamic-DNS-LuCI.png 1060w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Following it will lead you to a hints page and let you know you need to install a couple more packages: <code>curl<\/code> and <code>bind-host<\/code>. Follow the same installation process as above. After they&#8217;re installed, the <em>Hints<\/em> section will go away.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">DNS Configuration<\/h2>\n\n\n\n<p>The only configuration you have to do at your DNS provider is add a <code>CNAME<\/code> record for the domain you want to use:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>your.domain.com CNAME yourdomain.nsupdate.info<\/code><\/pre>\n\n\n\n<p>Then when you go to nsupdate.info, on the <em>Overview<\/em> page click <em>Add Host<\/em> and put in the subdomain (example: <code>yourdomain<\/code> from above) in the <em>Name<\/em> field, then select <code>nsupdate.info<\/code> under <em>Domain<\/em>:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.foell.org\/justin\/files\/2020\/11\/nsupdate-info-create-new.png\"><img loading=\"lazy\" decoding=\"async\" width=\"467\" height=\"419\" data-attachment-id=\"3969\" data-permalink=\"https:\/\/www.foell.org\/justin\/dynamic-dns-with-openwrt-19-07-and-nsupdate-info\/nsupdate-info-create-new\/\" data-orig-file=\"https:\/\/www.foell.org\/justin\/files\/2020\/11\/nsupdate-info-create-new.png\" data-orig-size=\"467,419\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"nsupdate-info-create-new\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/www.foell.org\/justin\/files\/2020\/11\/nsupdate-info-create-new-300x269.png\" data-large-file=\"https:\/\/www.foell.org\/justin\/files\/2020\/11\/nsupdate-info-create-new.png\" src=\"https:\/\/www.foell.org\/justin\/files\/2020\/11\/nsupdate-info-create-new.png\" alt=\"\" class=\"wp-image-3969\" srcset=\"https:\/\/www.foell.org\/justin\/files\/2020\/11\/nsupdate-info-create-new.png 467w, https:\/\/www.foell.org\/justin\/files\/2020\/11\/nsupdate-info-create-new-300x269.png 300w\" sizes=\"auto, (max-width: 467px) 100vw, 467px\" \/><\/a><\/figure>\n\n\n\n<p>Conveniently, after creating your new host entry, nsupdate.info will print your update secret and include specific configuration parameters for OpenWrt:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.foell.org\/justin\/files\/2020\/11\/nsupdate-info-secret-generated.png\"><img loading=\"lazy\" decoding=\"async\" width=\"913\" height=\"1024\" data-attachment-id=\"3970\" data-permalink=\"https:\/\/www.foell.org\/justin\/dynamic-dns-with-openwrt-19-07-and-nsupdate-info\/nsupdate-info-secret-generated\/\" data-orig-file=\"https:\/\/www.foell.org\/justin\/files\/2020\/11\/nsupdate-info-secret-generated.png\" data-orig-size=\"945,1060\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"nsupdate-info-secret-generated\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/www.foell.org\/justin\/files\/2020\/11\/nsupdate-info-secret-generated-267x300.png\" data-large-file=\"https:\/\/www.foell.org\/justin\/files\/2020\/11\/nsupdate-info-secret-generated-913x1024.png\" src=\"https:\/\/www.foell.org\/justin\/files\/2020\/11\/nsupdate-info-secret-generated-913x1024.png\" alt=\"\" class=\"wp-image-3970\" srcset=\"https:\/\/www.foell.org\/justin\/files\/2020\/11\/nsupdate-info-secret-generated-913x1024.png 913w, https:\/\/www.foell.org\/justin\/files\/2020\/11\/nsupdate-info-secret-generated-267x300.png 267w, https:\/\/www.foell.org\/justin\/files\/2020\/11\/nsupdate-info-secret-generated-768x861.png 768w, https:\/\/www.foell.org\/justin\/files\/2020\/11\/nsupdate-info-secret-generated.png 945w\" sizes=\"auto, (max-width: 913px) 100vw, 913px\" \/><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">OpenWrt Configuration<\/h2>\n\n\n\n<p>You can use the configuration info from nsupdate.info, but it&#8217;s just as easy to paste the info into the LuCI panel. It&#8217;s worth noting that you only need to generate one host and host secret at nsupdate.info, but you&#8217;ll have two separate configurations in OpenWrt for IPv4 and IPv6.<\/p>\n\n\n\n<p>In OpenWrt&#8217;s <em>Dynamic DNS<\/em> page, click <em>Edit<\/em> on the <code>myddns_ipv4<\/code> row. The first thing you&#8217;ll want to do is update the <em>DDNS Service provider<\/em> to <code>nsupdate.info<\/code> and click <em>Change provider<\/em>:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.foell.org\/justin\/files\/2020\/11\/OpenWrt-ddns-provider-LuCI.png\"><img loading=\"lazy\" decoding=\"async\" width=\"940\" height=\"853\" data-attachment-id=\"3971\" data-permalink=\"https:\/\/www.foell.org\/justin\/dynamic-dns-with-openwrt-19-07-and-nsupdate-info\/openwrt-ddns-provider-luci\/\" data-orig-file=\"https:\/\/www.foell.org\/justin\/files\/2020\/11\/OpenWrt-ddns-provider-LuCI.png\" data-orig-size=\"940,853\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"OpenWrt-ddns-provider-LuCI\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/www.foell.org\/justin\/files\/2020\/11\/OpenWrt-ddns-provider-LuCI-300x272.png\" data-large-file=\"https:\/\/www.foell.org\/justin\/files\/2020\/11\/OpenWrt-ddns-provider-LuCI.png\" src=\"https:\/\/www.foell.org\/justin\/files\/2020\/11\/OpenWrt-ddns-provider-LuCI.png\" alt=\"\" class=\"wp-image-3971\" srcset=\"https:\/\/www.foell.org\/justin\/files\/2020\/11\/OpenWrt-ddns-provider-LuCI.png 940w, https:\/\/www.foell.org\/justin\/files\/2020\/11\/OpenWrt-ddns-provider-LuCI-300x272.png 300w, https:\/\/www.foell.org\/justin\/files\/2020\/11\/OpenWrt-ddns-provider-LuCI-768x697.png 768w\" sizes=\"auto, (max-width: 940px) 100vw, 940px\" \/><\/a><\/figure>\n\n\n\n<p>Only then can you enter all of the information from nsupdate.info:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.foell.org\/justin\/files\/2020\/11\/OpenWrt-nsupdate-info-config-LuCI.png\"><img loading=\"lazy\" decoding=\"async\" width=\"834\" height=\"1024\" data-attachment-id=\"3972\" data-permalink=\"https:\/\/www.foell.org\/justin\/dynamic-dns-with-openwrt-19-07-and-nsupdate-info\/openwrt-nsupdate-info-config-luci\/\" data-orig-file=\"https:\/\/www.foell.org\/justin\/files\/2020\/11\/OpenWrt-nsupdate-info-config-LuCI.png\" data-orig-size=\"946,1161\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"OpenWrt-nsupdate-info-config-LuCI\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/www.foell.org\/justin\/files\/2020\/11\/OpenWrt-nsupdate-info-config-LuCI-244x300.png\" data-large-file=\"https:\/\/www.foell.org\/justin\/files\/2020\/11\/OpenWrt-nsupdate-info-config-LuCI-834x1024.png\" src=\"https:\/\/www.foell.org\/justin\/files\/2020\/11\/OpenWrt-nsupdate-info-config-LuCI-834x1024.png\" alt=\"\" class=\"wp-image-3972\" srcset=\"https:\/\/www.foell.org\/justin\/files\/2020\/11\/OpenWrt-nsupdate-info-config-LuCI-834x1024.png 834w, https:\/\/www.foell.org\/justin\/files\/2020\/11\/OpenWrt-nsupdate-info-config-LuCI-244x300.png 244w, https:\/\/www.foell.org\/justin\/files\/2020\/11\/OpenWrt-nsupdate-info-config-LuCI-768x943.png 768w, https:\/\/www.foell.org\/justin\/files\/2020\/11\/OpenWrt-nsupdate-info-config-LuCI.png 946w\" sizes=\"auto, (max-width: 834px) 100vw, 834px\" \/><\/a><\/figure>\n\n\n\n<p>Enter your nsupdate.info <a href=\"https:\/\/en.wikipedia.org\/wiki\/Fully_qualified_domain_name\">FQDN<\/a> in all of these fields:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Lookup Hostname<\/li><li>Domain<\/li><li>Username<\/li><\/ul>\n\n\n\n<p>Then put your secret in the <em>Password<\/em> field. Check both <em>Enabled<\/em> and <em>Use HTTP Secure<\/em>, then add <code>\/etc\/ssl\/certs<\/code> to <em>Path to CA-Certificate<\/em>. Click Save &amp; Apply, then repeat the same process with the same info for the other <code>myddns_ipv6<\/code> entry.<\/p>\n\n\n\n<p>From the Dynamic DNS overview page in OpenWrt, click the <em>Start<\/em> buttons for each row under <em>Process ID Start \/ Stop<\/em>. This only needs to be done once when you&#8217;re done configuring Dynamic DNS.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Test<\/h2>\n\n\n\n<p>Starting the Dynamic DNS process in OpenWrt should trigger your first update at nsupdate.info. You can see it easily on the Overview page:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.foell.org\/justin\/files\/2020\/11\/nsupdate-info-overview.png\"><img loading=\"lazy\" decoding=\"async\" width=\"933\" height=\"260\" data-attachment-id=\"3973\" data-permalink=\"https:\/\/www.foell.org\/justin\/dynamic-dns-with-openwrt-19-07-and-nsupdate-info\/nsupdate-info-overview\/\" data-orig-file=\"https:\/\/www.foell.org\/justin\/files\/2020\/11\/nsupdate-info-overview.png\" data-orig-size=\"933,260\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"nsupdate-info-overview\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/www.foell.org\/justin\/files\/2020\/11\/nsupdate-info-overview-300x84.png\" data-large-file=\"https:\/\/www.foell.org\/justin\/files\/2020\/11\/nsupdate-info-overview.png\" src=\"https:\/\/www.foell.org\/justin\/files\/2020\/11\/nsupdate-info-overview.png\" alt=\"\" class=\"wp-image-3973\" srcset=\"https:\/\/www.foell.org\/justin\/files\/2020\/11\/nsupdate-info-overview.png 933w, https:\/\/www.foell.org\/justin\/files\/2020\/11\/nsupdate-info-overview-300x84.png 300w, https:\/\/www.foell.org\/justin\/files\/2020\/11\/nsupdate-info-overview-768x214.png 768w\" sizes=\"auto, (max-width: 933px) 100vw, 933px\" \/><\/a><\/figure>\n\n\n\n<p>If it all worked, your IPv4 and IPv6 address should be updated, hopefully with a green TLS indicator noting that it was done securely. If there are any problems, the numbers under <em>Faults<\/em> will increase &#8211; C for Client, S for Server.<\/p>\n\n\n\n<p>If there are problems, you can see API messages on nsupdate.info by clicking on your hostname to get further details. You can also view detailed logs in OpenWrt by clicking <em>Edit<\/em> on the <code>myddns_ipv4<\/code> or <code>myddns_ipv6<\/code> rows. Then click the <em>Log File Viewer<\/em> tab and click the <em>Read \/ Reread Log File<\/em> button.<\/p>\n\n\n\n<p>I was able to configure this in under an hour, hopefully you find it useful. Let me know if you have any troubles getting things to work.<\/p>\n<div class='kindleWidget kindleLight' ><img decoding=\"async\" src=\"https:\/\/www.foell.org\/justin\/wp-content\/plugins\/send-to-kindle\/media\/white-15.png\" \/><span>Send to Kindle<\/span><\/div>","protected":false},"excerpt":{"rendered":"<p>I went to resurrect my dynamic DNS configuration on my OpenWrt router. The idea was sparked from a reader comment, so I wanted to follow-up on using nsupdate.info with OpenWrt for a DIY Dynamic DNS setup. Before I began, I thought I should see if there&#8217;s a newer OpenWrt version my router can run. I&hellip; <a href=\"https:\/\/www.foell.org\/justin\/dynamic-dns-with-openwrt-19-07-and-nsupdate-info\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"Dynamic DNS with OpenWrt 19.07 and nsupdate.info","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1,17],"tags":[24],"class_list":["post-3959","post","type-post","status-publish","format-standard","hentry","category-business","category-dns","tag-openwrt"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.foell.org\/justin\/wp-json\/wp\/v2\/posts\/3959","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.foell.org\/justin\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.foell.org\/justin\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.foell.org\/justin\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.foell.org\/justin\/wp-json\/wp\/v2\/comments?post=3959"}],"version-history":[{"count":15,"href":"https:\/\/www.foell.org\/justin\/wp-json\/wp\/v2\/posts\/3959\/revisions"}],"predecessor-version":[{"id":3989,"href":"https:\/\/www.foell.org\/justin\/wp-json\/wp\/v2\/posts\/3959\/revisions\/3989"}],"wp:attachment":[{"href":"https:\/\/www.foell.org\/justin\/wp-json\/wp\/v2\/media?parent=3959"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.foell.org\/justin\/wp-json\/wp\/v2\/categories?post=3959"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.foell.org\/justin\/wp-json\/wp\/v2\/tags?post=3959"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}