BIND Name Server Boot File Statements | Appendix F
BIND Name Server and Resolver Statements |
BIND Resolver Statements
The following statements are for the resolver configuration file, /etc/resolv.conf.
domain
- Function:
- Defines your resolver's default domain
- Syntax:
-
domain
domain-name
- Example:
-
domain corp.hp.com
- Covered in:
- Configuring Hosts
search (4.8.3 and later versions)
- Function:
- Defines your resolver's default domain and search list
- Syntax:
-
search
default-domain
next-domain-in-search-list
...last-domain- in-search-list
- Example:
-
search corp.hp.com pa.itc.hp.com hp.com
- Covered in:
nameserver
- Function:
- Tells your resolver to query a particular name server
- Syntax:
-
nameserver
IP-address
- Example:
-
nameserver 15.255.152.4
- Covered in:
; and # (4.9.3 and later versions)
- Function:
- Adds a comment to the resolver configuration file
- Syntax:
-
;
free-format-comment
or
#
free-format-comment
- Example:
-
# Added parent domain to search list for compatibility with 4.8.3
- Covered in:
sortlist (4.9.3 and later versions)
- Function:
- Specifies network numbers for your resolver to prefer
- Syntax:
-
sortlist
network-list
- Example:
-
sortlist 128.32.4.0/255.255.255.0 15.0.0.0
- Covered in:
options ndots (4.9.3 and later versions)
- Function:
- Specifies the number of dots an argument must have in it so that the resolver will look it up before applying the search list
- Syntax:
-
options ndots:
number-of-dots
- Example:
-
options ndots:1
- Covered in: