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:1F
0: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