The server Statement

The server statement defines the characteristics of a remote server. Listing B.7 is the syntax of the BIND 8 server statement.

Listing B.7: The BIND 8 server Statement Syntax server address {

[ transfers number; ]

[ transfer-format one-answer|many-answers; ]

transfers and transfer-format were covered in the section on the options statement. Here, they apply to only this remote server. This is particularly useful for the transfer-format command. You can globally set this to the more efficient many-answers format in the options statement and then use individual server statements to fall back to the more compatible one-answer setting for servers that cannot handle the newer format.

The other options included in the server statement are bogus yes prevents the local server from sending queries to this server. The default is no, which permits queries to the remote server.

support-ixfr yes enables incremental zone file transfers with the remote server. no, the default, disables incremental zone file transfers. Upgrade to BIND 9 if you need incremental zone file transfers.

keys Specifies the key used by the remote host for encryption. This is not implemented in all versions of BIND 8. Use BIND 9 if you need strong authentication.

The BIND 9 server statement syntax varies slightly from the BIND 8 command. It is shown in Listing B.8.

Listing B.8: The BIND 9 server Statement Syntax server address {

[ transfers number; ]

[ transfer-format one-answer|many-answers; ]

All of the fields are the same as BIND 8, except that support-ixfr has been replaced by two options:

provide-ixfr Indicates that the local server will provide incremental zone transfers to the remote server.

request-ixfr Indicates that the local server will request incremental zone transfers from the remote server.

Was this article helpful?

0 0

Post a comment