[an error occurred while processing this directive]

HP OpenVMS Systems Documentation

Content starts here >

Compaq TCP/IP Services for OpenVMS
Release Notes


Previous Contents

C.5.3.6 The OPTIONS Statement

The options statement sets up global options to be used by BIND. This statement should 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 is generated. If there is no options statement, an options block with each option set to its default is used.

The options statement has the following syntax:


options { 
    [ version version_string; ] 
    [ directory path_name; ] 
    [ named-xfer path_name; ] 
    [ tkey-domain domainname; ] 
    [ tkey-dhkey key_name key_tag; ] 
    [ dump-file path_name; ] 
    [ memstatistics-file path_name; ] 
    [ pid-file path_name; ] 
    [ statistics-file path_name; ] 
    [ zone-statistics yes_or_no; ] 
    [ auth-nxdomain yes_or_no; ] 
    [ deallocate-on-exit yes_or_no; ] 
    [ dialup dialup_option; ] 
    [ fake-iquery yes_or_no; ] 
    [ fetch-glue yes_or_no; ] 
    [ has-old-clients yes_or_no; ] 
    [ host-statistics yes_or_no; ] 
    [ minimal-responses yes_or_no; ] 
    [ multiple-cnames yes_or_no; ] 
    [ notify yes_or_no | explicit; ] 
    [ recursion yes_or_no; ] 
    [ rfc2308-type1 yes_or_no; ] 
    [ use-id-pool yes_or_no; ] 
    [ maintain-ixfr-base yes_or_no; ] 
    [ forward ( only | first ); ] 
    [ forwarders { ip_addr [port ip_port] ; [ ip_addr [port ip_port] ; 
... ] }; ] 
    [ check-names ( master | slave |  response )( warn | fail | ignore 
); ] 
    [ allow-notify { address_match_list }; ] 
    [ allow-query { address_match_list }; ] 
    [ allow-transfer { address_match_list }; ] 
    [ allow-recursion { address_match_list }; ] 
    [ allow-v6-synthesis { address_match_list }; ] 
    [ blackhole { address_match_list }; ] 
    [ listen-on [ port ip_port ] { address_match_list }; ] 
    [ listen-on-v6 [ port ip_port ] { address_match_list }; ] 
    [ query-source [ address ( ip_addr | * ) ] [ port ( ip_port | * ) ]; 
] 
    [ max-transfer-time-in number; ] 
    [ max-transfer-time-out number; ] 
    [ max-transfer-idle-in number; ] 
    [ max-transfer-idle-out number; ] 
    [ tcp-clients number; ] 
    [ recursive-clients number; ] 
    [ serial-query-rate number; ] 
    [ serial-queries number; ] 
    [ transfer-format ( one-answer | many-answers ); ] 
    [ transfers-in  number; ] 
    [ transfers-out number; ] 
    [ transfers-per-ns number; ] 
    [ transfer-source (ip4_addr | *) [port ip_port] ; ] 
    [ transfer-source-v6 (ip6_addr | *) [port ip_port] ; ] 
    [ notify-source (ip4_addr | *) [port ip_port] ; ] 
    [ notify-source-v6 (ip6_addr | *) [port ip_port] ; ] 
    [ also-notify { ip_addr [port ip_port] ; [ ip_addr [port ip_port] ; 
... ] }; ] 
    [ max-ixfr-log-size number; ] 
    [ cleaning-interval number; ] 
    [ heartbeat-interval number; ] 
    [ interface-interval number; ] 
    [ statistics-interval number; ] 
    [ topology { address_match_list }]; 
    [ sortlist { address_match_list }]; 
    [ rrset-order { order_spec ; [ order_spec ; ... ] ] }; 
    [ lame-ttl number; ] 
    [ max-ncache-ttl number; ] 
    [ max-cache-ttl number; ] 
    [ sig-validity-interval number ; ] 
    [ min-roots number; ] 
    [ use-ixfr yes_or_no ; ] 
    [ treat-cr-as-space yes_or_no ; ] 
    [ min-refresh-time number ; ] 
    [ max-refresh-time number ; ] 
    [ min-retry-time number ; ] 
    [ max-retry-time number ; ] 
    [ port ip_port; ] 
    [ additional-from-auth yes_or_no ; ] 
    [ additional-from-cache yes_or_no ; ] 
    [ random-device path_name ; ] 
    [ max-cache-size size_spec ; ] 
    [ match-mapped-addresses yes_or_no; ] 
}; 

Table C-6 through Table C-14 describe the BIND server configuration options.

Table C-6 BIND Server Configuration Options
Option Description
version The version the server should report using a query of name version.bind in class CHAOS. The default is the real version number of this server.
directory The working directory of the server. Any nonabsolute path names in the configuration file is assumed to be relative to this directory. The default location for the server output file (TCPIP$BIND_RUN.LOG) is this directory. If a directory is not specified, the working directory defaults to SYS$SPECIFIC:[TCPIP$BIND]. If you are configuring a BIND failover environment in an OpenVMS Cluster, the working directory is defined by the logical TCPIP$BIND_COMMON.
named-xfer This option is obsolete. It was used in BIND 8 to specify the path name to the named-xfer program. In BIND 9, no separate named-xfer program is needed; its functionality is built into the name server.
tkey-domain The domain appended to the names of all shared keys generated with TKEY. When a client requests a TKEY exchange, it may or may not specify the desired name for the key. If present, the name of the shared key is formatted as follows:
"
client specified part" + "
tkey-domain"

If it is not present, the name of the shared key is formatted as follows:

"
random hex digits" + "
tkey-domain"

In most cases, the domain name should be the server's domain name.

tkey-dhkey The Diffie-Hellman key used by the server to generate shared keys with clients using the Diffie-Hellman mode of TKEY. The server must be able to load the public and private keys from files in the working directory. In most cases, the key name should be the server's host name.
dump-file The path name of the file the server dumps the database to when instructed to do so with the rndc dumpdb command. If not specified, the default is TCPIP$BIND_DUMP.DB.
memstatistics-file The path name of the file the server writes memory usage statistics to on exit. If not specified, the default is TCPIP$BIND.MEMSTATS.

This option is not yet implemented.

pid-file The path name of the file in which the server writes its process ID. If the path name is not specified, the default is TCPIP$BIND.PID. The PID file is used by programs that want to send signals to the running name server.
statistics-file The path name of the file to which the server appends statistics when instructed to do so with the rndc stats command. If not specified, the default is TCPIP$BIND.STATS in the server's current directory. The format of the file is described in Section C.5.3.6.14.
port The UDP/TCP port number the server uses for receiving and sending DNS protocol traffic. The default is 53. This option is intended mainly for server testing; a server using a port other than 53 cannot communicate with the global DNS. The