
Code: Select all
dig google.comCode: Select all
BEFORE
dig google.com;dig +nocmd google.com any +multiline +noall +answer
; <<>> DiG 9.7.1 <<>> google.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 60328
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;google.com. IN A
;; ANSWER SECTION:
google.com. 93 IN A 72.14.253.104
;; Query time: 48 msec
;; SERVER: 200.204.0.10#53(200.204.0.10)
;; WHEN: Thu Nov 4 09:57:46 2010
;; MSG SIZE rcvd: 44
google.com. 90 IN A 72.14.253.104
google.com. 115147 IN NS ns1.google.com.
google.com. 115147 IN NS ns2.google.com.
google.com. 115147 IN NS ns4.google.com.
google.com. 115147 IN NS ns3.google.com.
google.com. 465 IN MX 300 google.com.s9b1.psmtp.com.
google.com. 465 IN MX 200 google.com.s9a2.psmtp.com.
google.com. 465 IN MX 400 google.com.s9b2.psmtp.com.
google.com. 465 IN MX 100 google.com.s9a1.psmtp.com.
AFTER
dig google.com;dig +nocmd google.com any +multiline +noall +answer
; <<>> DiG 9.7.1 <<>> google.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 50521
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;google.com. IN A
;; ANSWER SECTION:
google.com. 247 IN A 72.14.253.104
;; Query time: 64 msec
;; SERVER: 200.204.0.10#53(200.204.0.10)
;; WHEN: Thu Nov 4 14:43:48 2010
;; MSG SIZE rcvd: 44
google.com. 271 IN A 72.14.253.104
google.com. 95764 IN NS ns4.google.com.
google.com. 95764 IN NS ns1.google.com.
google.com. 95764 IN NS ns3.google.com.
google.com. 95764 IN NS ns2.google.com.
google.com. 579 IN MX 200 google.com.s9a2.psmtp.com.
google.com. 579 IN MX 100 google.com.s9a1.psmtp.com.
google.com. 579 IN MX 300 google.com.s9b1.psmtp.com.
google.com. 579 IN MX 400 google.com.s9b2.psmtp.com.


Very strange stuff. Would be interested in seeing the output of (replace eth0 with your interface if different):rainer wrote:I'm experiencing exactly the same problem in my home network. Google, and only Google, refuses to communicate after some hours, for all Linux machines in the network. Reboot, and only reboot, helps.
Code: Select all
ip addr show eth0Code: Select all
ifconfig eth0Code: Select all
cat /etc/resolv.confCode: Select all
grep 'dhcpcd' /var/log/daemon.log
Code: Select all
nameserver 8.8.8.8
nameserver 8.8.4.4Code: Select all
ip addr show eth0
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000
link/ether 00:90:f5:58:04:71 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.217/24 brd 192.168.1.255 scope global eth0
inet6 fe80::290:f5ff:fe58:471/64 scope link
valid_lft forever preferred_lft forever
Code: Select all
# Generated by resolvconf
nameserver 192.168.1.2
Code: Select all
augeatur rainer # dhclient
Internet Systems Consortium DHCP Client V3.1.2p1-Gentoo
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/wlan0/00:18:de:d1:25:00
Sending on LPF/wlan0/00:18:de:d1:25:00
Listening on LPF/eth0/00:90:f5:58:04:71
Sending on LPF/eth0/00:90:f5:58:04:71
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPOFFER from 192.168.1.2
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 192.168.1.2
bound to 192.168.1.217 -- renewal in 276539 seconds.
Code: Select all
config_eth0=( "192.168.1.2 netmask 255.255.255.0 brd 192.168.1.255" )
routes_eth0=( "default via 192.168.1.1" )
dns_servers_eth0=( "208.67.222.222" "208.67.220.220" )

Code: Select all
server=/www.google.com/X.X.X.X
At several accounts we use OpenDNS's filtering (you need to sign up to use this feature) to prevent some nastiness. But for some domains I override their redirects.rainer wrote:Thanks - I had no idea about OpenDNS 'hijacking!
Code: Select all
nameserver=127.0.0.1Code: Select all
nameserver=127.0.0.1
nameserver=8.8.8.8
nameserver=8.8.4.4Code: Select all
dns_servers_eth0=( "208.67.222.222" "208.67.220.220" )Code: Select all
prepend domain-name-servers 127.0.0.1;I think that's what I'm doing: The machines in the network use dhclient (most of them - some use dhcpcd, there is the odd Windows or Apple machine from time to time around), and they all get, via dhcp, 192.168.1.2 as their nameserver - which is the dnsmasq machine. dnsmasq is configured as a caching nameserver for the local net, as you suggest, but it needs to get the DNS info in the first place, that is what I used OpenDNS (now Google) for.Again I've never used dnsmasq before and I don't know your entire configuration, but I know I would want my server, as all of my other local systems, to resolve local DNS data from my local cache.