Ubuntu 18.04 Server – how to check DNS IP server setting being used [closed]
I found the following showed my the DNS servers by adapter towards the end of the output: systemd-resolve –status It contains a list under ‘DNS Servers’ organized by Link. I think this has changed from previous versions with Ubuntu. It will take a little text parsing work but this gives me what I’m after.