I edited the yaml file in /etc/netplan to include the name servers. It applied without error. However when I do nslookup > server I get the loop back (127.0.0.1) I need it to be my DNS servers as this is joined to the domain. I had also changed the link of the /etc/resolv.conf but when I reboot it, it goes back to the old settings. Some help would be greatly appreciated.