diff options
author | dougb <dougb@FreeBSD.org> | 2009-05-16 20:55:28 +0000 |
---|---|---|
committer | dougb <dougb@FreeBSD.org> | 2009-05-16 20:55:28 +0000 |
commit | 80dc300a9ecfe59a25f9f714ea4447e8ac048e47 (patch) | |
tree | 364571f45c669f216ec82a4e112d6506ac18f49b /etc/namedb/named.conf | |
parent | da0eac0afe323c01feeb864ea3aad9821b55045b (diff) | |
download | FreeBSD-src-80dc300a9ecfe59a25f9f714ea4447e8ac048e47.zip FreeBSD-src-80dc300a9ecfe59a25f9f714ea4447e8ac048e47.tar.gz |
1. New feature; option to have the script loop until a specified hostname
(localhost by default) can be successfully looked up. Off by default.
2. New feature: option to create a forwarder configuration file based on
the contents of /etc/resolv.conf. This allows you to utilize a local
resolver for better performance, less network traffic, custom zones, etc.
while still relying on the benefits of your local network resolver.
Off by default.
3. Add named-checkconf into the startup routine. This will prevent named
from trying to start in a situation where it would not be possible to do
so.
Diffstat (limited to 'etc/namedb/named.conf')
-rw-r--r-- | etc/namedb/named.conf | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/etc/namedb/named.conf b/etc/namedb/named.conf index dd2d115..c9b09cb 100644 --- a/etc/namedb/named.conf +++ b/etc/namedb/named.conf @@ -31,12 +31,6 @@ options { disable-empty-zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA"; disable-empty-zone "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA"; -// In addition to the "forwarders" clause, you can force your name -// server to never initiate queries of its own, but always ask its -// forwarders only, by enabling the following line: -// -// forward only; - // If you've got a DNS server around at your upstream provider, enter // its IP address here, and enable the line below. This will make you // benefit from its cache, thus reduce overall DNS traffic in the Internet. @@ -45,6 +39,20 @@ options { 127.0.0.1; }; */ + +// If the 'forwarders' clause is not empty the default is to 'forward first' +// which will fall back to sending a query from your local server if the name +// servers in 'forwarders' do not have the answer. Alternatively you can +// force your name server to never initiate queries of its own by enabling the +// following line: +// forward only; + +// If you wish to have forwarding configured automatically based on +// the entries in /etc/resolv.conf, uncomment the following line and +// set named_auto_forward=yes in /etc/rc.conf. You can also enable +// named_auto_forward_only (the effect of which is described above). +// include "/etc/namedb/auto_forward.conf"; + /* Modern versions of BIND use a random UDP port for each outgoing query by default in order to dramatically reduce the possibility |