Thursday, November 1, 2018

Checking you DNS servers for ubuntu

At command prompt...

1. determine your network interface name...

    lshw -C network

    find interfacename in that output

2. get the list of DNS servers to use in order...

    nmcli device show [interfacename] | grep IP4.DNS

done!

If anything weird shows up use a whois service on the web to find who is providing DNS lookup...

    nslookup [ipaddress]

No comments:

Post a Comment

Comments welcome!