Re: Switched to Static IP on my server and now can't find nameserver
I can't find anything exact on google right now, but try 'nameservers'.
I think in /etc/resolv.conf (which now you shouldn't edit manually) it was used 'nameserver' and different servers are in different lines, but in /etc/network/interfaces with an S at the end, and the different servers are separated by a space. Try:
nameservers 8.8.8.8
You can also drop the network and broadcast options, they are calculated automatically. But it doesn't matter if they stay there.
Darko.
-----------------------------------------------------------------------
Ubuntu 18.04 LTS 64bit
Bookmarks