LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-07-2009, 02:42 PM   #1
j66788
LQ Newbie
 
Registered: Oct 2009
Posts: 3

Rep: Reputation: 0
ping / nslookup / host not working


Hi,

On a vBulletin forum that I use, the email notifications have been broken for some weeks. The tech guy has gone awol, and so I've volunteered to have a look. I'm not experienced in server administration, but I'm trusted by the site owners as I've been an admin to the forum before.

Domain: britishchineseonline.com
IP: 66.111.36.90

ping google.com returns unknown host.
nslookup google.com returns can't find google.com: No answer.
host google.com has no output.

I'm thinking the problem must be related to this. Please help!

> more /etc/resolv.conf

domain britishchineseonline.com
nameserver 212.67.202.2
nameserver 92.51.159.40

Thanks in advance.

j.
 
Old 10-07-2009, 02:47 PM   #2
wfh
Member
 
Registered: Sep 2009
Location: Northern California
Distribution: Ubuntu Debian CentOS RHEL Suse
Posts: 164

Rep: Reputation: 44
What do you see when you type:

netstat -nr

See if your routing looks normal. You should see your gateway IP with a "UG" flag.
 
Old 10-07-2009, 02:50 PM   #3
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Welcome to LQ

The dns server doesn't respond
Quote:
repo@cannabis:~$ nslookup
> server 212.67.202.2
Default server: 212.67.202.2
Address: 212.67.202.2#53
> www.google.com
Server: 212.67.202.2
Address: 212.67.202.2#53
Non-authoritative answer:
*** Can't find www.google.com: No answer
> server 92.51.159.40
Default server: 92.51.159.40
Address: 92.51.159.40#53
> www.google.com
Server: 92.51.159.40
Address: 92.51.159.40#53
Non-authoritative answer:
*** Can't find www.google.com: No answer
> exit
repo@cannabis:~$
I would suggest to use open dns
208.67.222.222 and 208.67.220.220
see
https://www.opendns.com/start/

Last edited by repo; 10-07-2009 at 03:28 PM.
 
Old 10-07-2009, 03:25 PM   #4
j66788
LQ Newbie
 
Registered: Oct 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by wfh View Post
What do you see when you type:

netstat -nr

See if your routing looks normal. You should see your gateway IP with a "UG" flag.
Code:
> netstat -nr
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
66.111.36.0     0.0.0.0         255.255.255.0   U         0 0          0 eth0
0.0.0.0         66.111.36.1     0.0.0.0         UG        0 0          0 eth0
I think there's another site running on the box
Code:
> more /etc/hosts
127.0.0.1       localhost.localdomain   localhost       66-111-36-90
66.111.36.91    chinatown-online.co.uk chinatown-online.co.uk
66.111.36.90    britishchineseonline.co.uk britishchineseonline.co.uk
66.111.36.90    britishchineseonline.com britishchineseonline.com

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
 
Old 10-07-2009, 05:01 PM   #5
j66788
LQ Newbie
 
Registered: Oct 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by repo View Post
Welcome to LQ

The dns server doesn't respond


I would suggest to use open dns
208.67.222.222 and 208.67.220.220
see
https://www.opendns.com/start/
That fixes the problem. Thank you very much!
 
Old 10-07-2009, 05:52 PM   #6
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
Originally Posted by j66788 View Post
That fixes the problem. Thank you very much!
You can mark the thread solved if you want.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dig, host, nslookup? gsibble Arch 2 01-25-2015 03:36 AM
ping does not resolve name while nslookup does jmonatsys0 Linux - Networking 6 09-07-2010 03:00 PM
Inconsistent results using ping, dig, nslookup, whois, host steelaz Linux - Networking 3 04-05-2009 07:50 AM
nslookup works, ping doesn't coolnicklas Linux - Networking 5 04-16-2005 08:23 PM
(nslookup) vs (dig and host) emailssent Linux - Networking 7 10-06-2004 08:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration