From owner-freebsd-questions@FreeBSD.ORG Wed Nov 2 22:05:56 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B1F4106566C for ; Wed, 2 Nov 2011 22:05:56 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0B8098FC08 for ; Wed, 2 Nov 2011 22:05:55 +0000 (UTC) Received: by wyg36 with SMTP id 36so855855wyg.13 for ; Wed, 02 Nov 2011 15:05:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.227.204.204 with SMTP id fn12mr7917219wbb.21.1320271554508; Wed, 02 Nov 2011 15:05:54 -0700 (PDT) Received: by 10.180.81.193 with HTTP; Wed, 2 Nov 2011 15:05:54 -0700 (PDT) In-Reply-To: References: Date: Wed, 2 Nov 2011 15:05:54 -0700 Message-ID: From: Michael Sierchio To: AN Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: DNS config help X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Nov 2011 22:05:56 -0000 It depends... some VPNs push routes, including default routes, and nameservers and search paths, but it's up to the client on how to handle it. Some of these will set /etc/resolv.conf, etc. What *kind* of VPN are you talking about? OpenVPN? PPTP? L2TP? I generally prefer dnscache to BIND, and the mechanism for selective resolution is straightforward. Some large companies, HP included, just publish internal (non-routable) addresses for hosts on their public servers, which solves the remote access DNS problem. - M On Wed, Nov 2, 2011 at 1:52 PM, AN wrote: > I have a question about how to configure DNS. =A0My local network is 10.x= , and > I sometimes need to connect to a remote VPN. =A0My question is how do I > configure BIND to forward queries to a different server only for a specif= ic > domain. > > When I am connected to the VPN, vpn.example.com, I want queries for anyth= ing > going to example.com =A0to go a specific DNS, and everything else on 10.x= to > go to my regular DNS. =A0Please let me know if I need to provide more inf= o. > =A0Thanks in advance for any help. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" >