mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-04 17:24:47 -04:00
41 lines
533 B
Text
41 lines
533 B
Text
options {
|
|
query-source address 10.53.0.2;
|
|
port 5300;
|
|
pid-file "named.pid";
|
|
listen-on { 10.53.0.2;
|
|
10.53.0.4; };
|
|
listen-on-v6 {none;};
|
|
recursion no;
|
|
notify yes;
|
|
};
|
|
|
|
view "internal" {
|
|
match-clients { 10.53.0.2;
|
|
10.53.0.3; };
|
|
|
|
zone "." {
|
|
type hint;
|
|
file "root.hint";
|
|
};
|
|
|
|
zone "example" {
|
|
type master;
|
|
file "internal.db";
|
|
allow-update { any; };
|
|
};
|
|
};
|
|
|
|
view "external" {
|
|
match-clients { any; };
|
|
|
|
zone "." {
|
|
type hint;
|
|
file "root.hint";
|
|
};
|
|
|
|
zone "example" {
|
|
type master;
|
|
file "example.db";
|
|
};
|
|
};
|
|
|