在Ubuntu 16.04下设置DNS和Search Domain

Tested on Ubuntu 16.04. Worked like a charm!

Edit this file
/etc/resolvconf/resolv.conf.d/base

Add

nameserver 8.8.8.8
search dev.rokid-inc.com

Save and exit.

Then regenerate resolv.conf by issuing the following command.

sudo resolvconf -u

Done.

你可能感兴趣的:(在Ubuntu 16.04下设置DNS和Search Domain)