≡ Menu


How To: Make Sure /etc/resolv.conf Never Get Updated By DHCP Client

I'm using GNU/Linux with the Internet Systems Consortium DHCP Client. The dhclient, provides a means for configuring one or more network interfaces using the Dynamic Host Configuration Protocol. It also updates my /etc/resolv.conf file each time my laptop connects to different network. I would like to keep my existing nameservers. How do I skip /etc/resolv.conf update on a Linux based system?
[click to continue…]

Ubuntu Linux Configure DNS Name Server IP Address ( DNS Client )

Q. How do I change existing name server IP address? How do I configure DNS name server IP address under Ubuntu Linux / Debian Linux? How do I configure DNS name resolution under Ubuntu Linux?
[click to continue…]

Edit DNS Configuration Files

Q. How do I edit dns configuration file to add my ISPs nameservers?
[click to continue…]

How to Set Up DNS Lookup in Linux

Q. How do I setup DNS Lookup under any Linux distribution ?
[click to continue…]

Q. I'm getting following error on my Debian Linux system:

mv cannot move /etc/resolv.conf.dhclient-new to /etc/resolv.conf: Operation not permitted

How do I fix this problem?
[click to continue…]

Linux / UNIX set the DNS from the command line

Q. I just got Linux installed on my system. I'm able to connect to internet via IP address only. I'm not able to find out information about setting up new DNS sever ip under Linux. How do I configure primary and secondary DNS via terminal / shell prompt?

A. Under Linux / UNIX / BSD operating system, you need to edit the /etc/resolv.conf file and add the line:

[click to continue…]

I'm using CentOS Linux server version 5.x/6.x+. How do I configure a system so that the DNS resolver will append search path extensions to hostnames that have dots in them? For example, my domain name is test.com. when I query for mail hostname it should append .test.com and return the IP address of mail.test.com hostname.
[click to continue…]

HowTo Red Hat Enterprise Linux 5 Configure The Network Card

I have installed Red Hat enterprise Linux version 5.x server. Next, I added a brand new LAN card (NIC). I can see my second network card detected while booting the IBM server. How do I configure the network card from the command line?
[click to continue…]