BIND: Stop Recursion DNS Under Linux / UNIX
Q. How do I stop recursion (recursive query) under BIND 9 DNS server?
A. A DNS query may be either a recursive query or a non-recursive query. If recursion is set to 'yes' (the default) the server will always provide recursive query behaviour if requested by the client (resolver). If set to 'no' the server will only provide iterative query behaviour. If the answer to the query already exists in the cache it will be returned irrespective of the value of this statement. This statement essentially controls caching behaviour in the server.
Open named.conf file and make sure following settings exists under Options { ... } settings:
recursion no;
Save and close the file. Reload named:
# service named restart
Capture each and every moment of life with a FREE 4 GB SD memory card with the purchase of select digital cameras from Canon, Nikon, Pentax and others from Amazon
E-mail
Print
Can't find an answer to your question? Contact us
Related Other Helpful FAQs:
- Configure BIND DNS Server to Listen Only On Certain IP Address or Network Interface
- How To Hide BIND DNS Sever Version
- Monit: Monitor BIND 9 (named) Name Server and Auto Restart SSH If It Does Not Respond
- How To Patch / Upgrade BIND 9.x Under FreeBSD Operating System
- Bind Postfix Mail Server To Localhost or Specific IP Address Only
Discussion on This FAQ
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!
Tags: /etc/init.d/named, bind 9, bind 9 dns, bind configuration, dns query, dns server, Linux, named.conf, recursive query, UNIX



August 26th, 2008 at 4:55 pm
Hey this was a simple one…