Help: DNS Resolver and Root Shell

Denys Vlasenko vda.linux at googlemail.com
Tue Oct 22 20:41:59 UTC 2013


On Tue, Oct 22, 2013 at 5:43 PM, Hui Li <openlinuxsource at gmail.com> wrote:
> Yes.
> 127.0.0.1       localhost
> And I will get following error by hostname:
> root at localhost:~# hostname -f
> hostname: localhost: Resolver internal error

Hmm, I don't know what
Run it under strace -s99, post the log.

> root at localhost:~# hostname
> localhost

At least this works :)

>> > /etc/resolv.conf:
>> > nameserver 8.8.8.8
>>
>> Is 8.8.8.8  a correct IP of your DNS server?
> 8.8.8.8 is Google's DNS server. I can ping it successfully.

What else isn't working for you apart from "hostname -f"?


More information about the busybox mailing list