{"id":546,"date":"2023-04-04T20:42:38","date_gmt":"2023-04-04T20:42:38","guid":{"rendered":"http:\/\/blog.miguelsarmiento.com\/?p=546"},"modified":"2023-04-04T20:42:38","modified_gmt":"2023-04-04T20:42:38","slug":"ddns-ipv4-ipv6-togetherness","status":"publish","type":"post","link":"https:\/\/blog.miguelsarmiento.com\/?p=546","title":{"rendered":"DDNS IPV4, IPV6 Togetherness"},"content":{"rendered":"<p>Hello there,<\/p>\n<p>It has been a while since I posted.<\/p>\n<p>I decided to do DDNS on my home network using Bind9 and the ISC DHCP server.<\/p>\n<p>As always you test on a lab first.<\/p>\n<p>I have EVE-NG and I was running a lab with DDNS and IPV6.<\/p>\n<p>I used Fedora core so to make it like my network I replaced the server with Ubuntu 20.04.<\/p>\n<p>However, I run into an interesting problem.<\/p>\n<p><!--more--><\/p>\n<p>DDNS worked fine if I used IPV4 or IPV6 but not both bummer!<\/p>\n<p>However, it pays to read the documentation does it not?<\/p>\n<p>Refer to <a href=\"https:\/\/www.isc.org\/blogs\/using-dual-stack-mixed-mode-dsmm-with-ddns-in-isc-dhcp-4-4\/\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/www.isc.org\/blogs\/using-dual-stack-mixed-mode-dsmm-with-ddns-in-isc-dhcp-4-4\/<\/a><\/p>\n<p>To make a long story short on dual-stack clients, clients are trying to write their hostnames to DNS and want them to be the same.<\/p>\n<p>Thus, a client will want its hostname written as an A and as an AAAA record.<\/p>\n<p>This is an issue with the ISC DHCP server because it runs separate daemons for IPV4 and IPV6.<\/p>\n<p>You can read it above but basically, you cannot configure both instances to either use the standard or interim mode.<\/p>\n<p>This is a bug on version 4.3 and below.<\/p>\n<p>They do not generate the same client IDs and thus one of the mechanisms fails.<\/p>\n<p>Version 4.4 fixes this.<\/p>\n<p>You need to enable update-conflict-detection and dns-dual-stack-mixed-mode then you need to make one server use the standard scheme and the other the interim scheme.<\/p>\n<p>Whichever you prefer and voila now my test setup correctly adds A and AAAA records dynamically.<\/p>\n<p>I spent a Saturday evening trying to fix the issue which if I had read the documentation would have taken me 10 minutes to solve.<\/p>\n<p>Oh well, now I need to implement this on my home network.<\/p>\n<p>Ciao.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hello there, It has been a while since I posted. I decided to do DDNS on my home network using Bind9 and the ISC DHCP server. As always you test on a lab first. I have EVE-NG and I was running a lab with DDNS and IPV6. I used Fedora core so to make it &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/blog.miguelsarmiento.com\/?p=546\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;DDNS IPV4, IPV6 Togetherness&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-546","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.miguelsarmiento.com\/index.php?rest_route=\/wp\/v2\/posts\/546","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.miguelsarmiento.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.miguelsarmiento.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.miguelsarmiento.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.miguelsarmiento.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=546"}],"version-history":[{"count":2,"href":"https:\/\/blog.miguelsarmiento.com\/index.php?rest_route=\/wp\/v2\/posts\/546\/revisions"}],"predecessor-version":[{"id":548,"href":"https:\/\/blog.miguelsarmiento.com\/index.php?rest_route=\/wp\/v2\/posts\/546\/revisions\/548"}],"wp:attachment":[{"href":"https:\/\/blog.miguelsarmiento.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=546"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.miguelsarmiento.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=546"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.miguelsarmiento.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=546"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}