You are not logged in.
Hi!
First message on this forum, welcome to me
I'm having troubles resolving names when the adress is typed with the protocol prefix, for example:
lau@cigogne: ~ $ host http://www.google.com
Host http://www.google.com not found: 3(NXDOMAIN)
now, removing the http:// part gives:
host www.google.com
www.google.com is an alias for www.l.google.com.
www.l.google.com has address 74.125.43.103
www.l.google.com has address 74.125.43.104
www.l.google.com has address 74.125.43.105
www.l.google.com has address 74.125.43.106
www.l.google.com has address 74.125.43.147
www.l.google.com has address 74.125.43.99
This is pretty annoying when trying, for example, to use the makepkg utility. Also, the evolution mail client can't access pop/imap servers (name resolving failure) because of this.
Offline
btw, i'm currently using wicd to connect to my wifi router (which i think is properly configured).
Offline
Same results here, with the host comand - but I have no trouble with makepkg, or anything else. :?
Offline
ok now it's becoming really weird: i manage to ping the host:
lau@cigogne: ~ $ ping archlinux.mirror.kangaroot.netPING mirrorhost.kangaroot.net (62.213.203.174) 56(84) bytes of data.
64 bytes from mirrorhost.kangaroot.net (62.213.203.174): icmp_seq=1 ttl=52 time=52.3 ms
64 bytes from mirrorhost.kangaroot.net (62.213.203.174): icmp_seq=2 ttl=52 time=103 ms
^C
--- mirrorhost.kangaroot.net ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 52.362/77.688/103.015/25.328 ms
but can't ping it with the http:// prefix (which must be related with the name resolving issue):
lau@cigogne: ~ $ ping http://archlinux.mirror.kangaroot.net
ping: unknown host http://archlinux.mirror.kangaroot.net
and wget doesn't work either with or without the prefix:
lau@cigogne: ~ $ wget archlinux.mirror.kangaroot.net/iso/2009.08/archlinux-2009.08-netinstall-x86_64-isolinux.iso
--2009-12-12 23:33:45-- http://archlinux.mirror.kangaroot.net/i … olinux.iso
Resolving archlinux.mirror.kangaroot.net... failed: Temporary failure in name resolution.
wget: unable to resolve host address "archlinux.mirror.kangaroot.net"
lau@cigogne: ~ $ wget http://archlinux.mirror.kangaroot.net/i … olinux.iso
--2009-12-12 23:34:14-- http://archlinux.mirror.kangaroot.net/i … olinux.iso
Resolving archlinux.mirror.kangaroot.net... failed: Temporary failure in name resolution.
wget: unable to resolve host address "archlinux.mirror.kangaroot.net"
any idea?
Offline
@OP
DNS has no direct relation to HTTP. HTTP is a protocol that web clients/servers use to communicate. DNS only knows about host names. Prepending http:// to a hostname and then trying to do a DNS lookup on it will not work unless the DNS client is clever enough to drop it, such as a web browser.
Likewise Ping doesn't use HTTP either. This won't work either. Don't prepend hostnames with http:// when pinging them.
From the sound of it you have some sort of DNS issue. Check your resolv.conf file and check your nameserver settings.
Offline
Solved, the problem was that in my resolv.conf file, the ip adress of the dns server was set to a local ip: 192.168.1.1
i checked on my router configuration page, and changed the latter by the external ip adress.
thanks!
Offline