E.5. BIND Resolver Statements
The following
statements are for the resolver configuration file,
/etc/resolv.conf.
E.5.1.
domain
- Function:
- Defines your resolver's local domain name
- Syntax:
domain domain-name
- Example:
domain corp.hp.com
Covered in
Chapter 6, "Configuring Hosts".
E.5.2.
search
- Function:
- Defines your resolver's local domain name and search list
- Syntax:
search local-domain-name next-domain-name-in-search-list
... last-domain-name-in-search-list
- Example:
search corp.hp.com pa.itc.hp.com hp.com
Covered in
Chapter 6, "Configuring Hosts".
E.5.3. nameserver
- Function:
- Tells your resolver to query a particular name server
- Syntax:
nameserver IP-address
- Example:
nameserver 15.255.152.4
Covered in
Chapter 6, "Configuring Hosts".
E.5.4. ; and # (4.9+)
- 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
Chapter 6, "Configuring Hosts".
E.5.5. sortlist (4.9+)
- Function:
- Specifies networks 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
Chapter 6, "Configuring Hosts".
E.5.6. options
ndots (4.9+)
- 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
Chapter 6, "Configuring Hosts".
E.5.7. options debug (4.9+)
- Function:
- Turns on debugging output in the resolver
- Syntax:
options debug
- Example:
options debug
Covered in
Chapter 6, "Configuring Hosts".
E.5.8. options no-check-names (8.2+)
- Function:
- Turns off name checking in the resolver
- Syntax:
options no-check-names
- Example:
options no-check-names
Covered in
Chapter 6, "Configuring Hosts".
E.5.9. options attempts (8.2+)
- Function:
- Specifies the number of times the resolver should query each name
server
- Syntax:
options attempts:number-of-attempts
- Example:
options attempts:2
Covered in
Chapter 6, "Configuring Hosts".
E.5.10. options timeout (8.2+)
- Function:
- Specifies the resolver's per-name server timeout
- Syntax:
options timeout:timeout-in-seconds
- Example:
options timeout:1
Covered in
Chapter 6, "Configuring Hosts".
E.5.11. options rotate (8.2+)
- Function:
- Rotates the order in which the resolver queries name servers
- Syntax:
options rotate
- Example:
options rotate
Covered in
Chapter 6, "Configuring Hosts".
| | |
E.4. BIND 9 Configuration File Statements | | Index |