Unable to resolve hostnames.
Hello, all,
I've been working on setting up Arch on my laptop recently, and I can get connected to my network using netcfg profiles without too much issue, and net-auto-wireless usually works, however, once connected:
I can ping just fine, and pacman (and even the rankmirrors script) work without hassel, however, when using curl, wget, or any other tool other than those, hostnames are not resolved. If I do something like
I get a Code:
curl: (6) Could not resolve host: [GOOGLE*]: No address associated with hostname
However, if I do Code:
ping [GOOGLE*]
PING [GOOGLE*] (173.194.73.99) 56(84) bytes of data.
and then take the ip address ping pings and do Code:
curl 173.194.73.105
things work just fine. The same holds true for wget and other things that connect to the internet.
I am unsure of why ping and pacman would work fine, but other programs like curl and wget would fail to resolve hostnames, and any help would be greatly appreciated.
Thanks.
*Since I'm a newbie here, I can't post urls; I'm just using [GOOGLE] as a substitute for Google's address.