Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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 127.0.0.1. 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

2 Answers 2

up vote 6 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:
    Address:         192.168.5.126
    Prefix:          24 (255.255.255.0)
    Gateway:         192.168.5.1

    DNS:             192.168.5.1
share|improve this answer

If your resolv.conf contains 127.0.0.1 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
2  
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

 
discard

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.