]> mj.ucw.cz Git - nsc-5.git/commitdiff
Removed ROOTHINT()
authorMartin Mares <mj@ucw.cz>
Wed, 30 Jan 2019 13:17:42 +0000 (14:17 +0100)
committerMartin Mares <mj@ucw.cz>
Wed, 30 Jan 2019 13:17:42 +0000 (14:17 +0100)
NEWS
README
cf.dist/domains
m4/dnslib.m4
m4/mkconf.m4
m4/mkmf.m4
m4/mkshell-env.m4
root.cache [deleted file]

diff --git a/NEWS b/NEWS
index 834a3fa962fc0161d219f3e4999c32316a41c356..c375d1d53629f9f60a89522dfd436aea15e88e3f 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -8,6 +8,11 @@ Version 5.0  [2019-01-30]
   to the previous default settings which hopefully nobody ever needed
   to change.
 
+  Also, ROOTHINT() became obsolete as BIND packages now regularly come
+  with a well updated root hint file. Please set up the root hints in
+  the master bind configuration file before you include named.conf
+  generated by NSC.
+
 Version 4.0  [2011-10-22]
 
   This version brings several incompatible changes with a common
diff --git a/README b/README
index 078ead9a430185d1b270be2e9fe94715aa0b8b57..57379a16960ace7077c20d19a769c017b9f5222f 100644 (file)
--- a/README
+++ b/README
@@ -6,10 +6,10 @@
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 
-------------------------------------------------------------------------------------
-WARNING: There were several incompatible changes between versions 3.1 and 4.0.
+-----------------------------------------------------------------------
+WARNING: There were several incompatible changes between major versions
          See NEWS for the summary of changes.
-------------------------------------------------------------------------------------
+-----------------------------------------------------------------------
 
 
    NSC is a set of shell and M4 scripts for easy maintenance of DNS zone files
@@ -152,13 +152,6 @@ REVERSE(network, primary-files...)
                You can also use the REV macro explicitly, which can be handy
                for example in SECONDARY declarations.
 
-ROOTHINT()
-               Insert a definition of hints for reaching root servers into named.conf.
-               This is necessary if you want your DNS server to resolve foreign
-               domains; otherwise, it will only give out authoritative answers
-               for locally defined zones and forward queries. The location of the
-               file with the hints can be set by the ROOTCACHE directive (see below).
-
 FORWARDED(zone, ip...)
                Define a forwarding zone. All queries are forwarded to the
                specified name servers.
@@ -352,7 +345,6 @@ NAMED_RESTART_CMD   Shell command for restarting the name server daemon
                        (default: rndc reload)
 
 CFDIR                  Directory with config files (default: cf)
-ROOTCACHE              File with the cache of root name servers
 
 REFRESH                        SOA record parameters
 RETRY
index d9ac601771178fc3ededbaf98f5999a7385115ec..0cd2dccd443b309fefe905a85e6fafa57cb91ff0 100644 (file)
@@ -1,8 +1,5 @@
 ; An example domain table for the NSC
 
-; Hints how to find root servers
-ROOTHINT()
-
 ; Various mandatory things required by RFC 1912, section 4.1
 PRIMARY(localhost)
 REVERSE(127.0.0, localhost)
