named - Is It Possible to Forward Requests for One Domain to Another Server?
In my home network, I have named running to resolve machines on my LAN. It is also configured to forward requests to my ISP for all other queries. On another machine in my LAN, I used mpd to create a vpn connection to my work and set appropriate routes so that any machine on my LAN can access any machine at my work over the vpn (using mpd's nat function). This works when accessing via the IP address. Now I'm trying to get DNS resolution for machines at work. Is there some way I can tell named to request DNS info for my work domain from my work's DNS server available over the vpn? Does this make sense? Thanks, Drew ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: named - Is It Possible to Forward Requests for One Domain to Another Server?
On Tue, May 25, 2010 at 04:30:04PM -0700, Drew Tomlinson wrote: Hi Drew, In my home network, I have named running to resolve machines on my LAN. It is also configured to forward requests to my ISP for all other queries. On another machine in my LAN, I used mpd to create a vpn connection to my work and set appropriate routes so that any machine on my LAN can access any machine at my work over the vpn (using mpd's nat function). This works when accessing via the IP address. Now I'm trying to get DNS resolution for machines at work. Is there some way I can tell named to request DNS info for my work domain from my work's DNS server available over the vpn? Does this make sense? Yes, it makes sense. What you're looking for is a forward type zone in named.conf, like zone foobar.com { type forward; forward only; forwarders { ip_of_work_dns_server; }; }; I'm not sure if I got the syntax 100% right. Also consider that this might interfere with the setup of the VPN, if you're using DNS names in the configuration, as named will not be able to resolve hosts in foobar.com without being able to reach ip_of_work_dns_server. Regards Thomas -- * Freelance Linux BSD Systemengineer // IT Consultant * -=- Homepage: http://www.bsd-solutions-duesseldorf.de -=- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: named - Is It Possible to Forward Requests for One Domain to Another Server?
On 5/25/2010 4:58 PM, Thomas Keusch wrote: On Tue, May 25, 2010 at 04:30:04PM -0700, Drew Tomlinson wrote: Hi Drew, In my home network, I have named running to resolve machines on my LAN. It is also configured to forward requests to my ISP for all other queries. On another machine in my LAN, I used mpd to create a vpn connection to my work and set appropriate routes so that any machine on my LAN can access any machine at my work over the vpn (using mpd's nat function). This works when accessing via the IP address. Now I'm trying to get DNS resolution for machines at work. Is there some way I can tell named to request DNS info for my work domain from my work's DNS server available over the vpn? Does this make sense? Yes, it makes sense. What you're looking for is a forward type zone in named.conf, like zone foobar.com { type forward; forward only; forwarders { ip_of_work_dns_server; }; }; I'm not sure if I got the syntax 100% right. Also consider that this might interfere with the setup of the VPN, if you're using DNS names in the configuration, as named will not be able to resolve hosts in foobar.com without being able to reach ip_of_work_dns_server. Hi Thomas, Thank you for your reply. That was what I needed. Cheers, Drew ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org