I have backuppc installed on my Debian server and I need to be able to resolve my Windows 7 machines on my home LAN by name. I have a machine called lanthanum, and if I ping it by name I get this:
PING lanthanum (126.96.36.199) 56(84) bytes of data.
64 bytes from hit-nxdomain.opendns.com (188.8.131.52): icmp_req=1 ttl=55 time=247 ms
Why is ping going out to the internet? Lanthanum's IP address is 10.0.0.57 and it should resolve to that but it's not. I can ping lanthanum fine from windows machines. I've added "wins" to /etc/nsswitch.conf on the "hosts:" line and rebooted, but it's still not working. I have a DNS server on my home network. Any ideas? I don't want to configure the hosts file.