I've set up a Debian 7 image on my ODROID U2 a few days ago and apparently I can only resolve DNS hostnames from a root login (su
, sudo
). From a normal user, I can ping IP addresses and names defined in /etc/hosts
just fine. When I ping a domain name, wget a file or clone a git repository it immediately gives the message 'unknown host' or 'Could not resolve host'.
The /etc/nsswitch.conf
is just the Debian default file and, as the title says, I can ping/install packages/download files just fine from the root account.
What can I do to solve this problem?