Preventing resolv.conf from being recreated

Reindl Harald h.reindl at thelounge.net
Fri Jan 18 15:19:43 UTC 2013



Am 18.01.2013 16:16, schrieb Edik Landaveri:
> On Tue, Jan 15, 2013 at 01:11:29AM -0500, Alex wrote:
> 
> /etc/resolv.conf its a core networking file. How would your server
> comunicate with the rest of your local boxes or the net?

that was surely not the question

can you imagine that there are machines even with DHCP and
networkmanager which have a local DNS for whatever reason
and it is NOT helpful that you have to edit resolv.conf
after each time you connect to the nwetwork
_________________________

assuming you network card is eth0:

/etc/sysconfig/network-scripts/ifcfg-eth0:
PEERDNS=no

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20130118/1cf369f4/attachment-0001.sig>


More information about the users mailing list