How do I add a DNS server via resolv.conf in Ubuntu

If you really want to add more entries to /etc/resolv.conf, create a /etc/resolvconf/resolv.conf.d/tail and add them there.

root@speedy:/etc/resolvconf/resolv.conf.d# cat tail
domain csuohio.edu.
search csuohio.edu.
nameserver 8.8.8.8

 

Permanent link to this article: https://daherlabs.mywire.org/wordpress/?p=137

Leave a Reply

Your email address will not be published.