No .1:
cat /etc/resolv.conf
No. 2:
nmcli dev show | grep 'IP4.DNS'
No. 3:
resolvectl status
Honestly, I have not completely figured out why there are three ways to do it and when to use each. This is certainly a gap in my Linux networking knowledge at this stage. Certainly, I’ll come back with more posts to clear things up.
Leave a Reply