Linux tips: Find the DNS Nameservers (DHCP)
Linux tips: Find the DNS Nameservers (DHCP) If you're looking for the DNS servers (IP) for your ISP through your working (DHCP) internet connection: Step 1: # cat /var/lib/dhcp/dhclient.leases Step 2: (a) Look for your interface's name (e.g: eth0/eth1/wlan0) that's connected to internet (b) Look under: option domain-name-servers xxx.xxx.xxx.xxx, yyy.yyy.yyy.yyy (Tested working on Linux Mint 18.3).