This makes it possible to configure servers which serve only
locally defined zones, and also servers with multiple views.
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.
; 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)
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
`#' Please don't edit manually
`#'
-zone "." in {
- type hint;
- file "ROOTCACHE";
-};
-
divert(-1)