Comment 41 for bug 37239

Revision history for this message
Gavin McCullagh (gmccullagh) wrote : Re: [Bug 37239] Re: VPN connection should alter /etc/resolv.conf

Hi,

On 04/10/2007, Jeff Sharpe <email address hidden> wrote:
>
> I haven't looked at the source (yet) but off the top of my head; option
> within the vpn gui to append or overwrite DNS, or just append the vpn
> DNS info (removing on disconnecting of vpn). It is currently
> overwriting now.

I don't think an append option is all that useful to be honest. If you have
two different dns servers (eg one for the real world and one for an internal
network) and ask whichever is first server it'll either give you an answer
or tell you the domain doesn't exist at which point it'll give up. You'd
need to run a proper dns server to have domain-specific lookup rules.

What I think is needed is to have an option to either modify DNS to follow
the VPN or not. Ideally, if the VPN doesn't give any DNS servers, the old
ones should be automatically preserved.

Gavin