Re: DNS config help

2011-11-03 Thread Matthew Seaman
On 02/11/2011 20:52, AN wrote: I have a question about how to configure DNS. My local network is 10.x, and I sometimes need to connect to a remote VPN. My question is how do I configure BIND to forward queries to a different server only for a specific domain. This sounds like a job for a

Re: DNS config help

2011-11-03 Thread Damien Fleuriot
On 11/3/11 8:51 AM, Matthew Seaman wrote: On 02/11/2011 20:52, AN wrote: I have a question about how to configure DNS. My local network is 10.x, and I sometimes need to connect to a remote VPN. My question is how do I configure BIND to forward queries to a different server only for a

Re: DNS config help

2011-11-03 Thread Matthew Seaman
On 03/11/2011 10:00, Damien Fleuriot wrote: You can simply create a forward zone. Actually, yes, that's a good idea too. Should have much the same effect and it's been available in BIND approximately forever. There's difference in the niggling details of how it all works, so worth

Re: DNS config help

2011-11-03 Thread Damien Fleuriot
On 11/3/11 11:35 AM, Matthew Seaman wrote: On 03/11/2011 10:00, Damien Fleuriot wrote: Actually, using a view that matches only the VPN's IP range would do the trick easily and efficiently. Views are a way of giving a different answer depending on who is asking the question -- how does

DNS config help

2011-11-02 Thread AN
I have a question about how to configure DNS. My local network is 10.x, and I sometimes need to connect to a remote VPN. My question is how do I configure BIND to forward queries to a different server only for a specific domain. When I am connected to the VPN, vpn.example.com, I want

Re: DNS config help

2011-11-02 Thread Michael Sierchio
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,