I have a problem what I can’t solve.
In the logfile at /var/log/syslog I everytime the same items.
Jan 30 15:09:08 host1 named: client 127.0.0.1#34378: query (cache) ‘./A/IN’ denied
Jan 30 15:09:08 host1 named: client 127.0.0.1#33994: query (cache) ‘./A/IN’ denied
Jan 30 15:09:09 host1 named: client 127.0.0.1#47578: query (cache) ‘mirror.hetzner.de/AAAA/IN’ denied
Jan 30 15:09:09 host1 named: client 127.0.0.1#36690: query (cache) ‘software.virtualmin.com/AAAA/IN’ denied
Jan 30 15:09:09 host1 named: client 127.0.0.1#49483: query (cache) ‘dl.google.com/AAAA/IN’ denied
Jan 30 15:09:09 host1 named: client 127.0.0.1#42253: query (cache) ‘mirror.hetzner.de/A/IN’ denied
Jan 30 15:09:09 host1 named: client 127.0.0.1#56270: query (cache) ‘dl.google.com/A/IN’ denied
Jan 30 15:09:09 host1 named: client 127.0.0.1#33804: query (cache) ‘software.virtualmin.com/A/IN’ denied
How I can solve these messages in the logfile?
So just to verify – are you experiencing a problem? Is that preventing you from performing DNS lookups?
For example, what output do you receive if you run this command:
If I run the command I get this output:
software.virtualmin.com has address 22.214.171.124
software.virtualmin.com mail is handled by 5 mail.software.virtualmin.com.
I hope this help to solve the problem.
That output appears to be correct – so DNS lookups do appear to be working.
That leads me back to the question I mentioned above – what problem are you experiencing?
Is something on your server not working properly?
Not what shows up in the logs, but instead, what symptoms are you experiencing?
Thanks for your reply!
I am not experiencing problems on the server but the log is full of this “denied” messages. and the list is so long you cannot browse trough it.
Also in the apache log I see everyday thousand of lines in the log. I wonder if all this log writing is not seriously delay the server?
It seems that BIND is refusing cached queries for your localhost. Can you please post the output of
cat /etc/bind/named.conf.options (please enclose all shell listings in
[code][/code] tags to preserve line breaks and monospace font).
Here’s some info about directives that configure query permissions in BIND: http://www.zytrax.com/books/dns/ch7/queries.html
“Thousands of lines” in the Apache log are quite normal for an average site. Each page impression can generate dozens of lines if a number of images is loaded etc. Considering each line is only like 100 bytes in size, any remotely modern hard drive should be able to handle millions of lines per day easily.
I am experiencing the same issue. If BIND is refusing cached queries, how is this resolved?