Answers for "linux get dns servers"

C
2

see my dns server linux

grep "nameserver" /etc/resolv.conf
Posted by: Guest on April-23-2022
-2

check dns server in linux

systemd-resolve --status
Posted by: Guest on August-07-2021
0

how to access the dns serve linux

Run "resolvectl status" to see details about the uplink DNS servers
# currently in use
Posted by: Guest on August-04-2021

Code answers related to "C"

Browse Popular Code Answers by Language