View previous topic :: View next topic |
Author |
Message |
bastibasti Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 27 Nov 2006 Posts: 590
|
Posted: Fri Nov 02, 2012 8:16 pm Post subject: Handle multiple DNS in one network |
|
|
Hi,
here's my problem.
I have to routers in my network.
Default Router for Internet-Access (ROUTER A, DNS SERVER A, DOMAIN:homenet)
Seconary Router for VPN (ROUTER B, DNS SERVER B, DOMAIN_B)
Router A and DNS A are provided to the clients by dhcp.
Router B is then (for now testing) by 'route add' which works like a charm.
I can access the vpn and the internet no problems. VPN only by using the ip adresses
Now I try that my primary DNS (bind) handles also DOMAIN_B, but the problem is that I use "search homenet" in my resolv conf.
When I search for client1, it will be resolved as client1.homenet and bind will give me the adress
If I try to access vpnclient1 naturally the machine will lookup vpnclient1.homenet, instead of vpnclient1.DOMAIN_B
How can I make the DNS recognize which domain to search? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
b0nafide Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/10323128744b70864067717.jpg)
Joined: 17 Feb 2008 Posts: 171 Location: ~/
|
Posted: Fri Nov 02, 2012 9:59 pm Post subject: |
|
|
Hello,
Tell router A about DOMAIN_B using dhcp options?
dhcp-options wrote: | option domain-search domain-list; |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|