NetworkManager and DNS

George Toft george at georgetoft.com
Fri Mar 23 22:21:22 MST 2007


Try setting the immutable flag:
chattr +i /etc/resolv.conf

that'll fix it fer shure, yup :)

George Toft, CISSP, MSIS
623-203-1760




Patrick C wrote:
> For some dumb reason, NetworkManager doesn't support static IP 
> addresses, so it just wipes the resolv.conf when it starts up if you try 
> to have a static IP, which would just perpetuate the problem this guy is 
> happening.
> 
> On 3/21/07, *Eric Shubes* <plug at shubes.net <mailto:plug at shubes.net>> wrote:
> 
>     Daniel P. Stasinski wrote:
>      > There is an unfixed firmware bug in my DSL modem/router that
>     causes it
>      > to provide incorrect DNS servers when the DHCP lease is obtained.
>      >
>      > Before I started using NetworkManager, I could specify my own DNS
>      > servers in /etc/resolve.conf but NetworkManager rewrites it with the
>      > invalid server information provided by DHCP.  Is there some other
>      > place where I can specify my own DNS servers?
>      >
>      > Thanks,
>      >
>      > Daniel
>      >
> 
>     I presume you've tried to change the DSL modem/router's configuration.
> 
>     I think you'll need to configure your network interface as static.
>     Either
>     that or get a new DSL modem/router.
> 
>     --
>     -Eric 'shubes'
>     ---------------------------------------------------
>     PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
>     <mailto:PLUG-discuss at lists.plug.phoenix.az.us>
>     To subscribe, unsubscribe, or to change  you mail settings:
>     http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> 
> 
> 
> ------------------------------------------------------------------------
> 
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change  you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


More information about the PLUG-discuss mailing list