Then change the line highlighted to:
sudo gedit /etc/dhcp/dhclient.conf
prepend domain-name-servers x.x.x.x, y.y.y.y;
Replace xx and yy with the primary and secondary DNS server addresses. Separate each address with a comma. Save the file and you’re done.
i COPY AND PASTE this from here for my own knowledge.