M
M
mirus2014-09-19 16:08:08
Domain Name System
mirus, 2014-09-19 16:08:08

How to distribute your DNS server on different subnets?

Is there a debian server with bind9 on it
?
for example, a request came from
188.199.10.25 to give him a dns for Google 8.8.8.8
a request came from
190.23.11.23 for him to give another dns
and so on

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Petrikov, 2014-09-19
@miruss

the feature is called multiviews
Here is an example config

view "internal" { match-clients { 192.168.0.0/24; }; zone "evpatoria.com.ua" { type master; file "int/evpatoria.com.ua"; notify no; }; };
view "external" { match-clients { any; };
zone "evpatoria.com.ua" { type master; file "ext/evpatoria.com.ua"; notify yes; }; };

well, or google by the name of the feature.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question