1
my /etc/resolv.conf use 8.8.8.8 and all 3 dig below answers without a A reocrd
dig some_unregistred_adress.se
dig @8.8.8.8 some_unregistred_adress.se
dig @127.0.0.1 some_unregistred_adress.se
but if i ping some_unregistred_adress.se i end up pinging my server, thats not even at the same ISP as this computer, only connection i know is that this computers hostname is a subdomain of my server.
Where is ping and other softwhere geting the IP adresses from unregistered domains?
some relevant output:
puggan@rito ~ $ uname -a
Linux rito.work.puggan.se 2.6.38-gentoo-r6 #2 SMP Thu Jul 14 14:36:14 CEST 2011 i686 AMD Athlon(tm) II X2 245 Processor AuthenticAMD GNU/Linux
puggan@rito ~ $ dig @127.0.0.1 some_unregistred_adress.se
; <<>> DiG 9.7.3 <<>> @127.0.0.1 some_unregistred_adress.se
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 8080
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;some_unregistred_adress.se. IN A
;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Dec 2 15:51:31 2011
;; MSG SIZE rcvd: 44
puggan@rito ~ $ ping -c 1 some_unregistred_adress.se
PING puggan.se (83.248.176.173) 56(84) bytes of data.
64 bytes from c83-248-176-173.bredband.comhem.se (83.248.176.173): icmp_req=1 ttl=52 time=34.4 ms
--- puggan.se ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 34.406/34.406/34.406/0.000 ms
puggan@rito ~ $ egrep "^(#|$)" -v /etc/resolv.conf
nameserver 8.8.8.8
nameserver 130.244.127.162
nameserver 130.244.127.170
nameserver 192.168.1.32
Anything in
/etc/hosts
? – Matti Virkkunen – 2011-12-02T15:16:10.877nothing relevant: egrep "^(#|$)" -v /etc/hosts 127.0.0.1 localhost 127.0.0.1 guide.opendns.com ::1 localhost 83.191.245.100 maple-info.net 83.191.245.100 www.maple-info.net 83.254.38.187 mrzoom-egotripp – None – 2011-12-02T15:17:12.637
Marc B: yes, but dig should be catched to then, as opendns do, if i ran "dig @208.67.220.220 some_unregistred_adress.se" i get a false A record – None – 2011-12-02T15:18:53.370