I just installed bind on my qmail server with the goal of avoiding DNS queries for domains that the server already ask a few seconds/minutes ago, as caching server. So now, resolv.conf has 127.0.0.1 as nameserver, and after a while the new local-bind is answering almost every query.
However, I can see (using tcpdump) that the server is still asking for a lot of domain to my primary and secondary DNS servers (Using forward), and just realized this:
DNS query : MX? hotmeil.com
DNS answer: ServFail
Well, as you can see I'm receiving a NXDOMAIN
(ServFail)
The question, is it possible to tell my local-DNS to not retry for NXDOMAIN received?, at least remember the fail for a while, and thus avoiding all these useless queries?
Thanks guys!.
NOERROR
response, notNXDOMAIN
.