<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div>I have a router running DNSMasq and that's tied in with the DHCP. As far as I can tell, this works ("ping", "dig" and "host" for "foo" and "foo.bar.local" all work).<br>
</div></div></div></div></div></div><br></div><div>Some thing's don't, e.g. "ssh" and "wget" both fail with "Unable to resolve host" for "foo.bar.local" ("foo" works fine).<br>
</div></div></div></div></div></div><br></div><div>I can fix that by changing "/etc/nsswitch.conf" from:<br></div>hosts:          files mdns4_minimal [NOTFOUND=return] <b>dns</b> mdns4<br><br>to:<br>hosts:          files <b>dns</b> mdns4_minimal [NOTFOUND=return] mdns4<br>
<br></div>Before I go and replicate this change on other machines, is this sensible to do? I don't expect people to actually use "foo.bar.local" but it'd be nice if it worked. I'm just thrown why Canonical ship a config that seems to bypass DNS and assume I must be missing something.<br>
</div><br></div>Cheers,<br><br></div>J.<br></div>