I’ve added static DNS entries to my RouterOS and when I nslookup on my laptop it resolves:
michael@mr-macbook:~$nslookup core.local
Server: 192.168.88.1
Address: 192.168.88.1#53
Non-authoritative answer:
Name: core.local
Address: 192.168.88.1
michael@mr-macbook:~$
But if I ping / traceroute / try to browse to “core.local” it does not resolve.
michael@mr-macbook:~$ping core.local
ping: cannot resolve core.local: Unknown host
michael@mr-macbook:~$
Does anyone know why this happens?
Just an update - I’ve been fiddling and it seems like the domain extension was giving the problem.
I’ve changed my static hosts to be xxx.i.nt and it is now working.
PING core.i.nt (192.168.88.1): 56 data bytes
64 bytes from 192.168.88.1: icmp_seq=0 ttl=64 time=47.027 ms
64 bytes from 192.168.88.1: icmp_seq=1 ttl=64 time=54.139 ms
Depending on what OS your are using but “local” and its sub-domains “*.local” may point to “127.0.0.1” inside your “hosts” file which has higher priority than asking from DNS server