Re: Preventing resolv.conf from being recreated

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----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@xxxxxxxxxxxxxxxxxxxxxxx
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


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux