add bind ptr zone
This commit is contained in:
parent
defa514df0
commit
2c97f90bcf
4 changed files with 48 additions and 8 deletions
|
|
@ -33,6 +33,11 @@ zone "viktorbarzin.lan" {
|
|||
type master;
|
||||
file "/etc/bind/db.viktorbarzin.lan";
|
||||
};
|
||||
|
||||
zone "181.191.213.in-addr.arpa" {
|
||||
type master;
|
||||
file "/etc/bind/db.181.191.213.in-addr.arpa";
|
||||
};
|
||||
EOT
|
||||
}
|
||||
|
||||
|
|
@ -50,6 +55,11 @@ zone "viktorbarzin.me" {
|
|||
type master;
|
||||
file "/etc/bind/db.viktorbarzin.me";
|
||||
};
|
||||
|
||||
zone "181.191.213.in-addr.arpa" {
|
||||
type master;
|
||||
file "/etc/bind/db.181.191.213.in-addr.arpa";
|
||||
};
|
||||
EOT
|
||||
}
|
||||
|
||||
|
|
@ -69,3 +79,20 @@ options {
|
|||
};
|
||||
EOT
|
||||
}
|
||||
|
||||
variable "db_ptr" {
|
||||
default = <<EOT
|
||||
$TTL 86400
|
||||
181.191.213.in-addr.arpa. IN SOA ns1.viktorbarzin.me. ns2.viktorbarzin.me. (
|
||||
5 ; Serial
|
||||
28800 ; Refresh
|
||||
10 ; Retry
|
||||
2419200 ; Expire
|
||||
60 ) ; Negative Cache TTL
|
||||
|
||||
181.191.213.in-addr.arpa. IN NS ns1.viktorbarzin.me.
|
||||
|
||||
130.181.191.213.in-addr.arpa. IN PTR viktorbarzin.me.
|
||||
;130 IN PTR viktorbarzin.me.
|
||||
EOT
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue