forked from ben/dns
use acl and master lists
This commit is contained in:
parent
b4d595f926
commit
ab9a608984
@ -1,73 +1,71 @@
|
||||
acl "tildenameservers" {
|
||||
213.239.234.117;
|
||||
149.56.184.112;
|
||||
192.95.3.29;
|
||||
};
|
||||
masters "tildenameservers" {
|
||||
masters "tildemasters" {
|
||||
213.239.234.117;
|
||||
149.56.184.112;
|
||||
192.95.3.29;
|
||||
};
|
||||
|
||||
zone "tilde" IN {
|
||||
type forward;
|
||||
forward only;
|
||||
forwarders { 213.239.234.117; 149.56.184.112; 192.95.3.29; };
|
||||
forwarders { 213.239.234.117; 149.56.184.112; };
|
||||
};
|
||||
|
||||
zone "team.tilde" {
|
||||
zone "team.tilde" IN {
|
||||
type master;
|
||||
file "/etc/bind/zones/tilde/db.team.tilde";
|
||||
allow-transfer { "tildenameservers"; };
|
||||
also-notify { "tildenameservers"; };
|
||||
also-notify { "tildemasters"; };
|
||||
};
|
||||
|
||||
zone "git.tilde" {
|
||||
zone "git.tilde" IN {
|
||||
type master;
|
||||
file "/etc/bind/zones/tilde/db.git.tilde";
|
||||
allow-transfer { "tildenameservers"; };
|
||||
also-notify { "tildenameservers"; };
|
||||
also-notify { "tildemasters"; };
|
||||
};
|
||||
|
||||
zone "mastodon.tilde" {
|
||||
zone "mastodon.tilde" IN {
|
||||
type master;
|
||||
file "/etc/bind/zones/tilde/db.mastodon.tilde";
|
||||
allow-transfer { "tildenameservers"; };
|
||||
also-notify { "tildenameservers"; };
|
||||
also-notify { "tildemasters"; };
|
||||
};
|
||||
|
||||
zone "lists.tilde" {
|
||||
zone "lists.tilde" IN {
|
||||
type master;
|
||||
file "/etc/bind/zones/tilde/db.lists.tilde";
|
||||
allow-transfer { "tildenameservers"; };
|
||||
also-notify { "tildenameservers"; };
|
||||
also-notify { "tildemasters"; };
|
||||
};
|
||||
|
||||
zone "chat.tilde" {
|
||||
zone "chat.tilde" IN {
|
||||
type master;
|
||||
file "/etc/bind/zones/tilde/db.chat.tilde";
|
||||
allow-transfer { "tildenameservers"; };
|
||||
also-notify { "tildenameservers"; };
|
||||
also-notify { "tildemasters"; };
|
||||
};
|
||||
|
||||
zone "ci.tilde" {
|
||||
zone "ci.tilde" IN {
|
||||
type master;
|
||||
file "/etc/bind/zones/tilde/db.ci.tilde";
|
||||
allow-transfer { "tildenameservers"; };
|
||||
also-notify { "tildenameservers"; };
|
||||
also-notify { "tildemasters"; };
|
||||
};
|
||||
|
||||
zone "pleroma.tilde" {
|
||||
zone "pleroma.tilde" IN {
|
||||
type master;
|
||||
file "/etc/bind/zones/tilde/db.pleroma.tilde";
|
||||
allow-transfer { "tildenameservers"; };
|
||||
also-notify { "tildenameservers"; };
|
||||
also-notify { "tildemasters"; };
|
||||
};
|
||||
|
||||
zone "news.tilde" {
|
||||
zone "news.tilde" IN {
|
||||
type master;
|
||||
file "/etc/bind/zones/tilde/db.news.tilde";
|
||||
allow-transfer { "tildenameservers"; };
|
||||
also-notify { "tildenameservers"; };
|
||||
also-notify { "tildemasters"; };
|
||||
};
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
$ORIGIN .
|
||||
$TTL 3600 ; 1 hour
|
||||
tildeverse.net IN SOA ns1.tildeverse.net. root.tildeverse.net. (
|
||||
2019110304 ; serial
|
||||
2019123000 ; serial
|
||||
86400 ; refresh (1 day)
|
||||
7200 ; retry (2 hours)
|
||||
3600000 ; expire (5 weeks 6 days 16 hours)
|
||||
|
Loading…
Reference in New Issue
Block a user