macsat.com OpenWrt and ASUS WL Forum
November 21, 2008, 10:27:18 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?
Login with username, password and session length
News: Back to macsat.com
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: dns problem on reboot  (Read 447 times)
0 Members and 1 Guest are viewing this topic.
plewis
Newbie
*
Offline Offline

Posts: 4


View Profile
« on: June 16, 2008, 18:49:17 PM »

I have openwrt WR rc5 on a linksys wrtsl54gs usb router, and it has worked fine for a couple years now, but the last week or so, I have had a dns problem come up a few times.

The LAN computers are not able to load web pages, but the router config page comes up fine.  On the web interface I can see that the router has an external IP address, but each time I have had this problem it shows WAN DNS server as 127.0.0.1.   When I reset the connection type, and force it to pull an IP address from the wan again, it correctly assigns the WAN DNS servers, and the dns works again.

This morning when it happened, I checked the uptime of the router, and it showed 1:30.  Not sure why it rebooted this morning, so I checked /var/log/messages, and here's the best info I could find on the dns part of the reboot.

Dec 31 18:00:25 (none) user.info : debug, Sending discover...
Dec 31 18:00:25 (none) user.info : debug, Sending select for 73.64.198.72...
Dec 31 18:00:26 (none) user.info : info, Lease of 73.64.198.72 obtained, lease time 330553
Dec 31 18:00:26 (none) user.info : deleting routers
Dec 31 18:00:26 (none) user.info : route: SIOC[ADD|DEL]RT: No such process
Dec 31 18:00:26 (none) user.info : adding dns 68.87.68.162
Dec 31 18:00:26 (none) user.info : adding dns 68.87.74.162
Dec 31 18:00:26 (none) kern.info dnsmasq[648]: started, version 2.27 cachesize 150
Dec 31 18:00:26 (none) kern.info dnsmasq[648]: compile time options: IPv6 GNU-getopt RTNetlink ISC-leasefile no-DBus no-I18N
Dec 31 18:00:26 (none) kern.info dnsmasq[648]: DHCP, IP range 192.168.1.100 -- 192.168.1.150, lease time 12h
Dec 31 18:00:26 (none) kern.info dnsmasq[648]: using local addresses only for domain lan
Dec 31 18:00:27 (none) kern.info dnsmasq[648]: read /etc/hosts - 12 addresses
Dec 31 18:00:27 (none) kern.info dnsmasq[648]: read /etc/ethers - 10 addresses
Dec 31 18:00:27 (none) kern.info dnsmasq[648]: reading /etc/resolv.conf
Dec 31 18:00:27 (none) kern.warn dnsmasq[648]: ignoring nameserver 127.0.0.1 - local interface
Dec 31 18:00:27 (none) kern.info dnsmasq[648]: using local addresses only for domain lan

After seeing that "ignoring nameserver 127.0.0.1 - local interface" I checked /etc/resolv.conf:

root@OpenWrt:~# cat /etc/resolv.conf
search hsd1.tn.comcast.net.
nameserver 68.87.68.162
nameserver 68.87.74.162



What can I do to make sure the dns servers on wan are set properly on reboot, and what caused this change all of a sudden?

Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

English Steel 1.6 © Saxon North Technologies
Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.145 seconds with 24 queries.