LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 01-12-2009, 03:36 PM   #1
rtuin
LQ Newbie
 
Registered: Jan 2009
Posts: 1

Rep: Reputation: 0
FC9 DNS issue; Can not YUM or WGET but but can ping and dig


Hi, I am stuck and unable to figure out what;s wrong on my system.

For some reason some command line commands are unable to resolve urls, whereas other commands work as they should. I have checked most setting but am unable to find out what is wrong and am no closer to figuring out what and why.

I will cat some command response below that might trigger someone to push me in the right direction solving this issue.

thanks in advance....


[root@subzero ~]# yum update
Loaded plugins: refresh-packagekit
http://dl.atrpms.net/f9-x86_64/atrpm...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: atrpms. Please verify its path and try again
[root@subzero ~]#

but I can DIG this URL:
[root@subzero ~]# dig http://dl.atrpms.net/f9-x86_64/atrpm...ata/repomd.xml

; <<>> DiG 9.5.0rc1 <<>> http://dl.atrpms.net/f9-x86_64/atrpm...ata/repomd.xml
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 7126
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;http://dl.atrpms.net/f9-x86_64/atrpm...ata/repomd.xml. IN A

;; AUTHORITY SECTION:
. 86400 IN SOA A.ROOT-SERVERS.NET. NSTLD.VERISIGN-GRS.COM. 2009011201 1800 900 604800 86400

;; Query time: 16 msec
;; SERVER: 62.45.46.46#53(62.45.46.46)
;; WHEN: Mon Jan 12 22:12:39 2009
;; MSG SIZE rcvd: 157


WGET:
[root@subzero ~]# wget ftp://mirrors.kernel.org/gnu/wget/wget-1.10.1.tar.gz
--2009-01-12 22:18:24-- ftp://mirrors.kernel.org/gnu/wget/wget-1.10.1.tar.gz
=> `wget-1.10.1.tar.gz'
Resolving mirrors.kernel.org... failed: Name or service not known.
wget: unable to resolve host address `mirrors.kernel.org'
[root@subzero ~]#

traceroute:
[root@subzero ~]# traceroute www.linuxquestions.org
www.linuxquestions.org: Name or service not known
Cannot handle "host" cmdline arg `www.linuxquestions.org' on position 1 (argc 1)
[root@subzero ~]#

traceroute:

[root@subzero ~]# traceroute www.linuxquestions.org
www.linuxquestions.org: Name or service not known
Cannot handle "host" cmdline arg `www.linuxquestions.org' on position 1 (argc 1)

dig linuxquestions

[root@subzero etc]# dig www.linuxquestions.org

; <<>> DiG 9.5.0rc1 <<>> www.linuxquestions.org
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 28513
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;www.linuxquestions.org. IN A

;; ANSWER SECTION:
www.linuxquestions.org. 1440 IN A 75.126.162.205

;; Query time: 17 msec
;; SERVER: 62.45.46.46#53(62.45.46.46)
;; WHEN: Mon Jan 12 22:30:35 2009
;; MSG SIZE rcvd: 56



[root@subzero ~]# ping www.traceroute.org
PING www.traceroute.org (134.222.121.254) 56(84) bytes of data.
64 bytes from traceroute.org (134.222.121.254): icmp_seq=1 ttl=246 time=15.3 ms
64 bytes from traceroute.org (134.222.121.254): icmp_seq=2 ttl=246 time=16.5 ms
^C
--- www.traceroute.org ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1681ms
rtt min/avg/max/mdev = 15.337/15.964/16.591/0.627 ms

[root@subzero ~]# getent ahostsv4 www.google.com74.125.77.99 STREAM ew-in-f99.google.com
74.125.77.99 DGRAM
74.125.77.99 RAW
74.125.77.147 STREAM
74.125.77.147 DGRAM
74.125.77.147 RAW
74.125.77.104 STREAM
74.125.77.104 DGRAM
74.125.77.104 RAW
74.125.77.103 STREAM
74.125.77.103 DGRAM
74.125.77.103 RAW
[root@subzero ~]#



[root@subzero ~]# netstat -rnKernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
[root@subzero ~]#

[root@subzero ~]# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:1F0:54:FF:06
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::21f:d0ff:fe54:ff06/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:49927787 errors:0 dropped:99671530261840 overruns:0 frame:0
TX packets:55426605 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:60092765683 (55.9 GiB) TX bytes:47544059864 (44.2 GiB)
Interrupt:18 Base address:0xa000


[root@subzero ~]# cat /etc/resolv.conf
# generated by NetworkManager, do not edit!

nameserver 62.45.46.46
nameserver 62.45.45.45

[root@subzero etc]# cat hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 subzero.home.lan subzero localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6

[root@subzero etc]# cat host.conf
order hosts,bind
multi on
 
  


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
Strange Ping Issue - Can't ping localhost but can ping others on LAN code_slinger Linux - Networking 15 03-30-2015 02:39 PM
dig OK, but can not ping Kocil Linux - Networking 11 03-29-2011 10:09 AM
dig command questions DNS emailssent Linux - Networking 3 09-22-2004 05:56 AM
dns question (dig maybe) lenlutz Linux - Networking 2 10-03-2003 07:26 AM
dig OK but can not ping Kocil Linux - Newbie 1 04-23-2003 02:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 12:31 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