DNS is key to many network services such as
- Internet browsing
- Mail server
- Web server
- Video streaming and more.
Almost all traffic on the Internets depends upon the DNS servers. Most ISP (Internet Service Provider) have their own caching dns server to reduce network load. But, how do you find out DNS server IP address? How do you find out current DNS server IP address? Under Linux, FreeBSD and all UNIX-like operating systems you have a file called /etc/resolv.conf file. It is often know as resolver configuration file.
Linux / UNIX / Apple OS X 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.
Command 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.confnameserver 18.104.22.168 nameserver 22.214.171.124
Where: Nameserver 126.96.36.199 : 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.
Public DNS Servers
You can use the following Google public DNS (IP Addresses) servers for XBOX 360 / Sony PS3 & PS2 / Nintendo Wii game consoles or any other purpose:
They are free to all, pretty fast too and works with all sort of computers and game consoles.