named[xxxxxx]: unexpected RCODE (REFUSED) resolving ‘xx.xx.xx.xx.in-addr.arpa/PTR/IN’: xxx.xxx.xxx.xxx#53
This is probably because you have a forwarder in your named.conf that refuse your requests. Simply look at the end of the previous line : “xxx.xxx.xxx.xxx#53” and search this address in your named configuration file – it should be located inside the forwarders :
Shell
1 | forwarders { xxx.xxx.xxx.xxx; }; |
You need to remove or comment this host to get rid of the error in log or allow your host to query this server if it belongs to you!
Tip : To make sure the remote DNS server you are trying to query is refusing your request, you can try to DIG a host like this replacing the domain and IP to meet your situation :