chiark / gitweb /
dnserr.in, utils.m4: IPv6 address for blackhole.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 4 May 2014 10:33:12 +0000 (11:33 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 4 May 2014 10:33:12 +0000 (11:33 +0100)
dnserr.in
utils.m4

index 63dcc76..621aeb6 100644 (file)
--- a/dnserr.in
+++ b/dnserr.in
@@ -70,7 +70,8 @@ no-address            IN      TXT     "This name has no address records."
 ;; A name -- in fact, an entire DNS subtree -- for which no authoritative
 ;; server will ever return a answer.  The address is
 ;; blackhole.distorted.org.uk, which drops all packets.
-ns.blackhole           IN      A       BLACKHOLE
+FOREACH([ns.blackhole  IN      $1      $2
+], [BLACKHOLE])
 blackhole              IN      NS      ns.blackhole
                        IN      DS      18693 8 1 f2ade1384e3cf158372ba16aa3a934a16104066d
                        IN      DS      18693 8 2 061929cdc2de9ba7728d4e011f796d0abb54c4a5e4681469d5f1d32d78e142f0
index 7c7e52d..b5ac8ff 100644 (file)
--- a/utils.m4
+++ b/utils.m4
@@ -37,7 +37,7 @@ $1                    IN      NS      m4_ifelse($1,@,$][1,$][1.$1)
 ### Configuration.
 
 m4_define([CONTACT], [hostmaster.BASE])
-m4_define([BLACKHOLE], [212.13.198.78])
+m4_define([BLACKHOLE], [[A, 212.13.198.78], [AAAA, 2001:ba8:0:1d9::ffff]])
 m4_include([config.m4])
 
 ###----- That's all, folks --------------------------------------------------