I run a local internal DNS in order to resolve internal hostnames. The DNS is also configured with the following forwarders for none local (internet) name resolution:
named.conf.options:
Code: Select all
options {
directory "/var/cache/bind";
// Added zone forwarders (google)
forwarders {
8.8.8.8;
8.8.4.4;
};
// Turn off dnssec validation. change from auto to no:
dnssec-validation no;
auth-nxdomain no; # conform to RFC1035
// listen-on-v6 { any; };
listen-on-v6 { none; };
};
Code: Select all
bind 15762 1 0 14:53 ? 00:00:01 /usr/sbin/named -4 -u bind
Code: Select all
Aug 8 14:54:36 astro named[15762]: error (connection refused) resolving 'www.seatme.yelp.com/A/IN': 192.43.172.30#53
Aug 8 14:54:37 astro named[15762]: success resolving 'www.yelp.de.cdn.cloudflare.net/A' (in 'net'?) after disabling EDNS
Aug 8 14:54:37 astro named[15762]: error (connection refused) resolving 'zh.yelp.com.hk/A/IN': 192.5.5.241#53
Aug 8 14:54:38 astro named[15762]: error (connection refused) resolving 'ms.yelp.my/A/IN': 192.203.230.10#53
Aug 8 14:54:39 astro named[15762]: error (connection refused) resolving 'ms.yelp.my/A/IN': 198.97.190.53#53
Aug 8 14:54:40 astro named[15762]: error (connection refused) resolving 'www.seatme.yelp.com/A/IN': 192.35.51.30#53
Aug 8 14:54:42 astro named[15762]: error (connection refused) resolving 'www.yelp-support.com/A/IN': 192.33.14.30#53
Aug 8 14:54:42 astro named[15762]: error (connection refused) resolving 'www.yelp-support.com/A/IN': 192.12.94.30#53
Aug 8 14:54:43 astro named[15762]: error (connection refused) resolving 'www.yelp-support.com/A/IN': 192.48.79.30#53
Aug 8 14:54:44 astro named[15762]: error (connection refused) resolving 'www.yelp.ca/A/IN': 8.8.8.8#53
Aug 8 14:54:46 astro named[15762]: success resolving './NS' (in '.'?) after reducing the advertised EDNS UDP packet size to 512 octets
Code: Select all
nslookup:
> redhat.com
Server: 192.168.0.3
Address: 192.168.0.3#53
Non-authoritative answer:
Name: redhat.com
Address: 209.132.183.105
> oracle.com
Server: 192.168.0.3
Address: 192.168.0.3#53
Non-authoritative answer:
Name: oracle.com
Address: 137.254.120.50
> google.com
Server: 192.168.0.3
Address: 192.168.0.3#53
Non-authoritative answer:
Name: google.com
Address: 216.58.198.174
Internal name resolution from the local zones is working fine. I have tried using different DNS forwarders, downloaded an up to date db.root and cleaned, reloaded and restarted bind but the problem is still present. Note, I am not using dnsmasq:
Code: Select all
/etc/NetworkManager.conf:
[main]
plugins=ifupdown,keyfile,ofono
# dns=dnsmasq
no-auto-default=00:01:C0:16:FB:DB,
[ifupdown]
managed=false
bind9 ( 1:9.9.5.dfsg-3ubuntu0.8 )
Linux Mint 17.1 (rebecca)
Linux astro 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:28:38 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Regards,
Martin.