I thought there is a 1:n
connection between IP and hostnames
. However what I get is this
[me@neo ~]$ nslookup dozer
Server: 192.168.178.1
Address: 192.168.178.1#53
Name: dozer.fritz.box
Address: 192.168.178.81
Name: dozer.fritz.box
Address: 192.168.178.32
And here with getent
[me@neo ~]$ getent hosts dozer
192.168.178.81 dozer.fritz.box
192.168.178.32 dozer.fritz.box
That seems to be ok, however ping is not continuing with the correct IP
[me@neo]$ ping dozer
PING dozer (192.168.178.81) 56(84) bytes of data.
From neo.fritz.box (192.168.178.102) icmp_seq=1 Destination Host Unreachable
From neo.fritz.box (192.168.178.102) icmp_seq=2 Destination Host Unreachable
From neo.fritz.box (192.168.178.102) icmp_seq=3 Destination Host Unreachable
From neo.fritz.box (192.168.178.102) icmp_seq=4 Destination Host Unreachable
From neo.fritz.box (192.168.178.102) icmp_seq=5 Destination Host Unreachable
From neo.fritz.box (192.168.178.102) icmp_seq=6 Destination Host Unreachable
^C
--- dozer ping statistics ---
7 packets transmitted, 0 received, +6 errors, 100% packet loss, time 6220ms
pipe 4
UPDATE 1
I had a laptop (dozer
)connect, first through ETHERNET (.81
) then through WIFI (.32
). Finally disconnected ETHERNET (.81
).
For some reason my fritzbox (DNS) keeps the ETHERNET (.81
).
I can reboot my fritzbox (DNS) and hope its gone. However I am wondering if this is ok state and thus a client issue or server (fritzbox) mistake?
UPDATE 2
If this is a client issue - How do I convince ping to take the second DNS entry?
ping
should take just any working lookup. Instaedping
is sticking with the non-working lookup and does not continue to the next (at least in my case). I am wondering if there is some magic that needs to be enabled in my system.