On Tue, 2003-08-19 at 16:37, Rolf Pedersen wrote:
> Bryan Phinney wrote:
> > I am having problems getting SA to do the rbl checks.  It appears that my 
> > /etc/resolv.conf file keeps getting built with 127.0.0.1 as the first name 
> > server.  Other network utilities appear to be able to bypass this and try 
> > each nameserver before giving up but the Net::DNS perl module is not that 
> > smart.  It tries the first nameserver, gets a SERVFAIL from localhost and 
> > then gives up.
> > 
> > I have edited the offending file to move localhost back down but everytime I 
> > start the network, it rewrites resolv.conf and adds loopback as the first 
> > nameserver.
> > 
> > Does anyone know where this behavior is coming from and how I can remove it.  
> > I have checked several other boxes with Mandrake 9.1 and none of them appears 
> > to even be getting the loopback address in the resolv.conf file but I am not 
> > sure how it is happening on this one box so I don't know how to repair it.
> > 
> 
> Look also at /etc/ppp/resolv.conf and /etc/ppp/options.  I don't know if
> this relates but, when I installed djbdns, I wrote to these files,
> commenting usepeerdns in /etc/ppp/options.  That seemed to stop the
> overwriting of resolv.conf for me but not sure if it applies to your
> situation.  It seems one used to be able to write resolv.conf and have 
> it stick ;p
> 
> 

Dirty fix.... chmod /etc/resolv.conf to 444 (read only) and see what it
is that "complains" when it can't write to the file.  

James

> 
> 
> 
> ______________________________________________________________________
> Want to buy your Pack or Services from MandrakeSoft? 
> Go to http://www.mandrakestore.com


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to