1
This is intriguing. I would love to know what is going on.
On my DNS I have two definitions that fix the name and IP-address on a given MAC:
dhcp-host=08:02:8E:93:12:73,192.168.178.10,switch0
dhcp-host=08:02:8E:8E:D8:2C,192.168.178.11,switch1
Pinging them by IP-address works:
$ ping 192.168.178.10
PING 192.168.178.10 (192.168.178.10) 56(84) bytes of data.
64 bytes from 192.168.178.10: icmp_seq=1 ttl=64 time=3.12 ms
$ ping 192.168.178.11
PING 192.168.178.11 (192.168.178.11): 56 data bytes
64 bytes from 192.168.178.11: icmp_seq=0 ttl=64 time=3.743 ms
Pinging them by name doesn't work for one but does work for the other:
$ ping switch0
ping: switch0: No address associated with hostname
$ ping switch1
PING switch1.fritz.box (192.168.178.11): 56 data bytes
64 bytes from 192.168.178.11: icmp_seq=0 ttl=64 time=2.059 ms
The relevant part of the log from dnsmasq
isn't very revealing:
Dec 16 09:52:15 dnsmasq[352]: query[A] switch0.fritz.box from 192.168.178.15
Dec 16 09:52:15 dnsmasq[352]: cached switch0.fritz.box is NXDOMAIN
Dec 16 09:52:15 dnsmasq[352]: query[AAAA] switch0.fritz.box from 192.168.178.15
Dec 16 09:52:15 dnsmasq[352]: forwarded switch0.fritz.box to 149.112.112.112
Dec 16 09:52:15 dnsmasq[352]: reply switch0.fritz.box is NXDOMAIN
Dec 16 09:52:15 dnsmasq[352]: query[A] switch0 from 192.168.178.15
Dec 16 09:52:15 dnsmasq[352]: config switch0 is NODATA-IPv4
Dec 16 09:52:15 dnsmasq[352]: query[AAAA] switch0 from 192.168.178.15
Dec 16 09:52:15 dnsmasq[352]: config switch0 is NODATA-IPv6
Dec 16 09:52:18 dnsmasq[352]: query[A] switch1.fritz.box from 192.168.178.15
Dec 16 09:52:18 dnsmasq[352]: DHCP switch1.fritz.box is 192.168.178.11
Dec 16 09:52:18 dnsmasq[352]: query[AAAA] switch1.fritz.box from 192.168.178.15
Dec 16 09:52:18 dnsmasq[352]: forwarded switch1.fritz.box to 149.112.112.112
Dec 16 09:52:18 dnsmasq[352]: reply switch1.fritz.box is NODATA-IPv6
Dec 16 09:52:18 dnsmasq[352]: query[PTR] 11.178.168.192.in-addr.arpa from 192.168.178.15
Dec 16 09:52:18 dnsmasq[352]: DHCP 192.168.178.11 is switch1.fritz.box
What is
192.167.178.15
and149.112.112.112
? – Tero Kilkanen – 2017-12-16T10:21:56.227192.167.178.15
is the IP-address of a client doing the pinging.149.112.112.112
is the IP-address of an upstream (external) DNS-server. – Mausy5043 – 2017-12-16T11:09:57.877