how to stop resolv.conf from being updated

John Straiton jsmailing at
Fri May 30 11:25:43 PDT 2003

You could always use chflags to make the file un-writeable... Tho' there
is probably a better solution

#chflags schg /etc/resolv.conf

John Straiton
jks at
Clickcom, Inc

> -----Original Message-----
> From: owner-freebsd-questions at 
> [mailto:owner-freebsd-questions at] On Behalf Of 
> Laszlo Vagner
> Sent: Friday, May 30, 2003 2:09 PM
> To: questions at
> Subject: how to stop resolv.conf from being updated
> I am using DHCP on a cable modem and my
> providers nameserver really sucks
> but changing my resolv.conf repairs
> the lookups for a little while then it gets
> set back to them upon bootup.
> how do i make it stay the way i set it.
> _______________________________________________
> freebsd-questions at mailing list 
>> bsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe at"

More information about the freebsd-questions mailing list