You are not logged in.
I did a fresh install today, and spent several hours trying to figure out why dns wasn't working.
It turned out that it was just that ping was broken. No other programs seems to have any trouble resolving host names.
# ping google.com
ping: unknown host google.com
# ping localhost
ping: unknown host localhost
# ping 127.0.0.1
(replies)
On the other hand, if i log in as a user, everything works perfectly. It seems to be just the ping utility when I am logged in as root.
What can be the cause of this?
I've copied /etc/hosts and /etc/nsswitch.conf from another arch machine where everything is working.
EDIT: I'm using dhcpcd, btw.
Last edited by bobbaluba (2013-08-06 03:38:48)
Offline
I have the same problem (after the last update). As user also has stopped working.
If your network uses the domain, try ping with domain suffix (etc. ping machinename.domainname).
I temporally added to the "/etc/resolvconf.conf" and after run "resolvconf -u"
search_domains=my_domain_name.local
PS: I'll wait for the normal solution of the problem.
Offline