Question: how to configure dns name server in ubuntu linux 18.04?
Answer: Install the resolvconf package. sudo apt install resolvconf.
Edit /etc/resolvconf/resolv.conf.d/head and add the following: # Make edits to /etc/resolvconf/resolv.conf.d/head. nameserver 8.8.4.4 nameserver 8.8.8.8.
Restart the resolvconf service. sudo service resolvconf restart.