<p dir="ltr"><br>
On Oct 26, 2014 8:49 AM, "Dotan Cohen" <<a href="mailto:dotancohen@gmail.com">dotancohen@gmail.com</a>> wrote:<br>
><br>
> On Sun, Oct 26, 2014 at 2:41 PM, Douglas Stanley<br>
> <<a href="mailto:douglas.m.stanley@gmail.com">douglas.m.stanley@gmail.com</a>> wrote:<br>
> > Don't forget to add the options:<br>
> ><br>
> > dns-nameservers<br>
> > dns-search<br>
> ><br>
> > Otherwise you may not be able to resolve DNS.<br>
> ><br>
> > Doug<br>
><br>
><br>
> Thank you! For some reason I seem to be using a loopback, but I don't<br>
> see where the configuration outside is handled:<br>
><br>
> $ cat /etc/resolv.conf<br>
> # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)<br>
> # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN<br>
> nameserver 127.0.1.1<br>
> search Home<br>
><br>
> $ dig <a href="http://gmail.com">gmail.com</a><br>
><br>
> ; <<>> DiG 9.9.5-3-Ubuntu <<>> <a href="http://gmail.com">gmail.com</a><br>
> ;; global options: +cmd<br>
> ;; Got answer:<br>
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 22197<br>
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0<br>
><br>
> ;; QUESTION SECTION:<br>
> ;<a href="http://gmail.com">gmail.com</a>. IN A<br>
><br>
> ;; ANSWER SECTION:<br>
> <a href="http://gmail.com">gmail.com</a>. 181 IN A 173.194.113.85<br>
> <a href="http://gmail.com">gmail.com</a>. 181 IN A 173.194.113.86<br>
><br>
> ;; Query time: 62 msec<br>
> ;; SERVER: 127.0.1.1#53(127.0.1.1)<br>
> ;; WHEN: Sun Oct 26 14:45:49 IST 2014<br>
> ;; MSG SIZE rcvd: 59<br>
><br>
><br>
> Perhaps I am running a DNS server locally? I don't remember doing that<br>
> but it is possible that I just forgot. I do see that I'm listening on<br>
> port 53:<br>
><br>
> $ netstat -ntulp | grep 53<br>
> tcp 0 0 <a href="http://127.0.1.1:53">127.0.1.1:53</a> 0.0.0.0:*<br>
> LISTEN -<br>
> udp 0 0 <a href="http://127.0.1.1:53">127.0.1.1:53</a> 0.0.0.0:*<br>
> -<br>
> udp 0 0 <a href="http://0.0.0.0:5353">0.0.0.0:5353</a> 0.0.0.0:*<br>
> -<br>
> udp6 0 0 :::5353 :::*<br>
> -<br>
><br>
><br>
><br>
> How should I go about diagnosing this? I would have assumed that my<br>
> DNS would point to the same address as the default gateway as the<br>
> router does do DNS.<br>
><br>
Yes, so the default uses a local DNS server and puts your upstream DNS server in the local DNS servers config. Does that make sense? I don't remember where you can find what actual DNS server you got from dhcp, but if you know the gateway does DNS resolving, just use that IP.</p>
<p dir="ltr">Doug</p>
<p dir="ltr">> --<br>
> Dotan Cohen<br>
><br>
> <a href="http://gibberish.co.il">http://gibberish.co.il</a><br>
> <a href="http://what-is-what.com">http://what-is-what.com</a><br>
</p>