From 86c1ac00da33c2ecc14f5ca69fba40186460ce57 Mon Sep 17 00:00:00 2001
From: Andreas Gustafsson The logging {
+>logging {
category "default" { "default_syslog"; "default_debug"; };
};
6.2.10.1. The channel
- statement in the named.conf file:6.2.11. lwreslwres
6.2.12. lwreslwres statement configures the name
- server to also act as a lightweight resolver server, see
- Section 5.2. There may be be multiple
- lwres statements configuring
- lightweight resolver servers with different properties.
The listen-on statement specifies a list of - addresses (and ports) that this instance of a lightweight resolver daemon - should accept requests on. If no port is specified, port 921 is used. - If this statement is omitted, requests will be accepted on 127.0.0.1, - port 921.
The view statement binds this instance of a - lightweight resolver daemon to a view in the DNS namespace, so that the - response will be constructed in the same manner as a normal DNS query - matching this view. If this statement is omitted, the default view is - used, and if there is no default view, an error is triggered.
The search statement is equivalent to the - search statement in - /etc/resolv.conf. It provides a list of domains - which are appended to relative names in queries.
The ndots statement is equivalent to the - ndots statement in - /etc/resolv.conf. It indicates the minimum - number of dots in a relative domain name that should result in an - exact match lookup before search path elements are appended.
options {
+>options {
[ version 6.2.14. options Statement Definition and
-Usage Statement Definition andUsage
The BIND. This statement may appear only once in a configuration
-file. If more than one occurrence is found, the first occurrence
-determines the actual options used, and a warning will be generated.
-If there is no . This statement may appear only
+once in a configuration file. If more than one occurrence is found,
+the first occurrence determines the actual options used, and a warning
+will be generated. If there is no options statement, an options
-block with each option set to its default will be used. The version the server should report
via a query of name version.bind in class in
+class chaosCHAOS.
The default is the real version number of this server. The working directory of the server.
Any non-absolute pathnames in the configuration file will be taken
@@ -3765,36 +3736,27 @@ CLASS="filename"
>.', the directory from which the server
was started. The directory specified should be an absolute path.
This option is obsolete.
It was used in BIND 8 to specify the pathname to the 8 to
+specify the pathname to the named-xfer program.
- In BIND 9, no separate named-xfer program is
needed; its functionality is built into the name server. The domain appended to the names of all
shared keys generated with client specified part" + "" +
+"tkey-domain".
@@ -3851,23 +3803,13 @@ CLASS="command"
>domainname should be the server's domain
name. The Diffie-Hellman key used by the server
to generate shared keys with clients using the Diffie-Hellman mode
@@ -3877,23 +3819,13 @@ CLASS="command"
>. The server must be able to load the
public and private keys from files in the working directory. In
most cases, the keyname should be the server's host name. The pathname of the file the server dumps
the database to when instructed to do so with
@@ -3905,32 +3837,21 @@ If not specified, the default is named_dump.db. The pathname of the file the server writes memory
-usage statistics to on exit. If not specified, the default is named.memstats. The pathname of the file the server writes
its process ID in. If not specified, the default is operating system
@@ -3973,23 +3884,13 @@ CLASS="filename"
>.
The pid-file is used by programs that want to send signals to the running
nameserver. The pathname of the file the server appends statistics
to when instructed to do so using Section 6.2.14.14
The UDP/TCP port number the server uses for receiving and sending DNS protocol traffic.
+>
The UDP/TCP port number the server uses for
+receiving and sending DNS protocol traffic.
The default is 53. This option is mainly intended for server testing;
a server using a port other than 53 will not be able to communicate with
the global DNS.
@@ -4035,24 +3927,13 @@ the beginning of the options block, before
any other options that take port numbers or IP addresses,
to ensure that the port value takes effect for all addresses
used by the server.
The source of entropy to be used by the server. Entropy is primarily needed
for DNSSEC operations, such as TKEY transactions and dynamic update of signed
@@ -4070,14 +3951,8 @@ CLASS="command"
> option takes effect during
the initial configuration load at server startup time and
is ignored on subsequent reloads. 9.
| If yes. |
This option was used in BIND 9 ignores the option and always performs the checks. | |
If no. -The dialup which just disables normal refresh processing. - | |
In BIND 8, this option was used to enable simulating -the obsolete DNS query type IQUERY. 8, this option was used to +enable simulating the obsolete DNS query type +IQUERY. BIND 9 never does IQUERY simulation. | |
9 never does IQUERY simulation. + | This option is obsolete. In BIND 8, - |
This option was incorrectly implemented in yes and +and rfc2308-type1 no instead. | |
instead. + | In BIND 8, this enables keeping of statistics for every host that the nameserver interacts with. -Not implemented in BIND 9. |
no. | |
. + | This option was used in BIND 9.1 always strictly -enforces the CNAME rules both in master files and dynamic updates. |
If The notify option may also be specified in the option may also be +specified in the zone statement, @@ -4535,27 +4311,14 @@ CLASS="command" >options notify statement. It would only be necessary to turn off this option if it caused slaves -to crash. | |
If fetch-glue above. | |
above. + | Setting this to no. -9. |
This option is obsolete. - BIND 9 always allocates query IDs from a pool. | |
9 always allocates query IDs from a pool. + | If . See also Section 6.2.14.14. |
. + | |
. + | This option was used in \r\n" newlines are always accepted, and the option is ignored. |
|
, max-refresh-time -, min-retry-time -, max-retry-time - | These options control the server's behavior on refreshing a zone (querying for SOA changes) or retrying failed transfers. @@ -4815,31 +4511,16 @@ refresh and retry time either per-zone, per-view, or per-server. These options are valid for master, slave and stub zones, and clamp the SOA refresh and retry times to the specified values. - |
|
, additional-from-cache - | These options control the server's behavior when answering queries which have additional data, or when following CNAME and DNAME @@ -4879,20 +4560,15 @@ CLASS="literal" > will be provided as well, if known. These options disable this behavior. - |
| This option is only meaningful if the forwarders list is not empty. A value of only is specified, the -server will only query the forwarders. |
Specifies the IP addresses to be used -for forwarding. The default is the empty list (no forwarding). |
Forwarding can also be configured on a per-domain basis, allowing for the global forwarding options to be overridden in a variety @@ -4996,29 +4644,14 @@ HREF="Bv9ARM.ch06.html#address_match_lists" > for details on how to specify IP address lists.
| Specifies which hosts are allowed to notify slaves of a zone change in addition to the zone masters. @@ -5036,23 +4669,13 @@ CLASS="command" > statement. It is only meaningful for a slave zone. If not specified, the default is to process notify messages only from a zone's master. |
Specifies which hosts are allowed to ask ordinary questions. options allow-query statement. If not specified, the default is to allow queries from all hosts. | |
Specifies which hosts are allowed to make recursive queries through this server. If not specified, the @@ -5092,23 +4705,13 @@ default is to allow recursive queries from all hosts. Note that disallowing recursive queries for a host does not prevent the host from retrieving data that is already in the server's cache. | |
Specifies which hosts are to receive synthetic responses to IPv6 queries as described in @@ -5117,23 +4720,13 @@ HREF="Bv9ARM.ch06.html#synthesis" >Section 6.2.14.12. | |
Specifies which hosts are allowed to receive zone transfers from the server. options allow-transfer statement. If not specified, the default is to allow transfers from all hosts. | |
Specifies a list of addresses that the server will not accept queries from or use to resolve a query. Queries @@ -5175,20 +4758,15 @@ CLASS="userinput" >none. |
will enable the nameserver on port 53 for the IP address - 5.6.7.8, and on port 1234 of an address on the machine in net - 1.2 that is not 1.2.3.4.
If no listen-on is specified, the - server will listen on port 53 on all interfaces.
The listen-on-v6 option is used to - specify the ports on which the server will listen for incoming - queries sent using IPv6.
The server does not bind a separate socket to each IPv6 - interface address as it does for IPv4. Instead, it always - listens on the IPv6 wildcard address. Therefore, the only - values allowed for the address_match_list - argument to the listen-on-v6 statement are -
{ any; } and
- { none;}listen-on-v6 options can be
- used to listen on multiple ports:listen-on-v6 port 53 { any; };
@@ -5283,7 +4861,7 @@ CLASS="sect3"
>6.2.14.5. Query Address
has mechanisms in place to facilitate zone transfers
and set limits on the amount of load that transfers place on the
system. The following options apply to zone transfers.
- also-notify
Defines a global list of IP addresses of name servers
that are also sent NOTIFY messages whenever a fresh copy of the
@@ -5404,107 +4968,57 @@ CLASS="command"
> list will
not be sent NOTIFY messages for that zone. The default is the empty
list (no global notification list).
max-transfer-time-in Inbound zone transfers running longer than
this many minutes will be terminated. The default is 120 minutes
(2 hours).
max-transfer-idle-in Inbound zone transfers making no progress
in this many minutes will be terminated. The default is 60 minutes
(1 hour).
max-transfer-time-out Outbound zone transfers running longer than
this many minutes will be terminated. The default is 120 minutes
(2 hours).
max-transfer-idle-out Outbound zone transfers making no progress
in this many minutes will be terminated. The default is 60 minutes (1
hour).
serial-queries Slave servers will periodically query master
servers to find out if zone serial numbers have changed. Each such
@@ -5525,24 +5039,13 @@ instead, it limits the rate at which the queries are sent.
The maximum rate is currently fixed at 20 queries
per second but may become configurable in a future release.
-transfer-format The server supports two zone transfer methods. server statement.
transfers-in The maximum number of inbound zone transfers
that can be running concurrently. The default value is transfers-in may speed up the convergence
of slave zones, but it also may increase the load on the local system.
transfers-out The maximum number of outbound zone transfers
that can be running concurrently. Zone transfer requests in excess
@@ -5629,23 +5112,13 @@ of the limit will be refused. The default value is 10.
transfers-per-ns The maximum number of inbound zone transfers
that can be concurrently transferring from a given remote nameserver.
@@ -5669,23 +5142,13 @@ of the server statement.
transfer-source zone block
in the configuration file.
transfer-source-v6 The same as transfer-source,
except zone transfers are performed using IPv6.
notify-source view block in the configuration file.
notify-source-v6 Like notify-source,
but applies to notify messages sent to IPv6 addresses.
The server's usage of many system resources can be - limited. Some operating systems don't support some of the - limits. On such systems, a warning will be issued if the - unsupported limit is used. Some operating systems don't - support limiting resources.
The server's usage of many system resources can be limited. +Some operating systems don't support some of the limits. On such +systems, a warning will be issued if the unsupported limit is +used. Some operating systems don't support limiting resources.Scaled values are - allowed when specifying resource limits. For example, - Scaled values are allowed when specifying resource limits. For +example, 1G can be used instead of - 1073741824 to specify a limit of one - gigabyte. unlimited requests unlimited use, - or the maximum available amount. requests unlimited use, or the +maximum available amount. default - uses the limit that was in force when the server was - started. See the description of uses the limit +that was in force when the server was started. See the description of +size_spec - in in Section 6.1.
| The maximum size of a core dump. The default is default. |
The maximum amount of data memory the server may use. The default is default. | |
The maximum number of files the server may have open concurrently. The default is unlimited. | |
This option is obsolete; it is accepted and ignored for BIND 8 compatibility. | |
The maximum number of simultaneous recursive lookups the server will perform on behalf of clients. The default @@ -5982,58 +5354,34 @@ is 1000. | |
The maximum amount of stack memory the server may use. The default is default. | |
The maximum number of simultaneous client TCP connections that the server will accept. The default is 100. |
Note: Resource limits are not yet implemented in Resource limits are not yet implemented in +BIND 9.
6.2.14.8. Periodic Task Intervals
- cleaning-interval
The server will remove expired resource records from the cache every minutes. The default is 60 minutes. If set to 0, no periodic cleaning will occur.
heartbeat-interval The server will perform zone maintenance tasks for all zones marked as whenever this interval expires. The default is 60 minutes. Reasonable values are up to 1 day (1440 minutes). If set to 0, no zone maintenance for these zones will occur.
interface-interval The server will scan the network interface list every listen-on configuration). Listeners on interfaces that have gone away will be cleaned up.
statistics-interval Nameserver statistics will be logged every 9.
| Sets the number of seconds to cache a lame server indication. 0 disables caching. (This is @@ -6708,24 +5995,13 @@ CLASS="literal" CLASS="literal" >1800 (30 minutes). - |
To reduce network traffic and increase performance the server stores negative answers. max-ncache-ttl cannot exceed 7 days and will be silently truncated to 7 days if set to a greater value. | |
sets the maximum time for which the server will cache ordinary (positive) answers. The default is one week (7 days). | |
The minimum number of root servers that is required for a request for the root servers to be accepted. Default @@ -6796,8 +6052,7 @@ CLASS="userinput" >2. -Not yet implemented in BIND -9.9. | |
Specifies the number of days into the future when DNSSEC signatures automatically generated as a result @@ -6842,12 +6085,8 @@ CLASS="literal" > days. The signature inception time is unconditionally set to one hour before the current time to allow for a limited amount of clock skew. |
yes should always work. The purpose of the should always work. +The purpose of the provide-ixfr and and +request-ixfr clauses is @@ -7274,7 +6514,7 @@ CLASS="sect2" >6.2.17. trusted-keys
6.2.18. trusted-keys
6.2.19. view
6.2.20. view
6.2.22. zone
6.2.22.1. Zone Types
6.2.22.2. Class
6.2.22.3. Zone Options
- allow-notify
See the description of Section 6.2.14.3
allow-query See the description of Section 6.2.14.3
allow-transfer See the description of allow-transfer in +in Section 6.2.14.3.
allow-update Specifies which hosts are allowed to submit Dynamic DNS updates for master zones. The default is to deny updates from all hosts.
update-policy Specifies a "Simple Secure Update" policy. See Section 6.2.22.4.
allow-update-forwarding Specifies which hosts are allowed to submit Dynamic DNS updates to slave zones to be forwarded to the @@ -8475,7 +7652,8 @@ CLASS="userinput" >, which means that no update forwarding will be performed. To enable -update forwarding, specify allow-update-forwarding { any; }; is usually counterproductive, since the responsibility for update access control should rest with the master server, not the slaves.
- -Note that enabling the update forwarding feature on a slave server may expose master servers relying on insecure IP address based access control to attacks; see Section 7.3 for more details.
-also-notify Only meaningful if also-notify is not meaningful for stub zones. The default is the empty list.
check-names This option was used in BIND 8 to restrict the character set of domain names in master files and/or DNS responses received from the @@ -8575,24 +7730,13 @@ CLASS="command" >check-names option.
-database Specify the type of database to be used for storing the zone data. The string following the -
The default is , BIND 9's native in-memory red-black-tree database. This database does not take arguments.
-Other values are possible if additional database drivers have been linked into the server. Some sample drivers are included with the distribution but none are linked in by default.
-dialup See the description of Section 6.2.14.1.
forward Only meaningful if the zone has a forwarders list. The first would allow a normal lookup to be tried.
-forwarders Used to override the list of global forwarders. If it is not specified in a zone of type forward, no forwarding is done for the zone; the global options are not used.
-ixfr-base Was used in jnl" to the name of the zone file.
max-transfer-time-in See the description of Section 6.2.14.6.
max-transfer-idle-in See the description of Section 6.2.14.6.
max-transfer-time-out See the description of Section 6.2.14.6.
max-transfer-idle-out See the description of Section 6.2.14.6.
notify See the description of Section 6.2.14.1.
pubkey In BIND 9 does not verify signatures on loading and ignores the option.
zone-statistics If statistics-file defined in the server options.
sig-validity-interval See the description of Section 6.2.14.13.
transfer-source See the description of Section 6.2.14.6
transfer-source-v6 See the description of Section 6.2.14.6
notify-source See the description of Section 6.2.14.6
notify-source-v6 See the description of Section 6.2.14.6.
BIND 9 supports two alternative methods of granting clients -the right to perform dynamic updates to a zone, configured by the allow-update and and +update-policy option, -respectively. option, respectively.The
6.3. Zone File
6.3.1.1. Resource Records
6.3.1.2. Textual expression of RRs
6.3.2. Discussion of MX Records
6.3.4. Inverse Mapping in IPv4
6.3.5. Other Zone File Directives
6.3.5.1. The $ORIGIN
6.3.5.2. The $INCLUDE
6.3.5.3. The $TTL
6.3.6. BIND
7.2. chroot 7.2. chroot
7.2.1. The chroot
7.2.2. Using the setuid
8.1. Common Problems 8.2. Incrementing and Changing the Serial Number 8.3. Where Can I Get Help? 8.1. Common Problems
8.1.1. It's not working; how can I figure out what's wrong?
8.2. Incrementing and Changing the Serial Number
8.3. Where Can I Get Help?
A.1. Acknowledgements A.3. General DNS A.1. Acknowledgements
A.1.1. A Brief History of the DNS
A.2.1.1. HS = hesiod
A.2.1.2. CH = chaos
A.3. General DNS
A.3.1. IPv6 addresses (A6)
Bibliography
Standards
[RFC974] C. Partridge,
[RFC1034] P.V. Mockapetris,
[RFC1035] P. V. Mockapetris,
[RFC2181] R., R. Bush Elz,
[RFC2308] M. Andrews,
[RFC1995] M. Ohta,
[RFC1996] P. Vixie,
[RFC2136] P. Vixie, S. Thomson, Y. Rekhter, and J. Bound,
[RFC2845] P. Vixie, O. Gudmundsson, D. Eastlake, 3rd, and B. Wellington,
Proposed Standards Still Under Development
[RFC1886] S. Thomson and C. Huitema,
[RFC2065] D. Eastlake, 3rd and C. Kaufman,
[RFC2137] D. Eastlake, 3rd,
Other Important RFCs About DNS
[RFC1535] E. Gavron,
[RFC1536] A. Kumar, J. Postel, C. Neuman, P. Danzig, and S. Miller,
[RFC1982] R. Elz and R. Bush,
Resource Record Types
[RFC1183] C.F. Everhart, L. A. Mamakos, R. Ullmann, and P. Mockapetris,
[RFC1706] B. Manning and R. Colella,
[RFC2168] R. Daniel and M. Mealling,
[RFC1876] C. Davis, P. Vixie, T., and I. Dickinson,
[RFC2052] A. Gulbrandsen and P. Vixie,
[RFC2163] A. Allocchio,
[RFC2230] R. Atkinson,
DNS
[RFC1101] P. V. Mockapetris,
[RFC1123] Braden,
[RFC1591] J. Postel,
[RFC2317] H. Eidnes, G. de Groot, and P. Vixie,
DNS
[RFC1537] P. Beertema,
[RFC1912] D. Barr,
[RFC1912] D. Barr,
[RFC2010] B. Manning and P. Vixie,
[RFC2219] M. Hamilton and R. Wright,
Other DNS
[RFC1464] R. Rosenbaum,
[RFC1713] A. Romao,
[RFC1794] T. Brisco,
[RFC2240] O. Vaughan,
[RFC2345] J. Klensin, T. Wolf, and G. Oglesby,
[RFC2352] O. Vaughan,
Obsolete and Unimplemented Experimental RRs
[RFC1712] C. Farrell, M. Schulze, S. Pleitner, and D. Baldoni,
A.4.3. Other Documents About BIND
Bibliography
Paul Albitz and Cricket Liu, logging Statement Definition and -Usage Statement Definition and Usage
6.2.11. lwres 6.2.12. lwres 6.2.13. options 6.2.14. options Statement Definition and -Usage Statement Definition andUsage 6.2.15. server -Statement GrammarStatement Grammar 6.2.16. 6.2.17. trusted-keys 6.2.18. trusted-keys 6.2.19. view 6.2.20. view 6.2.22. zone 6.3. Zone File 6.3.2. Discussion of MX Records 6.3.4. Inverse Mapping in IPv4 6.3.5. Other Zone File Directives 6.3.6. BIND 7.2. chroot