LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-06-2009, 11:28 PM   #1
judgedeath2
LQ Newbie
 
Registered: Jun 2004
Distribution: Fedora 10/11, Mint 6, OpenSolaris
Posts: 11

Rep: Reputation: 0
Can't retrieve any external URLs from Fedora 12 host


I have probably the strangest problem I've ever seen in my years with linux. An offsite host running Fedora 12 can't download anything, at all. Not using wget, curl, nothing. Yum is broken (since it can't download anything from the repo's), and I only have ssh access to it, and do everything remotely, so obviously the network interface is working right.

I've rebooted it remotely twice to no avail.

Code:
[root@ks358 ~]# nslookup google.com
Server:         127.0.0.1
Address:        127.0.0.1#53

Non-authoritative answer:
Name:   google.com
Address: 74.125.53.100
Name:   google.com
Address: 74.125.67.100
Name:   google.com
Address: 74.125.45.100

[root@ks358 ~]# ping google.com
ping: unknown host google.com

[root@ks358 ~]# ping  74.125.67.100
PING 74.125.67.100 (74.125.67.100) 56(84) bytes of data.
64 bytes from 74.125.67.100: icmp_seq=1 ttl=55 time=94.7 ms
64 bytes from 74.125.67.100: icmp_seq=2 ttl=55 time=94.7 ms
64 bytes from 74.125.67.100: icmp_seq=3 ttl=55 time=94.8 ms
64 bytes from 74.125.67.100: icmp_seq=4 ttl=55 time=94.6 ms
64 bytes from 74.125.67.100: icmp_seq=5 ttl=55 time=94.7 ms
64 bytes from 74.125.67.100: icmp_seq=6 ttl=55 time=94.7 ms
64 bytes from 74.125.67.100: icmp_seq=7 ttl=55 time=94.9 ms
^C
--- 74.125.67.100 ping statistics ---
8 packets transmitted, 7 received, 12% packet loss, time 7098ms
rtt min/avg/max/mdev = 94.652/94.777/94.904/0.375 ms

[root@ks358 ~]# wget google.com
--2009-12-07 06:17:28--  http://google.com/
Resolving google.com... failed: Temporary failure in name resolution.
wget: unable to resolve host address "google.com"
I can't figure this one out for the life of me, any assistance is greatly appreciated!

Last edited by judgedeath2; 12-06-2009 at 11:32 PM.
 
Old 12-07-2009, 12:19 AM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

Your DNS name resolution is broken. Networking is fine ... your "nslookup" is apparently able to perform a DNS lookup (74.125.45.100 is indeed a correct address for google.com) ... but your DNS client lookup configuration (/etc/resolv.conf etc) is apparently having problems.

Troubleshoot your DNS client configuration. I'd start with "/etc/resolv.conf" (or whatever equivalent your Fedora 12 might use), end with connectivity to the DNS server(s) you've listed in resolv.conf (who knows - your ISP's DNS server might be going on and off line on you!), and carefully check everything in between.

Good luck .. PSM
 
1 members found this post helpful.
Old 12-07-2009, 09:09 AM   #3
judgedeath2
LQ Newbie
 
Registered: Jun 2004
Distribution: Fedora 10/11, Mint 6, OpenSolaris
Posts: 11

Original Poster
Rep: Reputation: 0
thanks paulsm4!

turns out when I upgraded it installed NetworkManager, which blew everything out of my resolv.conf.

added those new spiffy google public dns servs and everything's back to normal

Last edited by judgedeath2; 12-07-2009 at 09:10 AM.
 
Old 01-19-2010, 02:24 PM   #4
milindlokde
Member
 
Registered: Apr 2007
Location: Mumbai, India
Distribution: Fedora, ubuntu
Posts: 121

Rep: Reputation: 21
i am facing same problem in fedora12. i get connected to internet using wvdial but unable to access internet using any browser. kindly tell me the configuration as the file /etc/resolv.conf is empty. i have disabled the firewall.
 
Old 01-19-2010, 02:28 PM   #5
milindlokde
Member
 
Registered: Apr 2007
Location: Mumbai, India
Distribution: Fedora, ubuntu
Posts: 121

Rep: Reputation: 21
also am getting a lot of 'asterisks' in traceroute result though i have disabled firewall.
 
  


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
how to retrieve a disk having windows from fedora divya111 Linux - Newbie 1 10-15-2009 06:39 AM
Cannot retrieve data from external harddrive machorse70 Fedora 4 07-23-2009 03:35 PM
PHP script to retrieve records from MYSQL db and pass them to an external program Julianus Programming 3 08-03-2006 02:09 PM
how to check urls and stop internet urls in network gface Linux - Networking 5 03-24-2005 09:48 PM
DNS setup for 3 urls, one external statiic IP gjmwalsh Linux - Networking 1 07-25-2003 02:11 AM

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

All times are GMT -5. The time now is 04:37 PM.

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