The options clause group together statements that have global scope - the statemnts apply to all zones or views unless overridden by the same statement in a view or zone clause. Only one options clause should be defined in a named.conf file. The options clause can take a serious list of statements.
- options {
- // statements
- };
List of Statements
This section defines in summary format all the statements available in BIND 9.3.0 named.conf. This list is in alphabetic order to make it useful. Don't you just hate it when you spend 2 minutes looking for something that should take two seconds. The entries enclosed in square brackets following the statement, and where present, specify the clause or clauses in which the statement may be used.
- additional-from-auth (yes | no) ; [ Opt, View ]
- additional-from-cache (yes | no) ; [ Opt, View ]
- algorithm "algorithm_name"; [ Key ]
- allow-notify { address_match_list }; [ Opt, View, Zone ]
- allow-query { address_match_list }; [ Opt, View, Zone ]
- allow-recursion { address_match_list }; [ Opt, View ]
- allow-transfer { address_match_list }; [ Opt, View, Zone ]
- allow-update { address_match_list }; [ Zone ]
- allow-update-forwarding { address_match_list }; [ Opt, View, Zone ]
- allow-v6-synthesis { address_match_list }; Obsolete
- also-notify { ip_addr [port ip_port] ; ... ] }; [ Opt, View, Zone ]
- alt-transfer-source ( ipv4 | * ) [ port ( integer | * )]; [ Opt, View, Zone ]
- alt-transfer-source-v6 ( ipv6 | * ) [ port ( integer | * ) ]; [ Opt, View, Zone ]
- auth-nxdomain (yes | no); [ Opt, View ]
- avoid-v4-udp-ports { port; ... }; [ Opt ]
- avoid-v6-udp-ports { port; ... }; [ Opt ]
- blackhole { address_match_list }; [ Opt ]
- bogus ( yes | no ); [ Server ]
- cache-file DEVELOPER ONLY STATEMENT
- category category_name { channel_name; ... }; [ logging ]
- channel channel_name { channel_spec }; [ logging ]
- check-names ( master | slave | response ) ( fail | warn | ignore ); [ Opt, server ]
- check-names ( fail | warn | ignore ); [ Zone ]
- cleaning-interval number; [ Opt, View ]
- coresize size_in_bytes ; [ Opt ]
- database "database-name params"; [ Zone ]
- datasize size_spec ; [ Opt ]
- deallocate-on-exit yes_or_no; IGNORED - DEFAULT BEHAVIOUR IN BIND 9
- delegation-only ( yes | no ) ; [ Zone ]
- dialup dialup_options; [ Opt, View, Zone ]
- directory path_name; [ Opt ]
- disable-algorithms string { string; ... }; [ Opt, View ]
- dnssec-enable ( yes | no ); [ Opt, View ]
- dnssec-lookaside domain trust-anchor domain; [ Opt, View ]
- dnssec-must-be-secure domain ( yes | no); [ Opt, View ]
- dual-stack-servers [ port p_num ] { ( "id" [port p_num] |
- ipv4 [port p_num] | ipv6 [port p_num] ); ... }; [ Opt, View ]
- dump-file path_name; [ Opt ]
- edns ( yes | no); [ server ]
- edns-udp-size size_in_bytes; [ Opt, View ]
- fake-iquery yes_or_no; ] IGNORED IN BIND 9
- fetch-glue yes_or_no; ] OBSOLETE IN BIND 9
- file "file_name" ; [ Zone ]
- files number_of_files ; [ Opt, View ]
- forward ( only | first ); [ Opt, View, Zone ]
- forwarders { ipv4_addr | ipv6_addr [port ip_port] ; ... ] }; [ Opt, View, Zone ]
- has-old-clients yes | no; IGNORED IN BIND 9
- heartbeat-interval minutes; [ Opt, View ]
- host-statistics yes_or_no; NOT YET IMPLEMENTED IN BIND 9
- hostname hostname_string; ; [ Opt, View ]
- inet ( ip_addr | * ) [ port ip_port ] allow { address_match_list }
- keys { key_list }; [ controls ]
- interface-interval number; [ Opt ]
- ixfr-from-differences ( yes | no); [ Opt, View, Zone ]
- ixfr-tmp-file -- ; OBSOLETE IN BIND 9
- key-directory path_name; [ Opt, View, Zone ]
- lame-ttl number; [ Opt, View ]
- listen-on [ port ip_port ] { address_match_list }; [Opt, lwres ]
- listen-on-v6 [ port ip_port ] { address_match_list }; [ Opt ]
- maintain-ixfr-base ( yes | no ); OBSOLETE IN BIND 9
- masters [port ip_port] { ( masters_list | ip_addr
- [port ip_port] [key key] ) ; [...] } ; ] [ Zone ]
- match-clients { address_match_list } ; [ View ]
- match-destination { address_match_list } ; [ View ]
- match-mapped-addresses ( yes | no ); [ Opt ]
- match-recursive-only { address_match_list } ; [ View ]
- max-cache-size size_in_bytes ; [ Opt, View ]
- max-cache-ttl seconds; [ Opt, View ]
- max-ixfr-log-size number; OBSOLETE IN BIND 9
- max-journal-size size_in_bytes; [ Opt, View, Zone ]
- max-ncache-ttl seconds; [ Opt, View ]
- max-refresh-time seconds ; [ Opt, View, Zone ]
- max-retry-time seconds ; [ Opt, View, Zone ]
- max-transfer-idle-in minutes; [ Opt, View, Zone ]
- max-transfer-idle-out minutes; [ Opt, View, Zone ]
- max-transfer-time-in minutes; [ Opt, View, Zone ]
- max-transfer-time-out minutes; [ Opt, View, Zone ]
- memstatistics-file "path_name"; [ Opt ]
- min-refresh-time seconds ; [ Opt, View, Zone ]
- min-retry-time seconds ; [ Opt, View, Zone ]
- min-roots number; NOT YET IMPLEMENTED IN BIND 9
- minimal-responses ( yes | no ) ; [ Opt, View ]
- multi-master ( yes | no ) ; [ Opt, View, Zone ]
- multiple-cnames (yes | no); IGNORED BY BIND 9
- named-xfer path_name; OBSOLETE IN BIND 9
- ndots number ; [ lwres ]
- notify ( yes | no | explicit ); [ Opt, View, Zone ]
- notify-source (ip4_addr | *) [port ip_port] ; [ Opt, View, Zone ]
- notify-source-v6 (ip6_addr | *) [port ip_port] ; [ Opt, View, Zone ]
- pid-file "path_to_file"; [ Opt ]
- port ip_port; [ Opt ]
- preferred-glue ( A | AAAA) ; [ Opt, View ]
- provide-ixfr ( yes | no) ; [ Opt, View, server ]
- pubkey ; OBSOLETE IN BIND 9
- query-source [ address ( ip_addr | * ) ] [ port ( ip_port | * ) ]; [ Opt, View ]
- query-source-v6 [ address ( ip_addr | * ) ] [ port ( ip_port | * ) ]; [ Opt, View ]
- querylog ( yes | no ); [ Opt ]
- recursing-file "path_to_file"; [ Opt ]
- random-device "device_name" ; [ Opt ]
- recursion ( yes | no ); [ Opt, View ]
- recursive-clients number; [ Opt ]
- request-ixfr ( yes | no ); [ Opt, View, server ]
- rfc2308-type1 ( yes | no ); NOT YET IMPLEMENTED IN BIND 9
- root-delegation-only [ exclude { namelist } ] ; [ Opt, View ]
- rrset-order { order_spec ; [ order_spec ; ... ] ); [ Opt, View ]
- search { domain_name ; [ domain_name ; ... ] }; [ lwres ]
- secret secret_string ; [ key ]
- serial-queries number; NOT IMPLEMENTED IN BIND 9
- serial-query-rate number; [ Opt ]
- sig-validity-interval number ; [ Opt, View, Zone ]
- server-id "server_id"; [ Opt ]
- sortlist { address_match_list }; [ Opt, View ]
- stacksize size_in_bytes ; [ Opt ]
- statistics-file path_name; [ Opt ]
- statistics-interval number; NOT YET IMPLEMENTED IN BIND9
- support-ixfr; OBSOLETE IN BIND9
- suppress-initial-notify NOT YET IMPLEMENTED IN BIND9
- sig-validity-interval days ; [ Opt, View, Zone ]
- tcp-clients number; [ Opt ]
- tcp-listen-queue number; [ Opt ]
- tkey-dhkey key_name key_tag; [ Opt ]
- tkey-domain domainname; [ Opt ]
- tkey-gssapi-credential domainname; [ Opt ]
- topology { address_match_list }; NOT YET IMPLEMENTED IN BIND 9
- transfer-format ( one-answer | many-answers ); [ Opt, View, server ]
- transfer-source (ip4_addr | *) [port ip_port] ; [ Opt, View, Zone ]
- transfer-source-v6 (ip6_addr | *) [port ip_port] ; [ Opt, View, Zone ]
- transfers number ; [ server ]
- transfers-in number; [ Opt ]
- transfers-out number; [ Opt ]
- transfers-per-ns number; [ Opt ]
- treat-cr-as-space yes_or_no ; OBSOLETE BIND 9 READS BOTH FORMATS
- type zone_type; [ Zone ]
- unix ; NOT YET IMPLEMENTED IN BIND 9
- update-policy { update_policy_rule [...] }; [ Zone ]
- use-alt-transfer-source ( yes | no ); [ Opt, View, Zone ]
- use-id-pool ( yes | no ); OBSOLETE IIN BIND 9
- use-ixfr ( yes | no ) ; OBSOLETE IN BIND 9
- view view_name ; [ lwres ]
- version version_string; [ Opt ]
- zone-statistics ( yes | no ) ; [ Opt, View, Zone ]
options Statement
- options {
- [ version version_string; ]
- [ directory path_name; ]
- [ named-xfer path_name; ]
- [ dump-file path_name; ]
- [ memstatistics-file path_name; ]
- [ pid-file path_name; ]
- [ statistics-file path_name; ]
- [ auth-nxdomain yes_or_no; ]
- [ deallocate-on-exit yes_or_no; ]
- [ dialup yes_or_no; ]
- [ fake-iquery yes_or_no; ]
- [ fetch-glue yes_or_no; ]
- [ has-old-clients yes_or_no; ]
- [ host-statistics yes_or_no; ]
- [ multiple-cnames yes_or_no; ]
- [ notify yes_or_no; ]
- [ recursion yes_or_no; ]
- [ rfc2308-type1 yes_or_no; ]
- [ use-id-pool yes_or_no; ]
- [ treat-cr-as-space yes_or_no; ]
- [ also-notify { ip_addr; [ ip_addr; ... ] };
- [ forward ( only | first ); ]
- [ forwarders { [ in_addr ; [ in_addr ; ... ] ] }; ]
- [ check-names ( master | slave | response ) ( warn | fail | ignore); ]
- [ allow-query { address_match_list }; ]
- [ allow-transfer { address_match_list }; ]
- [ allow-recursion { address_match_list }; ]
- [ blackhole { address_match_list }; ]
- [ listen-on [ port ip_port ] { address_match_list }; ]
- [ query-source [ address ( ip_addr | * ) ] [ port ( ip_port | * ) ] ; ]
- [ lame-ttl number; ]
- [ max-transfer-time-in number; ]
- [ max-ncache-ttl number; ]
- [ min-roots number; ]
- [ serial-queries number; ]
- [ transfer-format ( one-answer | many-answers ); ]
- [ transfers-in number; ]
- [ transfers-out number; ]
- [ transfers-per-ns number; ]
- [ transfer-source ip_addr; ]
- [ maintain-ixfr-base yes_or_no; ]
- [ max-ixfr-log-size number; ]
- [ coresize size_spec ; ]
- [ datasize size_spec ; ]
- [ files size_spec ; ]
- [ stacksize size_spec ; ]
- [ 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 ; ... ] ] };
- };
The options statement sets up global options for BIND to use. This statement may appear only one time 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.
versionndc command or via a query of name version.bind in class chaos. directorynamed.run) is this directory. If a directory is not specified, the working directory defaults to ".", the directory from which the server was started. The directory specified should be an absolute path. named-xfernamed-xfer program that the server uses for inbound zone transfers. If not specified, the default is /usr/sbin/named-xfer). dump-fileSIGINT signal (ndc dumpdb). If not specified, the default is named_dump.db. memstatistics-filedeallocate-on-exit is yes. If not specified, the default is named.memstats. pid-file/var/run/named.pid. You use the pid file if you want to send signals to the running named daemon. statistics-fileSIGILL signal. If not specified, the default is named.stats. auth-nxdomainyes, the AA bit is always set on NXDOMAIN responses, even if the server is not actually authoritative. The default is yes. Do not turn off auth-nxdomain unless you are sure you know what you are doing, as it could cause problems with some older software. deallocate-on-exityes, when the server exists, it deallocates every object it allocated, and then writes a memory usage report to the memstatistics-file. The default is no, because it is faster to let the operating system clean up. The deallocate-on-exit option is useful for detecting memory leaks. dialupyes, the server treats all zones as if they are doing zone transfers across a dial on demand dialup link, which can be brought up by traffic originating from this server. This option has different effects according to zone type. It concentrates the zone maintenance so that it all happens in a short interval, once every heartbeat-interval and hopefully during the one call. It also suppresses some of the normal zone maintainance traffic. The default is no. The dialup option may also be specified in the zone statement, in which case it overrides the options dialup statement. If the zone is a master zone, the server will send out NOTIFY request to all the slaves. This will trigger the "zone up to date checking" on the slave (providing it supports NOTIFY), allowing the slave to verify the zone while the call us up.
If the zone is a slave or stub zone, the server will suppress the regular "zone up to date" queries and only perform them when the heartbeat-interval expires.
fake-iqueryyes, the server will simulate the obsolete DNS query type IQUERY. The default is no. fetch-glueyes (the default), the server will fetch "glue" resource records it doesn't have when constructing the additional data section of a response. You can use the fetch-glue no option to prevent the server's cache from growing or becoming corrupted (at the cost of requiring more work from the client). has-old-clientsyes is equivalent to setting the following three options: auth-nxdomain yes;, maintain-ixfr-base yes; and rfc2308-type1 no;. The use of has-old-clients with auth-nxdomain, maintain-ixfr-base and rfc2308-type1 is order-dependant. host-statisticsyes, statistics are kept for every host with which the nameserver interacts. The default is no. Note: turning on host-statistics can consume huge amounts of memory. maintain-ixfr-baseyes, a transaction log is kept for Incremental Zone Transfer. The default is no. multiple-cnamesyes, multiple CNAME resource records will be allowed for a domain name. The default is no. Allowing multiple CNAME records is against standards and is not recommended. Multiple CNAME support is available because previous versions of BIND allowed multiple CNAME records, and these records have been used for load balancing by a number of sites. notifyyes (the default), DNS NOTIFY messages are sent when a zone the server is authoritative for changes. The use of NOTIFY speeds convergence between the master and its slaves. Slave servers that receive a NOTIFY message, and understand it, will contact the master server for the zone to see if they need to do a zone transfer; if they do, they will initiate it immediately. The notify option may also be specified in the zone statement, in which case it overrides the options notify statement. recursionyes, and a DNS query requests recursion, the server will attempt to do all the work required to answer the query. If recursion is not on, the server will return a referral to the client if it does not know the answer. The default is yes. See also fetch-glue. rfc2308-type1yes, the server will send NS records along with the SOA record for negative answers. You need to set this to no if you have an old version of sendmail or if an old BIND server that does not understand negative answers which contain both SOA and NS records is using your server as a forwarder. The correct fix is to upgrade sendmail or the broken server or. The default is no. use-id-poolyes, the server will keep track of its own outstanding query IDs to avoid duplication and increase randomness. This will result in 128KB more memory being consumed by the server. The default is no. treat-cr-as-spaceyes, the server will treat '\r' characters the same way it treats a ' ' or '\t'. This may be necessary when loading zone files on a UNIX system that were generated on an NT or DOS machine. The default is no. also-notify
Defines a global list of IP addresses that also receive NOTIFY messages whenever a fresh copy of the zone is loaded. This ensures that copies of the zones will quickly converge on "stealth" servers. If an also-notify list is given in a zone statement, it will override the options also-notify statement. When a zone notify statement is set to no, the IP addresses in the global also-notify list will not get sent NOTIFY messages for that zone. The default is the empty list (no global notification list).
You can use the forwarding facility to create a large site-wide cache on a few servers, reducing traffic over links to external nameservers. You can also use it to allow queries by servers that do not have direct access to the Internet, but wish to look up exterior names anyway. Forwarding occurs only on those queries for which the server is not authoritative and does not have the answer in its cache.
forwardforwarders list is not empty. A value of first, the default, causes the server to query the forwarders first, and if that does not answer the question, the server will then look for the answer itself. If only is specified, the server will only query the forwarders. forwardersForwarding can also be configured on a per-zone basis, allowing for the global forwarding options to be overridden in a variety of ways. You can set particular zones to use different forwarders, or have different forward only/first behavior, or to not forward at all. See the zone statement for more information.
Future versions of BIND 8 will provide a more powerful forwarding system. The syntax described above will continue to be supported.
The server can check domain names based upon their expected client contexts. For example, a domain name used as a hostname can be checked for compliance with the RFCs defining valid hostnames.
Three checking methods are available:
ignorewarnfailThe server can check names three areas: master zone files, slave zone files, and in responses to queries the server has initiated. If you specify check-names response fail, and answering the client's question would require sending an invalid name to the client, the server will send a REFUSED response code to the client.
The defaults are:
check-names master ignore;
check-names slave ignore;
check-names response ignore;You can also specify the check-names option in the zone statement, in which case it overrides the options check-names statement. When used in a zone statement, the area is not specified (because it can be deduced from the zone type).
You can restrict access to the server based on the IP address of the requesting system. See address_match_list for details on how to specify IP address lists.
allow-queryallow-query option in the zone statement, in which case it overrides the options allow-query statement. If not specified, the default is to allow queries from all hosts. allow-transferallow-transfer option in the zone statement, in which case it overrides the options allow-transfer statement. If not specified, the default is to allow transfers from all hosts. allow-recursionblackholeThe interfaces and ports that the server will answer queries from may be specified using the listen-on option. The listen-on option takes an optional port, and an address_match_list. The server will listen on all interfaces allowed by the address match list. If a port is not specified, port 53 will be used.
Multiple listen-on statements are allowed. For example, the following statements 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:
listen-on { 5.6.7.8; };
listen-on port 1234 { !1.2.3.4; 1.2/16; };If no listen-on is specified, the server will listen on port 53 on all interfaces.
If the server does not know the answer to a question, it will query other nameservers. The query-source option specifies the address and port used for such queries. If address is * or is omitted, a wildcard IP address (INADDR_ANY) will be used. If port is * or is omitted, a random unprivileged port will be used. The default is
query-source address * port *;Note: query-source currently applies only to UDP queries; TCP queries always use a wildcard IP address and a random unprivileged port.
max-transfer-time-innamed-xfer processes) running longer than this many minutes will be terminated. The default is 120 minutes (2 hours). transfer-formatone-answermany-answerstransfer-format on a per-server basis by using the server statement. transfers-intransfers-in may speed up the convergence of slave zones, but it also may increase the load on the local system. transfers-outtransfers-per-nsnamed-xfer processes) that can be concurrently transferring from a given remote nameserver. The default value is 2. Increasing the transfers-per-ns option may speed up the convergence of slave zones, but it also may increase the load on the remote nameserver. You can override transfers-per-ns on a per-server basis by using the transfers phrase of the server statement. transfer-sourcetransfer-source option determines which local address will be bound to the TCP connection used to fetch all zones transferred inbound by the server. If not set, it defaults to a system-controlled value which will usually be the address of the interface closest to the remote end. This address must appear in the remote end's allow-transfer option for the zone being transferred, if one is specified. This statement sets the transfer-source for all zones, but can be overridden on a per-zone basis by including a transfer-source statement within the zone block in the configuration file. serial-queriesserial-queries option sets the maximum number of concurrent serial-number queries allowed to be outstanding at any given time. The default is four (4). Note: If a server loads a large (tens or hundreds of thousands) number of slave zones, this limit should be raised to the high hundreds or low thousands; otherwise, the slave server may never actually become aware of zone changes in the master servers. Beware, though, that setting this limit arbitrarily high can spend a considerable amount of your slave server's network, CPU, and memory resources. As with all tunable limits, this one should be changed gently and monitored for its effects. The server's usage of many system resources can be limited. Some operating systems do not support some of the limits and a warning will be issued if an unsupported limit is set in the configuration file.
Scaled values are allowed when specifying resource limits. For example, you can use 1G instead of 1073741824 to specify a limit of one gigabyte. The unlimited option requests unlimited use, or the maximum available amount. The default option uses the limit that was in force when the server was started. See size_spec for more details.
coresizedefault. datasizedefault. filesunlimited. max-ixfr-log-sizemax-ixfr-log-size will be used in a future release of the server to limit the size of the transaction log kept for Incremental Zone Transfer. stacksizedefault. cleaning-intervalcleaning-interval minutes. The default is 60 minutes. If set to 0, no periodic cleaning occurs. heartbeat-intervaldialup yes 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-intervalinterface-interval minutes. The default is 60 minutes. If set to 0, interface scanning will only occur when the configuration file is loaded. After the scan, listeners will be started on any new interfaces (provided they are allowed by the listen-on configuration). Listeners on interfaces that have gone away will be cleaned up. statistics-intervalstatistics-interval minutes. The default is 60. If set to 0, no statistics will be logged. Typically, when the server chooses a nameserver to query from a list of nameservers, it prefers the one that is topologically closest to itself. The topology statement takes an address_match_list and interprets it in a special way. Each top-level list element is assigned a distance. Non-negated elements get a distance based on their position in the list, where the closer the match is to the start of the list, the shorter the distance is between it and the server. A negated match will be assigned the maximum distance from the server. If there is no match, the address will get a distance which is farther than any non-negated list element, and closer than any negated element.
The following example prefers servers on network 10 the most, followed by hosts on network 1.2.0.0 (netmask 255.255.0.0) and network 3, with the exception of hosts on network 1.2.3 (netmask 255.255.255.0), which is preferred least of all:
topology {
10/8;
!1.2.3/24;
{ 1.2/16; 3/8; };
};The default topology is
topology { localhost; localnets; };When returning multiple RRs, the nameserver will normally return them in round robin. After each request, the first RR is put to the end of the list. As the order of RRs is not defined, this should not cause any problems.
The client resolver code should re-arrange the RRs as appropriate, using any addresses on the local net in preference to other addresses. However, not all resolvers can do this, and some are incorrectly configured.
When a client is using a local server, the sorting can be performed in the server, based on the client's address. This requires configuring only the nameservers, not all the clients.
The sortlist statement takes an address match list and interprets it even more specially than the topology statement does.
Each top level statement in the sortlist must itself be an explicit address match list with one or two elements. The first element (which may be an IP address, an IP prefix, an ACL name or nested address match list) of each top level list is checked against the source address of the query until a match is found.
Once the source address of the query has been matched, if the top level statement contains only one element, the actual primitive element that matched the source address is used to select the address in the response to move to the beginning of the response. If the statement is a list of two elements, the second element is treated like the address match list in a topology statement. Each top level element is assigned a distance and the address in the response with the minimum distance is moved to the beginning of the response.
In the following example, any queries received from any of the addresses of the host itself will get responses preferring addresses on any of the locally connected networks. Next most preferred are addresses on the 192.168.1/24 network, and after that either the 192.168.2/24 or 192.168.3/24 network with no preference shown between these two networks. Queries received from a host on the 192.168.1/24 network will prefer other addresses on that network to the 192.168.2/24 and 192.168.3/24 networks. Queries received from a host on the 192.168.4/24 or the 192.168.5/24 network will only prefer other addresses on their directly connected
sortlist {
{ localhost; // IF the local host
{ localnets; // THEN first fit on the
192.168.1/24; // following nets
{ 192,168.2/24; 192.168.3/24; }; }; };
{ 192.168.1/24; // IF on class C 192.168.1
{ 192.168.1/24; // THEN use .1, or .2 or .3
{ 192.168.2/24; 192.168.3/24; }; }; };
{ 192.168.2/24; // IF on class C 192.168.2
{ 192.168.2/24; // THEN use .2, or .1 or .3
{ 192.168.1/24; 192.168.3/24; }; }; };
{ 192.168.3/24; // IF on class C 192.168.3
{ 192.168.3/24; // THEN use .3, or .1 or .2
{ 192.168.1/24; 192.168.2/24; }; }; };
{ { 192.168.4/24; 192.168.5/24; }; // if .4 or .5, prefer that net
};
};
The following example will give reasonable behaviour for the local host and hosts on directly connected networks. It is similar to the behavior of the address sort in BIND 4.9.x. Responses sent to queries from the local host will favor any of the directly connected networks. Responses sent to queries from any other hosts on a directly connected network will prefer addresses on that same network. Responses to other queries will not be
sortlist {
{ localhost; localnets; };
{ localnets; };
};
When multiple records are returned in an answer it may be useful to configure the order in which the records are placed into the response. For example the records for a zone might be configured to always be returned in the order they are defined in the zone file. Or perhaps a random shuffle of the records as they are returned is wanted. The rrset-order statement permits configuration of the ordering made of the records in a multiple record response. The default, if no ordering is defined, is a cyclic ordering (round robin).
An order_spec is defined as follows:
[ class class_name ][ type type_name ][ name "FQDN" ] order ordering
If no class is specified, the default is ANY. If no type is specified, the default is ANY. If no name is specified, the default is "*".
The legal values for ordering are:
fixedrandomcyclicThe following example will cause any responses for type A records in class IN that have "rc.vix.com" as a suffix, to always be returned in random order. All other records are returned in cyclic
rrset-order {
class IN type A name "rc.vix.com" order random;
order cyclic;
};If multiple rrset-order statements appear, they are not combined -- the last one applies.
If no rrset-order statement is specified, a default one is used, as follows:
rrset-order { class ANY type ANY name "*" order cyclic ; };
lame-ttlmax-ncache-ttlmax-ncache-ttl option to set a maximum retention time for these answers in the server in seconds. The default max-ncache-ttl is 10800 seconds (3 hours). The max-ncache-ttl cannot exceed the maximum retention time for ordinary (positive) answers (7 days) and will be silently truncated to 7 days if set to a value which is greater that 7 days. min-roots本日志由 flyinweb 于 2009-07-16 10:22:12 发表,目前已经被浏览 4044 次,评论 0 次;
引用通告:http://www.517sou.net/Article/142/Trackback.ashx
It is quite useful and interesting too.
VIRT 的上限是64G,也就是36位, cat /proc/cpuinfo的结果是:addre
昨天要准备用线程重写webbench,试验了下Fedora Linux 2.6.35.14
不明白您的具体的意思是什么?
已经发送到你QQ邮箱
http://www.2mysite.net/scriptencoder/screnc.asp 站长你好,看
你好,我发现一个问题,就是从mysqld2同步过来的数据,在mysqld1的
晕,我说是怎么回事情,原来我和你一样,忘记设置了活动分区