> Put a line into /etc/dhcp/dhclient.conf like so:
>
>     prepend domain-name-servers 192.168.122.1;

The following doesn't address the main issue but does seem to me to be
worth mentioning.

Since the introduction of resolvconf in Ubuntu 12.04 it is more
advisable to configure nameserver addresses via the network
configuration tool, i.e., either ifup or NetworkManager.

If you are using ifup then you add extra nameserver addresses to logical
interface definitions in /etc/network/interfaces as arguments to the
"dns-nameservers" option.

If you are using NetworkManager (as you seem to be doing, given that you
are editing NetworkManager.conf) then add nameserver addresses in Edit
Connections | <connection> | Edit... | IPv4 Settings | Additional DNS
servers; if necessary, remove DHCP-acquired nameserver addresses by
setting Method to "Automatic (DHCP) addresses only".

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dnsmasq in Ubuntu.
https://bugs.launchpad.net/bugs/1163147

Title:
  can't resolve lan hosts (regression)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1163147/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to