9

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

view full story
linux-howto

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: 192.168.0.1 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 192.168.0.1, 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)