6
Contributors
10
Replies
37
Views
3 Years
Discussion Span
Last Post by CimmerianX
Featured Replies
  • Also, if you are using ubuntu 12 or better, dns entries are made in \etc\network\interfaces now. i.e. 'dns-nameservers 4.2.2.1 4.2.2.2' Read More

0

The file /etc/resolv.conf (no trailing 'e') is controlled by your network dns settings. If you change it manually, the changes will only be in effect until the next update or reboot, unless you change your network settings to block that. Sorry, but I don't remember right now what settings need to be changed, but I know I have done that some time in the deep, dark past.... :-) Remember, Google is your friend!

1

Also, if you are using ubuntu 12 or better, dns entries are made in \etc\network\interfaces now.
i.e.
'dns-nameservers 4.2.2.1 4.2.2.2'

0

Makhetha, please don't hijack another's thread. Please start your own and we will attempt to answer your question. That said, please provide more information, such as system to connect with, the device you are trying to connect, the operating system you are using, etc.

0

comment nm_controlled in network interface file and also add DNS enrt in network interface file

vi /etc/sysconfig/networking-script/ifcfg-eth?
DNS1= add IP
DNS2= add IP

NM_CONTROLLED=yes

Add this to all interface so while rebooting DNS IP will up
i think might be there is bug in redhat6

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.