Preventing resolv.conf from being recreated

Loumarven Payot lou.payot at gmail.com
Tue Jan 15 08:02:03 UTC 2013


that's what i also do when configuring /etc/resolv.conf (chattr +i
/etc/resolv.conf)


On Tue, Jan 15, 2013 at 3:33 PM, Bry8 Star <bry8star at yahoo.com> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> I wanted to use my own local DNSSEC supported, DNS-Server, so i added:
> nameserver 127.0.0.1
> but it was keep on overwritten with google-dns when rebooted :( and
> google-dns does not support DNSSEC completely and Google also keeps
> records of queries, a privacy issue.
>
> so this worked, in my case:
>
> chattr +i /etc/resolv.conf
>
> - -- Bright Star.
>
>
>
> Alex:
> > Hi,
> >
> >>> How is this file being recreated?
> >>>
> >>> # Generated by NetworkManager
> >>> search inside.mynetwork.com mynetwork.com
> >>> nameserver 68.XXX.YYY.44
> >>>
> >>> So frustrating.
> >>>
> >>
> >> Add
> >>
> >> PEERDNS=no
> >>
> >> into your ifcfg-XXXX   file in /etc/sysconfig/network-scripts
> >>
> >> I assume you already have DNS1=, DNS2= entries....
> >
> > Okay, I've added that, but I'm very surprised that would be necessary.
> > I don't recall ever having to include that. I've also included
> > NM_CONTROLLED=no and BOOTPROTO=static, yet it seems to get the search
> > and domain fields from dhcp, and possibly the nameserver.
> >
> > Thanks again,
> > Alex
> >
> -----BEGIN PGP SIGNATURE-----
>
> iF4EAREKAAYFAlD1BkAACgkQiDbboldsEOyBZAEA5D4MiQri6b3upS9D7YuhUSQk
> j7ySmaJaIwkAOq01xCwBAMFA4zOYJpTi03yf9yd8EN6bn9xMDGpevTLNToI8T0O4
> =iDbI
> -----END PGP SIGNATURE-----
> --
> users mailing list
> users at lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20130115/602a8a18/attachment.html>


More information about the users mailing list