LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 08-16-2002, 02:24 PM   #1
joeslazenger
LQ Newbie
 
Registered: Aug 2002
Location: South Carolina
Distribution: Red Hat 7.2, 8.0, Advanced Server 2.1
Posts: 17

Rep: Reputation: 0
Angry IP's work, but web addresses do not


If I go to, for example < http://linuxquestions.org > on my Linux box, I get page cannot be displayed. However, if I use the IP address, it comes up just fine.

I have two other Linux boxes and the other two will work fine with the http://name.org or whatever, but I don' t know what's different about this one.

Any ideas?

Thanks
Joe
 
Old 08-16-2002, 03:32 PM   #2
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
See if there's anything in /etc/resolv.conf

If not, you've got no nameservers...

Cheers,

Finegan
 
Old 08-16-2002, 06:58 PM   #3
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
I did have the same problem - my ISP fixed it.
How? I don't know - seems to be top secret.
 
Old 08-17-2002, 01:31 AM   #4
ryandelany
Member
 
Registered: Dec 2001
Location: Orange County, CA
Distribution: RedHat 7.2, 7.3, 8.0
Posts: 66

Rep: Reputation: 15
Joe,

Name -> IP resolution is handled by DNS. If you can't resolve anything by name, then you are either pointing to incorrect DNS servers, or to none at all.

As Finegan indicated, check the /etc/resolv.conf and see if there is anything listed in there.

How are you configuring your machine? Are you using DHCP to assign addresses, or did you manually configure it?

Ryan
 
Old 08-17-2002, 02:43 PM   #5
b_s
LQ Newbie
 
Registered: Aug 2002
Location: California
Distribution: Mandrake, SuSe 9.2
Posts: 25

Rep: Reputation: 15
Yes its definitely some kind DNS issue, who is your ISP? It depends on if they(your ISP) specify their dns servers or if they have them setup to be obtained each time(dynamic). Try pinging your gateway for your ISP, then try pinging a web page www.yahoo.com(accepts pings), and finally a web page IP address. Try that and post what you get for a response.
 
Old 08-17-2002, 05:11 PM   #6
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Rep: Reputation: 46
Yup, i had the same problem. Before anything else you may want to try to run kppp to dial up, since i found out kppp asks for a DNS server from your ISP upon conecting, puts it in /etc/resolv.conf and once it exits it also deletes entries from /etc/resolv.conf.
If that doesn't work check the end of your /var/log/messages, just after you conected to the internet. It should say a DNS server. Heres Mine:
Aug 17 22:36:49 SlackBox pppd[1690]: pppd 2.4.1 started by nskl, uid 1000
Aug 17 22:36:49 SlackBox pppd[1690]: Using interface ppp0
Aug 17 22:36:49 SlackBox pppd[1690]: Connect: ppp0 <--> /dev/modem
Aug 17 22:36:52 SlackBox pppd[1690]: local IP address 62.123.12.245
Aug 17 22:36:52 SlackBox pppd[1690]: remote IP address 213.234.131.7
Aug 17 22:36:52 SlackBox pppd[1690]: primary DNS address 151.88.110.37
Aug 17 22:36:52 SlackBox pppd[1690]: secondary DNS address 151.92.2.35
See the DNS Lines? Just put those IPs in /etc/resolv.conf
Heres, mine, for ISP in italy (Ciaoweb.it) so i dont know if they will work for you:

search ciaoweb.it
nameserver 151.88.110.37
nameserver 151.92.2.35

Well hope i helped some.

-NSKL
 
Old 08-19-2002, 10:24 AM   #7
joeslazenger
LQ Newbie
 
Registered: Aug 2002
Location: South Carolina
Distribution: Red Hat 7.2, 8.0, Advanced Server 2.1
Posts: 17

Original Poster
Rep: Reputation: 0
You are correct, thanks.
There was nothing for /etc/resolv.conf

Thanks guys.
Joe
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Web Application to grab large files from web addresses farmerjoe Programming 3 10-16-2005 09:49 AM
ADSL web addresses not converted griv Linux - Networking 2 06-21-2005 03:31 PM
about the web addresses of device drivers. eshwar_ind Programming 2 02-10-2004 01:39 AM
Allowing only certain IP's to see my web site. bruce1271 Linux - General 5 01-22-2004 02:03 PM
IPchains- Blocking web addresses sihere Linux - Networking 4 10-23-2002 07:59 AM


All times are GMT -5. The time now is 01: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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration