Maintained by: NLnet Labs

[Unbound-users] C-root IPv6 patch

Anand Buddhdev
Sun Mar 30 19:29:25 CEST 2014


Hi unbound developers and users,

c.root-servers.net has an IPv6 address now. I've attached a patch for
unbound. It should apply to version 1.4.22 and trunk with "patch -p1".

Regards,

Anand
-------------- next part --------------
diff -ru unbound-1.4.22.orig/iterator/iter_hints.c unbound-1.4.22/iterator/iter_hints.c
--- unbound-1.4.22.orig/iterator/iter_hints.c	2014-02-07 14:28:39.000000000 +0100
+++ unbound-1.4.22/iterator/iter_hints.c	2014-03-30 19:24:32.000000000 +0200
@@ -144,6 +144,7 @@
       }
       if(do_ip6) {
 	if(!ah(dp, "A.ROOT-SERVERS.NET.", "2001:503:ba3e::2:30")) goto failed;
+	if(!ah(dp, "C.ROOT-SERVERS.NET.", "2001:500:2::c")) goto failed;
 	if(!ah(dp, "D.ROOT-SERVERS.NET.", "2001:500:2d::d")) goto failed;
 	if(!ah(dp, "F.ROOT-SERVERS.NET.", "2001:500:2f::f")) goto failed;
 	if(!ah(dp, "H.ROOT-SERVERS.NET.", "2001:500:1::803f:235")) goto failed;