BIND: Stop Recursion DNS Under Linux / UNIX

by Vivek Gite on August 26, 2008 · 1 comment

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

Featured Articles:

Share this with other sys admins!
Facebook it - Tweet it - Print it -

{ 1 comment… read it below or add one }

1 Nilesh August 26, 2008

Hey this was a simple one…

Reply

Leave a Comment

You can use these HTML tags and attributes for your code and commands: <strong> <em> <ol> <li> <u> <ul> <blockquote> <pre> <a href="" title="">
What is 8 + 8 ?
Please leave these two fields as-is:
Solve the simple math so we know that you are a human and not a bot.




Previous post:

Next post: