Pages

Configure DNS Name Server IP Address in Linux

You need to edit /etc/resolv.conf file under Linux to set Name server IP address that the resolver should query. Up to 3 name server internet IP address can be defined. If there are multiple servers, the resolver library queries them in the order listed.

Ubuntu Linux Configure DNS Name resolution

Type the following command, enter:
$ sudo vi /etc/resolv.conf

Or use nano text editor:
$ sudo nano /etc/resolv.conf

Append your ISP name server IP address as follow:
nameserver

Save and close the file. Test your dns configuration by typing the following commands:
$ host yahoo.com
$ nslookup google.com
$ ping my-it-life.blogspot.com

No comments:

Post a Comment

You might also like:

  • Create A Super Hidden File Or Folder In Windows Vista Or In XP
    Create A Super Hidden File Or Folder In Windows Vista Or In XP

    You may have created normal hidden folders in…

  • Setup a Linux application to automatically startup when login
    Setup a Linux application to automatically startup when login

    Manual on openSUSE 11.2 Go to System >…

  • Showing hidden files by virus
    Showing hidden files by virus

    These are the straight forward solution for…

  • Print Spooler Error 1068: The dependency service or group failed to start.
    Print Spooler Error 1068: The dependency service or group failed to start.

    There are several solution for these problem,…

Popular Posts