Linux / UNIX Find Out Dns Server Addresses
The resolver is a set of routines in the C library that provide access to the Internet Domain Name System (DNS). The resolver configuration file contains information that is read by the resolver routines the first time they are invoked by a process.
Commend to find out your dns servers ip address under Linux/BSD/Unixish system
To see your DNS server address type following command as shell prompt:
$ cat /etc/resolv.conf
$ less /etc/resolv.conf
nameserver 184.108.40.206 nameserver 220.127.116.11
- nameserver 18.104.22.168 : It is Name server IP address (in dot notation) of a name server that the resolver should query. All your application will use this IP address for DNS purpose.