Полезная информация

DNS & BIND

DNS & BINDSearch this book
Previous: 10.9 A Nonrecursive Name ServerChapter 10
Advanced Features and Security
Next: 10.11 Securing Your Name Server
 

10.10 Avoiding a Bogus Name Server

In your term as name server administrator, you might find some remote name server that responds with bad information. You can attempt to find an administrator to fix the problem. Or, you can save yourself some grief and configure your name server to not ask questions of this server, which is possible with BIND 4.9 and later. Here is the conf file statement:

server 10.0.0.2 {
                bogus yes;
};

Or, on a BIND 4.9 server:

bogusns 10.0.0.2

Of course, you fill in the correct IP address.

If this is the only server for a zone, and you just told your name server to stop talking to that server, don't expect to be able to look up names in that zone. Hopefully, there are other servers for that zone that can provide good information.


Previous: 10.9 A Nonrecursive Name ServerDNS & BINDNext: 10.11 Securing Your Name Server
10.9 A Nonrecursive Name ServerBook Index10.11 Securing Your Name Server