Sunday, March 29, 2020

How to Check What DNS Servers Currently Used In Ubuntu

I used to ask myself the same question on how to check what DNS servers are currently being used whether it is manually or dynamically (via DHCP) configured.

For manually configured DNS Server(s):

more /etc/resolv.conf

For manually or dynamically configured DNS Server(s) :

more /etc/resolv.conf

OR

systemd-resolve --status




No comments: