[Ilugc] Ubuntu 12.04LTS desktop DNS

  • From: mohan.tux@xxxxxxxxx (Mohan Sundaram)
  • Date: Sat, 16 Jun 2012 17:36:29 +0530

On Sat, Jun 16, 2012 at 5:11 PM, Balasubramaniam Natarajan <
bala150985 at gmail.com> wrote:

Hi Mohan,

This is right now not giving precedence or resolving hosts from my
/etc/hosts file. Looking up output of ps shows dnsmasq has been started
with the --no-hosts switch (did not seem like that was the defaults when
I
read up docs on the net on Pangolin).

Then what is the user of a hosts file ?

if you added the line "8.8.8.8 abc"

and attempt to ping abc is it not working ? :-0


Does not resolve/ping a host given in /etc/hosts file.

I know the problem is due to the --no-hosts switch in dnsmasq start up. It
seems like NM is starting a dnsmas instance with a dynamically generated
config file or switches from some NM config file. Unable to figure out
where it picks it up from.

Online docs have not been of much use either. Most of them talk of
installing explicitly spawned dnsmasq or pre-12.04 type resolution by
disabling dnsmasq in /etc/NetworkManager/NetworkManager.conf.

- Mohan Sundaram

Other related posts: