This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [PATCH] Custom resolv.conf
> I actually have a better reason why one might want to have a
> custom resolv.conf, consider a laptop setup. You could then just
> set the envvar to whatever network you are currently using
> instead of moving resolv.conf files around or whatever sick
> scheme one might wish to use.
This only means the handling of this file in your system leaves a
lot to wish for. The file should be rewritten/updated
automatically when you connect to a different network.
Sure, but with a envar for resolv.conf you would just need to change
that instead of "updating/rewritting" resolv.conf (assuming we have
static nameservers etc).
Also, one might as a user (no idea if that is or should be possible)
to use a different nameserver then the one that is systemwide. For
whatever reason.
But anyway, I don't care much about this. I haven't had the need to
do anything similar, ever.
Cheers.