Bv9ARM.ch06.html revision 027e89d47af308db4b41761ca9f847c026b63ec8
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>BIND 9 Configuration Reference</TITLE
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncNAME="GENERATOR"
e289394a1f095c5a9c2629e3479ec8f5b305b73avboxsyncCONTENT="Modular DocBook HTML Stylesheet Version 1.41"><LINK
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncREL="PREVIOUS"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncTITLE="The BIND 9 Lightweight Resolver"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncTITLE="BIND 9 Security Considerations"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncBGCOLOR="#FFFFFF"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncTEXT="#000000"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncLINK="#0000FF"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncVLINK="#840084"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncALINK="#0000FF"
f7d0672fb68919a6a824f47d7ef72b9b7bd0c266vboxsyncCLASS="NAVHEADER"
f7d0672fb68919a6a824f47d7ef72b9b7bd0c266vboxsyncWIDTH="100%"
f7d0672fb68919a6a824f47d7ef72b9b7bd0c266vboxsyncCELLPADDING="0"
f7d0672fb68919a6a824f47d7ef72b9b7bd0c266vboxsyncCELLSPACING="0"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncALIGN="center"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncALIGN="left"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncVALIGN="bottom"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncALIGN="center"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncVALIGN="bottom"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncALIGN="right"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncVALIGN="bottom"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncALIGN="LEFT"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="chapter"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>Chapter 6. <SPAN
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="acronym"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync> 9 Configuration Reference</A
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>Table of Contents</B
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncHREF="Bv9ARM.ch06.html#configuration_file_elements"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>Configuration File Elements</A
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncHREF="Bv9ARM.ch06.html#Configuration_File_Grammar"
1207f59aa62006952dbb0bf7700decf34d8caeb2vboxsync>Configuration File Grammar</A
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>Zone File</A
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="acronym"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync> 9 configuration is broadly similar to <SPAN
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="acronym"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncthere are a few new areas of configuration, such as views. <SPAN
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="acronym"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync8.x configuration files should work with few alterations in <SPAN
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="acronym"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync9, although more complex configurations should be reviewed to check
fb1975a6972d89de9e515bed0248db93f04ec9d8vboxsyncif they can be more efficiently implemented using the new features
fb1975a6972d89de9e515bed0248db93f04ec9d8vboxsyncfound in <SPAN
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="acronym"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="acronym"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync> 4 configuration files can be converted to the new format
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncusing the shell script
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="filename"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="sect1"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="sect1"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncNAME="configuration_file_elements"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>6.1. Configuration File Elements</A
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>Following is a list of elements used throughout the <SPAN
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="acronym"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync> configuration
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncfile documentation:</P
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="informaltable"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="CALSTABLE"
508452243fd3328f7b9e0405d39fb9dc004e31b8vboxsyncALIGN="LEFT"
508452243fd3328f7b9e0405d39fb9dc004e31b8vboxsyncVALIGN="MIDDLE"
cc9b7957f36eef072546fb6e528a6e437b8e1c77vboxsyncCLASS="varname"
cc9b7957f36eef072546fb6e528a6e437b8e1c77vboxsync>acl_name</TT
b4370115582400e9dd1b8576c4f752c7f5938163vboxsyncALIGN="LEFT"
b4370115582400e9dd1b8576c4f752c7f5938163vboxsyncVALIGN="MIDDLE"
b4370115582400e9dd1b8576c4f752c7f5938163vboxsync>The name of an <TT
03bec6f44741e6c2b88f367fc490640c582d151dvboxsyncCLASS="varname"
03bec6f44741e6c2b88f367fc490640c582d151dvboxsync>address_match_list</TT
cc3bca4689a07b4bcf37bd5d37464e76552e1a45vboxsyncdefined by the <B
b4370115582400e9dd1b8576c4f752c7f5938163vboxsyncCLASS="command"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync> statement.</P
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncALIGN="LEFT"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncVALIGN="MIDDLE"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="varname"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>address_match_list</TT
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncALIGN="LEFT"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncVALIGN="MIDDLE"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>A list of one or more <TT
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="varname"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>ip_addr</TT
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="command"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="varname"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>ip_prefix</TT
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="command"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="varname"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="command"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="varname"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>acl_name</TT
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync> elements, see
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncHREF="Bv9ARM.ch06.html#address_match_lists"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>Section 6.1.1</A
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncALIGN="LEFT"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncVALIGN="MIDDLE"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="varname"
e48239695d41f806ff02d8a60b97dc20d4822d7avboxsync>domain_name</TT
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncALIGN="LEFT"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncVALIGN="MIDDLE"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>A quoted string which will be used as
917817a983e71a3fb56452c46caba04b0d59f72evboxsynca DNS name, for example "<SPAN
917817a983e71a3fb56452c46caba04b0d59f72evboxsyncCLASS="systemitem"
1207f59aa62006952dbb0bf7700decf34d8caeb2vboxsyncALIGN="LEFT"
1207f59aa62006952dbb0bf7700decf34d8caeb2vboxsyncVALIGN="MIDDLE"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="varname"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>dotted_decimal</TT
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncALIGN="LEFT"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncVALIGN="MIDDLE"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>One or more integers valued 0 through
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync255 separated only by dots (`.'), such as <B
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="command"
e48239695d41f806ff02d8a60b97dc20d4822d7avboxsyncCLASS="command"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="command"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>89.123.45.67</B
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncALIGN="LEFT"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncVALIGN="MIDDLE"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="varname"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>ip4_addr</TT
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncALIGN="LEFT"
fb1975a6972d89de9e515bed0248db93f04ec9d8vboxsyncVALIGN="MIDDLE"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>An IPv4 address with exactly four elements
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="varname"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>dotted_decimal</TT
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync> notation.</P
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncALIGN="LEFT"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncVALIGN="MIDDLE"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="varname"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>ip6_addr</TT
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncALIGN="LEFT"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncVALIGN="MIDDLE"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>An IPv6 address, such as <B
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="command"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>fe80::200:f8ff:fe01:9742</B
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncALIGN="LEFT"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncVALIGN="MIDDLE"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="varname"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>ip_addr</TT
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncALIGN="LEFT"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncVALIGN="MIDDLE"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="varname"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>ip4_addr</TT
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="command"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="varname"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>ip6_addr</TT
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncALIGN="LEFT"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncVALIGN="MIDDLE"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="varname"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>ip_port</TT
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncALIGN="LEFT"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncVALIGN="MIDDLE"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>An IP port <TT
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="varname"
e289394a1f095c5a9c2629e3479ec8f5b305b73avboxsyncCLASS="varname"
e289394a1f095c5a9c2629e3479ec8f5b305b73avboxsync> is limited to 0 through 65535, with values
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncbelow 1024 typically restricted to root-owned processes. In some
e289394a1f095c5a9c2629e3479ec8f5b305b73avboxsynccases an asterisk (`*') character can be used as a placeholder to
e289394a1f095c5a9c2629e3479ec8f5b305b73avboxsyncselect a random high-numbered port.</P
e289394a1f095c5a9c2629e3479ec8f5b305b73avboxsyncALIGN="LEFT"
e289394a1f095c5a9c2629e3479ec8f5b305b73avboxsyncVALIGN="MIDDLE"
e289394a1f095c5a9c2629e3479ec8f5b305b73avboxsyncCLASS="varname"
e289394a1f095c5a9c2629e3479ec8f5b305b73avboxsync>ip_prefix</TT
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncALIGN="LEFT"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncVALIGN="MIDDLE"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>An IP network specified as an <TT
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="varname"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>ip_addr</TT
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncfollowed by a slash (`/') and then the number of bits in the netmask.
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncTrailing zeros in a <TT
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="varname"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>ip_addr</TT
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync> may omitted.
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncFor example, <B
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="command"
508452243fd3328f7b9e0405d39fb9dc004e31b8vboxsync> is the network <B
508452243fd3328f7b9e0405d39fb9dc004e31b8vboxsyncCLASS="command"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>127.0.0.0</B
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="command"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>255.0.0.0</B
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="command"
d9baddc0fffc3245d1fdee20d9dc455abd6835fcvboxsyncCLASS="command"
825c2485cf84eec495985ffd605a1c9cddee8c32vboxsync> with netmask <B
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="command"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>255.255.255.240</B
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncALIGN="LEFT"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncVALIGN="MIDDLE"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="varname"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncALIGN="LEFT"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncVALIGN="MIDDLE"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="varname"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>domain_name</TT
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync> representing
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncthe name of a shared key, to be used for transaction security.</P
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncALIGN="LEFT"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncVALIGN="MIDDLE"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="varname"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>key_list</TT
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncALIGN="LEFT"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncVALIGN="MIDDLE"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>A list of one or more <TT
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="varname"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncseparated by semicolons and ending with a semicolon.</P
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncALIGN="LEFT"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncVALIGN="MIDDLE"
1207f59aa62006952dbb0bf7700decf34d8caeb2vboxsyncCLASS="varname"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncALIGN="LEFT"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncVALIGN="MIDDLE"
1207f59aa62006952dbb0bf7700decf34d8caeb2vboxsync>A non-negative integer with an entire
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncrange limited by the range of a C language signed integer (2,147,483,647
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncon a machine with 32 bit integers). Its acceptable value might further
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncbe limited by the context in which it is used.</P
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncALIGN="LEFT"
508452243fd3328f7b9e0405d39fb9dc004e31b8vboxsyncVALIGN="MIDDLE"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="varname"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>path_name</TT
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncALIGN="LEFT"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncVALIGN="MIDDLE"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>A quoted string which will be used as
77fc1985037d065e670e7438b205bba66d7dbef5vboxsynca pathname, such as <TT
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="filename"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncALIGN="LEFT"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncVALIGN="MIDDLE"
1207f59aa62006952dbb0bf7700decf34d8caeb2vboxsyncCLASS="varname"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>size_spec</TT
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncALIGN="LEFT"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncVALIGN="MIDDLE"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>A number, the word <TT
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="userinput"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>unlimited</B
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncor the word <TT
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="userinput"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>The maximum
1207f59aa62006952dbb0bf7700decf34d8caeb2vboxsyncvalue of <TT
1207f59aa62006952dbb0bf7700decf34d8caeb2vboxsyncCLASS="varname"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>size_spec</TT
1207f59aa62006952dbb0bf7700decf34d8caeb2vboxsync> is that of unsigned long integers
1207f59aa62006952dbb0bf7700decf34d8caeb2vboxsyncon the machine. An <TT
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="varname"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>unlimited</TT
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="varname"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>size_spec</TT
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync> requests unlimited
508452243fd3328f7b9e0405d39fb9dc004e31b8vboxsyncuse, or the maximum available amount. A <TT
508452243fd3328f7b9e0405d39fb9dc004e31b8vboxsyncCLASS="varname"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>default size_spec</TT
1207f59aa62006952dbb0bf7700decf34d8caeb2vboxsyncthe limit that was in force when the server was started.</P
1207f59aa62006952dbb0bf7700decf34d8caeb2vboxsyncCLASS="varname"
1207f59aa62006952dbb0bf7700decf34d8caeb2vboxsyncoptionally be followed by a scaling factor: <TT
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="userinput"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="userinput"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="command"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsynckilobytes, <TT
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="userinput"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="userinput"
1207f59aa62006952dbb0bf7700decf34d8caeb2vboxsyncmegabytes, and <TT
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="userinput"
3933885bc0c2c93436d858a14564c6179ec72872vboxsyncCLASS="userinput"
3933885bc0c2c93436d858a14564c6179ec72872vboxsync> for gigabytes,
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncwhich scale by 1024, 1024*1024, and 1024*1024*1024 respectively.</P
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncstorage overflow is currently silently ignored during conversion
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncof scaled values, resulting in values less than intended, possibly
77fc1985037d065e670e7438b205bba66d7dbef5vboxsynceven negative. Using <TT
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="varname"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>unlimited</TT
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync> is the best way
1207f59aa62006952dbb0bf7700decf34d8caeb2vboxsyncto safely set a really large number.</P
9ca017ceee656f9d33f2cb6652e401b5f17fcfb7vboxsyncALIGN="LEFT"
3933885bc0c2c93436d858a14564c6179ec72872vboxsyncVALIGN="MIDDLE"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="varname"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>yes_or_no</TT
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncALIGN="LEFT"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncVALIGN="MIDDLE"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="userinput"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="userinput"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncThe words <TT
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="userinput"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="userinput"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncalso accepted, as are the numbers <TT
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="userinput"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="userinput"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="sect2"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="sect2"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncNAME="address_match_lists"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>6.1.1. Address Match Lists</A
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="sect3"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="sect3"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncNAME="AEN1176"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>6.1.1.1. Syntax</A
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="programlisting"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="varname"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>address_match_list</TT
f1301dd8b6870b5a25c7dbdd46e0a0671bb62031vboxsync> = address_match_list_element ;
f1301dd8b6870b5a25c7dbdd46e0a0671bb62031vboxsyncCLASS="optional"
f1301dd8b6870b5a25c7dbdd46e0a0671bb62031vboxsync> address_match_list_element; ... </SPAN
e48239695d41f806ff02d8a60b97dc20d4822d7avboxsyncCLASS="varname"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>address_match_list_element</TT
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="optional"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>] (ip_address [<SPAN
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="optional"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>/length</SPAN
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync key key_id | acl_name | { address_match_list } )
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="sect3"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="sect3"
f409459bdd4c15cdb8d7fb6c6d54338cce9ac814vboxsyncNAME="AEN1184"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>6.1.1.2. Definition and Usage</A
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>Address match lists are primarily used to determine access
77fc1985037d065e670e7438b205bba66d7dbef5vboxsynccontrol for various server operations. They are also used to define
1207f59aa62006952dbb0bf7700decf34d8caeb2vboxsyncpriorities for querying other nameservers and to set the addresses
f1301dd8b6870b5a25c7dbdd46e0a0671bb62031vboxsyncCLASS="command"
825c2485cf84eec495985ffd605a1c9cddee8c32vboxsync> will listen for queries. The elements
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncwhich constitute an address match list can be any of the following:</P
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>an IP address (IPv4 or IPv6)</P
1207f59aa62006952dbb0bf7700decf34d8caeb2vboxsync>an IP prefix (in the `/'-notation)</P
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>a key ID, as defined by the key statement</P
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>the name of an address match list previously defined with
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="command"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync> statement</P
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>a nested address match list enclosed in braces</P
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>Elements can be negated with a leading exclamation mark (`!')
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncand the match list names "any," "none," "localhost" and "localnets"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncare predefined. More information on those names can be found in
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncthe description of the acl statement.</P
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>The addition of the key clause made the name of this syntactic
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncelement something of a misnomer, since security keys can be used
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncto validate access without regard to a host or network address. Nonetheless,
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncthe term "address match list" is still used throughout the documentation.</P
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>When a given IP address or prefix is compared to an address
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncmatch list, the list is traversed in order until an element matches.
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncThe interpretation of a match depends on whether the list is being used
e48239695d41f806ff02d8a60b97dc20d4822d7avboxsyncfor access control, defining listen-on ports, or as a topology,
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncand whether the element was negated.</P
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>When used as an access control list, a non-negated match allows
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncaccess and a negated match denies access. If there is no match,
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncaccess is denied. The clauses <B
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="command"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>allow-query</B
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="command"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>allow-transfer</B
f409459bdd4c15cdb8d7fb6c6d54338cce9ac814vboxsyncCLASS="command"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>allow-update</B
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="command"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>blackhole</B
1207f59aa62006952dbb0bf7700decf34d8caeb2vboxsyncuse address match lists this. Similarly, the listen-on option will cause
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncthe server to not accept queries on any of the machine's addresses
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncwhich do not match the list.</P
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>When used with the topology clause, a non-negated match returns
77fc1985037d065e670e7438b205bba66d7dbef5vboxsynca distance based on its position on the list (the closer the match
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncis to the start of the list, the shorter the distance is between
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncit and the server). A negated match will be assigned the maximum
f409459bdd4c15cdb8d7fb6c6d54338cce9ac814vboxsyncdistance from the server. If there is no match, the address will
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncget a distance which is further than any non-negated list element,
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncand closer than any negated element.</P
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync>Because of the first-match aspect of the algorithm, an element
1207f59aa62006952dbb0bf7700decf34d8caeb2vboxsyncthat defines a subset of another element in the list should come
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncbefore the broader element, regardless of whether either is negated. For
825c2485cf84eec495985ffd605a1c9cddee8c32vboxsyncCLASS="command"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsync> the 1.2.3.13 element is
77fc1985037d065e670e7438b205bba66d7dbef5vboxsynccompletely useless because the algorithm will match any lookup for
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncCLASS="command"
77fc1985037d065e670e7438b205bba66d7dbef5vboxsyncthat problem by having 1.2.3.13 blocked by the negation but all
eaa687a9ede02b3b161a4595f7e42590a2e1b932vboxsyncother 1.2.3.* hosts fall through.</P
eaa687a9ede02b3b161a4595f7e42590a2e1b932vboxsyncCLASS="sect2"
eaa687a9ede02b3b161a4595f7e42590a2e1b932vboxsyncCLASS="sect2"
eaa687a9ede02b3b161a4595f7e42590a2e1b932vboxsyncNAME="AEN1212"
eaa687a9ede02b3b161a4595f7e42590a2e1b932vboxsync>6.1.2. Comment Syntax</A
eaa687a9ede02b3b161a4595f7e42590a2e1b932vboxsyncCLASS="acronym"
1bd688411b3410e2318f9a27f3a8ea1a1b331e18vboxsync> 9 comment syntax allows for comments to appear
1bd688411b3410e2318f9a27f3a8ea1a1b331e18vboxsync anywhere that white space may appear in a <SPAN
1bd688411b3410e2318f9a27f3a8ea1a1b331e18vboxsyncCLASS="acronym"
1bd688411b3410e2318f9a27f3a8ea1a1b331e18vboxsync> configuration
1bd688411b3410e2318f9a27f3a8ea1a1b331e18vboxsync file. To appeal to programmers of all kinds, they can be written
1bd688411b3410e2318f9a27f3a8ea1a1b331e18vboxsyncCLASS="sect3"
1bd688411b3410e2318f9a27f3a8ea1a1b331e18vboxsyncCLASS="sect3"
1bd688411b3410e2318f9a27f3a8ea1a1b331e18vboxsyncNAME="AEN1217"
1bd688411b3410e2318f9a27f3a8ea1a1b331e18vboxsync>6.1.2.1. Syntax</A
1bd688411b3410e2318f9a27f3a8ea1a1b331e18vboxsyncCLASS="programlisting"
1bd688411b3410e2318f9a27f3a8ea1a1b331e18vboxsync>/* This is a <SPAN
1bd688411b3410e2318f9a27f3a8ea1a1b331e18vboxsyncCLASS="acronym"
1bd688411b3410e2318f9a27f3a8ea1a1b331e18vboxsync> comment as in C */</PRE
1bd688411b3410e2318f9a27f3a8ea1a1b331e18vboxsyncCLASS="programlisting"
1bd688411b3410e2318f9a27f3a8ea1a1b331e18vboxsync>// This is a <SPAN
1bd688411b3410e2318f9a27f3a8ea1a1b331e18vboxsyncCLASS="acronym"
1bd688411b3410e2318f9a27f3a8ea1a1b331e18vboxsync> comment as in C++</PRE
45df86d6d2b75d5907d01d46345577e0c7ebbfd7vboxsyncCLASS="programlisting"
45df86d6d2b75d5907d01d46345577e0c7ebbfd7vboxsync># This is a <SPAN
45df86d6d2b75d5907d01d46345577e0c7ebbfd7vboxsyncCLASS="acronym"
45df86d6d2b75d5907d01d46345577e0c7ebbfd7vboxsync> comment as in common UNIX shells and perl</PRE
7c17fb207ce942776c36e7e1506471c682973bf8vboxsyncCLASS="sect3"
40a7c4c6161d7e81d51ea25f6ab1cfd4d8961590vboxsyncCLASS="sect3"
40a7c4c6161d7e81d51ea25f6ab1cfd4d8961590vboxsyncNAME="AEN1226"
40a7c4c6161d7e81d51ea25f6ab1cfd4d8961590vboxsync>6.1.2.2. Definition and Usage</A
40a7c4c6161d7e81d51ea25f6ab1cfd4d8961590vboxsync>Comments may appear anywhere that whitespace may appear in
40a7c4c6161d7e81d51ea25f6ab1cfd4d8961590vboxsyncCLASS="acronym"
eaa687a9ede02b3b161a4595f7e42590a2e1b932vboxsync> configuration file.</P
eaa687a9ede02b3b161a4595f7e42590a2e1b932vboxsync>C-style comments start with the two characters /* (slash,
eaa687a9ede02b3b161a4595f7e42590a2e1b932vboxsyncstar) and end with */ (star, slash). Because they are completely
eaa687a9ede02b3b161a4595f7e42590a2e1b932vboxsyncdelimited with these characters, they can be used to comment only
eaa687a9ede02b3b161a4595f7e42590a2e1b932vboxsynca portion of a line or to span multiple lines.</P
eaa687a9ede02b3b161a4595f7e42590a2e1b932vboxsync>C-style comments cannot be nested. For example, the following
eaa687a9ede02b3b161a4595f7e42590a2e1b932vboxsyncis not valid because the entire comment ends with the first */:</P
eaa687a9ede02b3b161a4595f7e42590a2e1b932vboxsyncCLASS="programlisting"
1bd688411b3410e2318f9a27f3a8ea1a1b331e18vboxsync>/* This is the start of a comment.
eaa687a9ede02b3b161a4595f7e42590a2e1b932vboxsync This is still part of the comment.
eaa687a9ede02b3b161a4595f7e42590a2e1b932vboxsync/* This is an incorrect attempt at nesting a comment. */
eaa687a9ede02b3b161a4595f7e42590a2e1b932vboxsync This is no longer in any comment. */
eaa687a9ede02b3b161a4595f7e42590a2e1b932vboxsync>C++-style comments start with the two characters // (slash,
eaa687a9ede02b3b161a4595f7e42590a2e1b932vboxsyncslash) and continue to the end of the physical line. They cannot
eaa687a9ede02b3b161a4595f7e42590a2e1b932vboxsyncbe continued across multiple physical lines; to have one logical
eaa687a9ede02b3b161a4595f7e42590a2e1b932vboxsynccomment span multiple lines, each line must use the // pair.</P
eaa687a9ede02b3b161a4595f7e42590a2e1b932vboxsync>For example:</P
eaa687a9ede02b3b161a4595f7e42590a2e1b932vboxsyncCLASS="programlisting"
eaa687a9ede02b3b161a4595f7e42590a2e1b932vboxsync>// This is the start of a comment. The next line
eaa687a9ede02b3b161a4595f7e42590a2e1b932vboxsync// is a new comment, even though it is logically
eaa687a9ede02b3b161a4595f7e42590a2e1b932vboxsync// part of the previous comment.
eaa687a9ede02b3b161a4595f7e42590a2e1b932vboxsync>Shell-style (or perl-style, if you prefer) comments start
7c17fb207ce942776c36e7e1506471c682973bf8vboxsyncwith the character <TT
7c17fb207ce942776c36e7e1506471c682973bf8vboxsyncCLASS="literal"
40a7c4c6161d7e81d51ea25f6ab1cfd4d8961590vboxsync> (number sign) and continue to the end of the
40a7c4c6161d7e81d51ea25f6ab1cfd4d8961590vboxsyncphysical line, as in C++ comments.</P
40a7c4c6161d7e81d51ea25f6ab1cfd4d8961590vboxsync>For example:</P
40a7c4c6161d7e81d51ea25f6ab1cfd4d8961590vboxsyncCLASS="programlisting"
40a7c4c6161d7e81d51ea25f6ab1cfd4d8961590vboxsync># This is the start of a comment. The next line
40a7c4c6161d7e81d51ea25f6ab1cfd4d8961590vboxsync# is a new comment, even though it is logically
eaa687a9ede02b3b161a4595f7e42590a2e1b932vboxsync# part of the previous comment.
9ca017ceee656f9d33f2cb6652e401b5f17fcfb7vboxsyncCLASS="warning"
9ca017ceee656f9d33f2cb6652e401b5f17fcfb7vboxsyncCLASS="warning"
eaa687a9ede02b3b161a4595f7e42590a2e1b932vboxsyncWIDTH="100%"
eaa687a9ede02b3b161a4595f7e42590a2e1b932vboxsyncALIGN="CENTER"
HREF="Bv9ARM.ch03.html#rndc"
HREF="Bv9ARM.ch03.html#admin_tools"
HREF="Bv9ARM.ch04.html#tsig"
file "example.log" versions 3 size 20m;
HREF="Bv9ARM.ch06.html#the_category_phrase"
// of "named.run"
HREF="Bv9ARM.ch03.html#notify"
HREF="Bv9ARM.ch06.html#zone_statement_grammar"
HREF="Bv9ARM.ch06.html#address_match_lists"
HREF="Bv9ARM.ch06.html#configuration_file_elements"
HREF="Bv9ARM.ch06.html#types_of_resource_records_and_when_to_use_them"
HREF="Bv9ARM.ch06.html#topology"
> 8.x. Responses sent
class IN type A name "host.example.com" order random;
HREF="Bv9ARM.ch04.html#dynamic_update"
HREF="Bv9ARM.ch06.html#server_statement_definition_and_usage"
HREF="Bv9ARM.ch04.html#incremental_zone_transfers"
HREF="Bv9ARM.ch04.html#DNSSEC"
// Provide a complete view of the example.com zone
zone "example.com" {
file "example-internal.db";
// Provide a restricted view of the example.com zone
zone "example.com" {
file "example-external.db";
HREF="Bv9ARM.ch06.html#access_control"
HREF="Bv9ARM.ch06.html#access_control"
HREF="Bv9ARM.ch06.html#dynamic_update_policies"
HREF="Bv9ARM.ch06.html#name_checking"
HREF="Bv9ARM.ch06.html#boolean_options"
HREF="Bv9ARM.ch06.html#zone_transfers"
HREF="Bv9ARM.ch06.html#zone_transfers"
HREF="Bv9ARM.ch06.html#zone_transfers"
HREF="Bv9ARM.ch06.html#zone_transfers"
HREF="Bv9ARM.ch06.html#boolean_options"
HREF="Bv9ARM.ch06.html#tuning"
HREF="Bv9ARM.ch06.html#the_sortlist_statement"
HREF="Bv9ARM.ch06.html#rrset_ordering"
HREF="Bv9ARM.ch09.html#classes_of_resource_records"
and PTR records. Entries in the in-addr.arpa domain are made in
in-addr.arpa name of
3.2.1.10.in-addr.arpa. This name should have a PTR resource record
>$ORIGIN example.com
sub /24 reverse delegations described in RFC 2317: Classless IN-ADDR.ARPA
>$ORIGIN 0.0.192.IN-ADDR.ARPA.
HREF="Bv9ARM.ch05.html"
HREF="Bv9ARM.html"
HREF="Bv9ARM.ch07.html"