Reply
Thread Tools
burnte's Avatar
Posts: 29 | Thanked: 7 times | Joined on Jul 2008 @ Atlanta, GA
#1
My N810 is getting IP info via dhcp, and so it should be getting DNS info via DHCP too. My DDWRT based router is running DNSmasq so that local machines hostnames also lookup successfully in addition to hosts via The Tubes. Works great... except on my 810. I can browse all the internets (even the ones with rumors), but local lan hostnames fail. So, I'd like to see what DNS servers the 810 is using. I've got root and all those goodies, so I'm comfortable with xterm, etc. Hints?
 
Posts: 4 | Thanked: 5 times | Joined on Jan 2008
#2
A couple of ways to see your dns configuration:

1) via GUI: Settings->Connection Manager->(select drop down menu)->Internet connection->IP address
2) via shell: cat /tmp/resolv.conf.wlan0

Note, that the "normal" /etc/resolv.conf just points to a local resolver (dnsmasq) on the IT, but may be overridden if desired.
 
brontide's Avatar
Posts: 868 | Thanked: 474 times | Joined on Oct 2007 @ Capital District, NY, USA
#3
You may also want to read up on dnsmasq since I think the behavior you are seeing is intentional. Here is just one snippit from /etc/dnsmasq.conf

Code:
# The following two options make you a better netizen, since they
# tell dnsmasq to filter out queries which the public DNS cannot
# answer, and which load the servers (especially the root servers)
# uneccessarily. If you have a dial-on-demand link they also stop
# these requests from bringing up the link uneccessarily.

# Never forward plain names (without a dot or domain part)
domain-needed
# Never forward addresses in the non-routed address spaces.
bogus-priv
I have gotten around most of this by using avahi so I can address all my systems by name on any link-local connection.
 

The Following 2 Users Say Thank You to brontide For This Useful Post:
burnte's Avatar
Posts: 29 | Thanked: 7 times | Joined on Jul 2008 @ Atlanta, GA
#4
yep, it was domain-needed. I just commented that out and everything was peachy. Thanks!
 
Reply


 
Forum Jump


All times are GMT. The time now is 00:43.