Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Handle multiple DNS in one network
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
bastibasti
Guru
Guru


Joined: 27 Nov 2006
Posts: 590

PostPosted: Fri Nov 02, 2012 8:16 pm    Post subject: Handle multiple DNS in one network Reply with quote

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
View user's profile Send private message
b0nafide
Apprentice
Apprentice


Joined: 17 Feb 2008
Posts: 171
Location: ~/

PostPosted: Fri Nov 02, 2012 9:59 pm    Post subject: Reply with quote

Hello,

Tell router A about DOMAIN_B using dhcp options?

dhcp-options wrote:
option domain-search domain-list;
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
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