Debian Stretch won't resolve hostname, but IP works
I have configured Stretch networking for eth0 (it picked ens3), after setting:
so now I have:
which works, so:
And I can ping google nameservers like:
But not google itself, or any other domain. My hosts file looks like:
My resolv.conf looks like:
but I can ping my gateway so the default route seems okay:
my /etc/nsswitch.conf says:
What is missing? Should I be doing something else in Stretch?
评论
?
参与讨论