Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-16-2002, 02:24 PM   #1
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 < > 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 or whatever, but I don' t know what's different about this one.

Any ideas?

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

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

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


Old 08-16-2002, 06:58 PM   #3
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
Registered: Dec 2001
Location: Orange County, CA
Distribution: RedHat 7.2, 7.3, 8.0
Posts: 66

Rep: Reputation: 15

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?

Old 08-17-2002, 02:43 PM   #5
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 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
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
Aug 17 22:36:52 SlackBox pppd[1690]: remote IP address
Aug 17 22:36:52 SlackBox pppd[1690]: primary DNS address
Aug 17 22:36:52 SlackBox pppd[1690]: secondary DNS address
See the DNS Lines? Just put those IPs in /etc/resolv.conf
Heres, mine, for ISP in italy ( so i dont know if they will work for you:


Well hope i helped some.

Old 08-19-2002, 10:24 AM   #7
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.


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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:50 AM.

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