Configuring Cache Server with Bind
-
i'm starting to experiment the dns configuration uasing but i'm alrteady facing issue.
I have created two ubuntu VM and the first step was to create a simple BIND Cache only Server which should work out of the bleu just installing bind9 and configuring the DNS client pointing to the bind Server
I have installed bind9 to ubuntu2 VM and configured the DNS Client to 127.0.0.1 and i tested my dns server with dig experiencing errors which the most common checking the log is:
- named[3156]: REFUSED unexpected RCODE resolving './NS/IN': 192.36.148.17#53
for each root servers. Ths errors means that ther root servers refused to reply to the DNS queries?
Other errors is that
*- named[625]: validating lamer/DS: no valid signature found
- named[625]: no valid RRSIG resolving 'lamer/DS/IN': 198.97.190.53#53*
which i solved changing
dnssec-validation no on the /etc/bind/named.conf.options
which continues to work even if I put back dnssec-validation auto
Do you have any idea where these problems come from? i'm confused
-
Could this be a DNS processing issues, since DNS will check the HOSTS file of 127.0.0.1 first? Maybe it doesn't need to go any further than the hosts file for the localhost or local DNS cache for name resolution? just asking another question.
-
I have just discovered a strange behaviour. As soon i enable the vpn bind start to works.
Is it possibile that my provider block some bind traffic?
I tested also a laptop where bind works only if i use my smartphone as hotspot but stop to work if i connect to my Vodafone Router .
:anguished_face: -
@Giovanni-Baldi said in Configuring Cache Server with Bind:
I have just discovered a strange behaviour. As soon i enable the vpn bind start to works.
This seems to point the fact the VPN configuration may have changed your DNS setting to what was configured for your VPN, is it configured to your Bind caching server or something else?
Is it possibile that my provider block some bind traffic?
I tested also a laptop where bind works only if i use my smartphone as hotspot but stop to work if i connect to my Vodafone Router .
:anguished_face:This one also may point to the default DNS server of your hotspot rather than your Bind server.