Koozali.org: home of the SME Server

Internet down (DNS not resolving names)

Offline clnsupport

  • **
  • 23
  • +0/-0
Internet down (DNS not resolving names)
« on: May 28, 2008, 09:47:23 PM »
Internet down

For some strange reason the internet just stopped working on my SME 7.3 box.
If i plug my notebook directly on the router it works fine so I’m sure the internet connection is fine.
The server is set to server and gateway it was running for more than a year and i didn’t change anything.
The strange thing is that I can ping the ISPs’ DNS server but if I ping any website I get
-bash-3.00# ping www.google.com
ping: unknown host www.google.com

any ideas?

Offline mercyh

  • *
  • 824
  • +0/-0
    • http://mercyh.org
Re: Internet down (DNS not resolving names)
« Reply #1 on: May 28, 2008, 09:57:15 PM »
Your server does not use the ISP's DNS server unless you specifically put it in when you did the install.

Quote
If this server does not have access to the Internet, or you have special
requirements for DNS resolution, enter the DNS server IP address here.   

This field should be left blank unless you have a specific reason to   
configure another DNS server.                                           
 
You should not enter the address of your ISP's DNS servers here, as the
server is capable of resolving all Internet DNS names without this
additional configuration.
quote from configuration text.

Can you ping google's current IP address. I show it as 64.233.167.147 ??
« Last Edit: May 28, 2008, 10:06:21 PM by mercyh »

Offline mercyh

  • *
  • 824
  • +0/-0
    • http://mercyh.org
Re: Internet down (DNS not resolving names)
« Reply #2 on: May 28, 2008, 10:08:23 PM »
My guess is that this will suddenly resolve itself. As DNS can be a tricky bird sometimes getting out of sync.

Offline mmccarn

  • *
  • 2,657
  • +10/-0
Re: Internet down (DNS not resolving names)
« Reply #3 on: May 29, 2008, 01:59:02 AM »
I've seen this behavior when the root partition on my SME 7.x server fills up.  Check df -h and confirm that the file system mounted on "/" is not full.

Offline clnsupport

  • **
  • 23
  • +0/-0
Re: Internet down (DNS not resolving names)
« Reply #4 on: May 29, 2008, 08:12:23 AM »
-bash-3.00# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/main-root
                      365G  314G   33G  91% /
/dev/md1               99M   49M   46M  52% /boot
none                  501M     0  501M   0% /dev/shm

Offline mmccarn

  • *
  • 2,657
  • +10/-0
Re: Internet down (DNS not resolving names)
« Reply #5 on: May 29, 2008, 02:08:58 PM »
Well, it's clearly not a disk space issue.

You should take a look at /var/log/tinydns/current to see if the DNS server is telling you why it's not working.

You probably also want to open a bug in the bug tracker (don't think that you're claiming that SME has a bug, just think that you have a puzzle that a) the developers may be able to solve quickly, b) from which others might benefit, c) that could possibly be resolved through code changes or documentation)...