index 5b07cfe0bf82b0db97d25fcb89301e08b7a4bf27..414aa65c9121d08b69fe50bc0ae958dbd9a88f4a 100644 (file)
@@ -94,7 +94,6 @@ define(`NAMED_RESTART_CMD', `rndc reload')
 
 define(`CFDIR', `cf')
 define(`VERSDIR', `ver')
-define(`ROOTCACHE', `root.cache')
 
 define(`REFRESH', HOURS(8))
 define(`RETRY', HOURS(2))
index f784e44cad91995d9380692094032a98da4fb903..befb3066acbc65ff0e1cea69e2c49a965325e330 100644 (file)
@@ -48,15 +48,6 @@ define(`BLACKHOLE', `divert(0)zone "$1" in {
 
 divert(-1)')
 
-# Root hint zone
-
-define(`ROOTHINT', `divert(0)zone "." in {
-       type hint;
-       file "ROOTCACHE";
-};
-
-divert(-1)')
-
 # Manual insertion of config file material
 
 define(`CONFIG', `divert(0)$1
index 29c8fd548639bff4a41b13653c0fe39a764ec135..07340616744acf7834051a8e2ec2c6a568f1a911 100644 (file)
@@ -38,7 +38,7 @@ define(`nsc_cleanup', `
 ifdef(`NEED_BLACKHOLE', `PRIMARY(blackhole)')
 
 divert(0)dnl
-ver/.version: CFDIR/domains ROOTCACHE`'PRIMARIES`'ifdef(`NEED_BLACKHOLE',` zone/blackhole')
+ver/.version: CFDIR/domains`'PRIMARIES`'ifdef(`NEED_BLACKHOLE',` zone/blackhole')
        NAMED_RESTART_CMD
        touch ver/.version
 
index 1d02f7343a46dcc2048795bf54a480f0d47a34e2..262fd8cd7ac52be7ebabc5aaa937884d4701dcbc 100644 (file)
@@ -5,7 +5,6 @@ dnl ###
 include(m4/dnslib.m4)
 divert(0)dnl
 `CFDIR'=CFDIR
-`ROOTCACHE'=ROOTCACHE
 `M4'=M4
 `KEYGEN_OPTIONS'="KEYGEN_OPTIONS"
 `SIGNZONE_OPTIONS'="SIGNZONE_OPTIONS"
diff --git a/root.cache b/root.cache
deleted file mode 100644 (file)
index d081faa..0000000
+++ /dev/null
@@ -1,87 +0,0 @@
-;       This file holds the information on root name servers needed to
-;       initialize cache of Internet domain name servers
-;       (e.g. reference this file in the "cache  .  <file>"
-;       configuration file of BIND domain name servers).
-;
-;       This file is made available by InterNIC 
-;       under anonymous FTP as
-;           file                /domain/named.cache
-;           on server           FTP.INTERNIC.NET
-;       -OR-                    RS.INTERNIC.NET
-;
-;       last update:    Jun 17, 2010
-;       related version of root zone:   2010061700
-;
-; formerly NS.INTERNIC.NET
-;
-.                        3600000  IN  NS    A.ROOT-SERVERS.NET.
-A.ROOT-SERVERS.NET.      3600000      A     198.41.0.4
-A.ROOT-SERVERS.NET.      3600000      AAAA  2001:503:BA3E::2:30
-;
-; FORMERLY NS1.ISI.EDU
-;
-.                        3600000      NS    B.ROOT-SERVERS.NET.
-B.ROOT-SERVERS.NET.      3600000      A     192.228.79.201
-;
-; FORMERLY C.PSI.NET
-;
-.                        3600000      NS    C.ROOT-SERVERS.NET.
-C.ROOT-SERVERS.NET.      3600000      A     192.33.4.12
-;
-; FORMERLY TERP.UMD.EDU
-;
-.                        3600000      NS    D.ROOT-SERVERS.NET.
-D.ROOT-SERVERS.NET.      3600000      A     128.8.10.90
-;
-; FORMERLY NS.NASA.GOV
-;
-.                        3600000      NS    E.ROOT-SERVERS.NET.
-E.ROOT-SERVERS.NET.      3600000      A     192.203.230.10
-;
-; FORMERLY NS.ISC.ORG
-;
-.                        3600000      NS    F.ROOT-SERVERS.NET.
-F.ROOT-SERVERS.NET.      3600000      A     192.5.5.241
-F.ROOT-SERVERS.NET.      3600000      AAAA  2001:500:2F::F
-;
-; FORMERLY NS.NIC.DDN.MIL
-;
-.                        3600000      NS    G.ROOT-SERVERS.NET.
-G.ROOT-SERVERS.NET.      3600000      A     192.112.36.4
-;
-; FORMERLY AOS.ARL.ARMY.MIL
-;
-.                        3600000      NS    H.ROOT-SERVERS.NET.
-H.ROOT-SERVERS.NET.      3600000      A     128.63.2.53
-H.ROOT-SERVERS.NET.      3600000      AAAA  2001:500:1::803F:235
-;
-; FORMERLY NIC.NORDU.NET
-;
-.                        3600000      NS    I.ROOT-SERVERS.NET.
-I.ROOT-SERVERS.NET.      3600000      A     192.36.148.17
-I.ROOT-SERVERS.NET.      3600000      AAAA  2001:7FE::53
-;
-; OPERATED BY VERISIGN, INC.
-;
-.                        3600000      NS    J.ROOT-SERVERS.NET.
-J.ROOT-SERVERS.NET.      3600000      A     192.58.128.30
-J.ROOT-SERVERS.NET.      3600000      AAAA  2001:503:C27::2:30
-;
-; OPERATED BY RIPE NCC
-;
-.                        3600000      NS    K.ROOT-SERVERS.NET.
-K.ROOT-SERVERS.NET.      3600000      A     193.0.14.129
-K.ROOT-SERVERS.NET.      3600000      AAAA  2001:7FD::1
-;
-; OPERATED BY ICANN
-;
-.                        3600000      NS    L.ROOT-SERVERS.NET.
-L.ROOT-SERVERS.NET.      3600000      A     199.7.83.42
-L.ROOT-SERVERS.NET.      3600000      AAAA  2001:500:3::42
-;
-; OPERATED BY WIDE
-;
-.                        3600000      NS    M.ROOT-SERVERS.NET.
-M.ROOT-SERVERS.NET.      3600000      A     202.12.27.33
-M.ROOT-SERVERS.NET.      3600000      AAAA  2001:DC3::35
-; End of File