Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have just installed Ubuntu 12.04 on a dual-stack network (with managed IPv6 configuration). I would like to verify if the DNS resolver options received from DHCP and DHCPv6 servers are correct.

Normally, I would check /etc/resolv.conf, but on Ubuntu it contains only It would be a bit far-fetched to assume that Ubuntu is running a recursive DNS resolver by default, so I think the actual resolver settings are somewhere else.

Where would I check this?

share|improve this question
up vote 8 down vote accepted

you can use nm-tool, to check which DNS-server you are using right know.

just run nm-tool without any parameters. Here is the interesting part from the output:

IPv4 Settings:
    Prefix:          24 (

share|improve this answer

If your resolv.conf contains and your DNS resolving is working then you probably are running a local resolver or proxy...

DHCP related configuration can often be found in /etc/network/interfaces.

share|improve this answer
It's dnsmasq, but it does not recurse from root servers down, just forwards the query to the specified DNS resolvers. It is installed by default in 12.04. – Tibor Jul 24 '12 at 9:09

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.