Unable to resolve hostnames.
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
However, if I do
curl: (6) Could not resolve host: [GOOGLE*]: No address associated with hostname
and then take the ip address ping pings and do
PING [GOOGLE*] (22.214.171.124) 56(84) bytes of data.
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.
*Since I'm a newbie here, I can't post urls; I'm just using [GOOGLE] as a substitute for Google's address.