Preventing a Name Server from Querying a Particular Remote Name Server

7.13.1 Problem

You want to keep a name server from querying a particular remote name server.

7.13.2 Solution

Add a server statement to the name server's named.conf file, specifying the remote name server's IP address, with a bogus substatement telling the name server not to query it. For example:

server 192.168.0.255 {
 bogus yes;
};

7.13.3 Discussion

This feature isn't used much on production name servers, perhaps because there aren't many remote name servers that are known to be under the influence of evil organizations bent on world domination, à la SMERSH or SPECTRE. But it can come in handy if you know that a particular name server is misbehaving.

If you do add a server statement to keep a name server from speaking to a remote name server, remember to check back periodically to see if the remote name server is still suffering from whatever dyspepsia is causing it to belch forth unpleasantness.

7.13.4 See Also

"Avoiding a Bogus Name Server" in Chapter 10 of DNS and BIND.

Getting Started

Zone Data

BIND Name Server Configuration

Electronic Mail

BIND Name Server Operations

Delegation and Registration

Security

Interoperability and Upgrading

Resolvers and Programming

Logging and Troubleshooting

IPv6



DNS & BIND Cookbook
DNS & BIND Cookbook
ISBN: 0596004109
EAN: 2147483647
Year: 2005
Pages: 220
Authors: Cricket Liu

Flylib.com © 2008-2020.
If you may any questions please contact us: flylib@qtcs.net