Using dnsmasq, client machines succeed with dig, fail with nslookup

view full story

http://serverfault.com – I installed dnsmasq on a machine of mine (It's a Kubuntu 12.04 LTS), backed only by /etc/hosts (no connection to the Internet until later). I have the following /etc/hosts entry: mymachine Now, when I'm on the same machine as the dnsmasq - or any other machine on the server, I can dig mymachine and get, but if I try to nslookup mymachine, I get: >> connection timed out; no servers could be reached Tried also nslookup mymachine.mynicedomain.org - didn't work either. pinging fails. My nsswitch.conf has a DNS entry for hosts, although it's a bit weird: hosts (HowTos)