From bc67ca425528a7f2cb3563f343a9aacbfdcd3c0a Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Wed, 30 Jan 2019 14:17:42 +0100 Subject: [PATCH] Removed ROOTHINT() --- NEWS | 5 +++ README | 14 ++------ cf.dist/domains | 3 -- m4/dnslib.m4 | 1 - m4/mkconf.m4 | 9 ----- m4/mkmf.m4 | 2 +- m4/mkshell-env.m4 | 1 - root.cache | 87 ----------------------------------------------- 8 files changed, 9 insertions(+), 113 deletions(-) delete mode 100644 root.cache diff --git a/NEWS b/NEWS index 834a3fa..c375d1d 100644 --- 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 078ead9..57379a1 100644 --- 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 diff --git a/cf.dist/domains b/cf.dist/domains index d9ac601..0cd2dcc 100644 --- a/cf.dist/domains +++ b/cf.dist/domains @@ -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) diff --git a/m4/dnslib.m4 b/m4/dnslib.m4 index 5b07cfe..414aa65 100644 --- a/m4/dnslib.m4 +++ b/m4/dnslib.m4 @@ -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)) diff --git a/m4/mkconf.m4 b/m4/mkconf.m4 index f784e44..befb306 100644 --- a/m4/mkconf.m4 +++ b/m4/mkconf.m4 @@ -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 diff --git a/m4/mkmf.m4 b/m4/mkmf.m4 index 29c8fd5..0734061 100644 --- a/m4/mkmf.m4 +++ b/m4/mkmf.m4 @@ -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 diff --git a/m4/mkshell-env.m4 b/m4/mkshell-env.m4 index 1d02f73..262fd8c 100644 --- a/m4/mkshell-env.m4 +++ b/m4/mkshell-env.m4 @@ -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 index d081faa..0000000 --- a/root.cache +++ /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 . " -; 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 -- 2.39.2