The current search results for "debug dns" don't reveal a guide-line what to do, if you (as user/client) think there is something wrong with the host name resolution.
What steps can I do to narrow down the problem?
My particular case:
The tool host
can resolve the name:
root@mypc# host remotehost.internal-domain.local
remotehost.internal-domain.local has address 10.99.204.11
But the tool nslookup
can't:
root@mypc# nslookup host remotehost.internal-domain.local
nslookup: couldn't get address for 'remotehost.internal-domain.local': not found
I am confused.
Solution
In my case I changed this line in /etc/nsswitch.conf
:
hosts: files mdns4_minimal [NOTFOUND=return] dns
to this
hosts: files dns
Now the .local Domain gets resolved by DNS, not by avahi peer-to-peer stuff.