DNS queries with 3 networks

Torinthiel torinthiel at data.pl
Fri Apr 8 07:56:51 UTC 2011



Dnia 2011-04-08 09:11 Flex Banana napisał(a):

>hello floks,
>
>i have a DNS server running bind-9.7.3 on a linux box, 3 differents 
networks connected to 3 ethernet cards:
>
>eth0:	192.168.1.1/24
>eth1:	172.16.1.1/24
>eth2:	10.140.27.1/24
>
>i would like to have the same DNS resolving the good address from the good 
network, example:
>
>from the 192.168.1.1/24 network:		host mydns.example.com = 192.168.1.10
>from the 172.16.1.1/24 network:		host mydns.example.com = 172.16.1.10
>from the 10.140.27.1/24 network:		host mydns.example.com = 10.140.27.10

The only way would be to create 3 different zone files, with those addresses,
 and 3 different views on this sever, each having a different zone file and 
configured for different networks
I don't have bind ARM on-hand, but there was a section on views.

Regards,
 Torinthiel


More information about the bind-users mailing list