diff --git a/Bundler/bind.xml b/Bundler/bind.xml index 0f67201..e0775b9 100644 --- a/Bundler/bind.xml +++ b/Bundler/bind.xml @@ -4,6 +4,7 @@ + diff --git a/Python/etc/bind/db.loppsi.crans.org b/Python/etc/bind/db.loppsi.crans.org index c3f4a83..c3babea 100644 --- a/Python/etc/bind/db.loppsi.crans.org +++ b/Python/etc/bind/db.loppsi.crans.org @@ -19,7 +19,9 @@ print """ 2386410401 ; serial 3600 ; minimum (1 hour) ) NS sable.crans.org. - -archive.ubuntu.com CNAME charybde.crans.org. -*.archive.ubuntu.com CNAME charybde.crans.org. """ + +print "archive.ubuntu.com CNAME charybde.crans.org." +print "*.archive.ubuntu.com CNAME charybde.crans.org." + +print "teredo.ipv6.microsoft.com CNAME ." diff --git a/Python/etc/bind/db.rpz.crans.org b/Python/etc/bind/db.rpz.crans.org new file mode 100644 index 0000000..e0b3010 --- /dev/null +++ b/Python/etc/bind/db.rpz.crans.org @@ -0,0 +1,24 @@ +# -*- mode: python; encoding: utf-8 -*- + +info["owner"] = "root" +info["group"] = "bind" +info["perms"] = 0644 + + +import config +comment_start = ";" + +header("Zone pour la response policy pour les utilisateur courant") + +@$TTL 3600 ; 1 hour +@@ IN SOA sable.crans.org. root.crans.org. ( +print """ 2386410401 ; serial + 21600 ; refresh (6 hours) + 3600 ; retry (1 hour) + 1209600 ; expire (2 weeks) + 3600 ; minimum (1 hour) + ) + NS sable.crans.org. +""" + +print "teredo.ipv6.microsoft.com CNAME ." diff --git a/Python/etc/bind/named.conf.local b/Python/etc/bind/named.conf.local index 91e9052..a020593 100644 --- a/Python/etc/bind/named.conf.local +++ b/Python/etc/bind/named.conf.local @@ -97,6 +97,11 @@ with view("default-view", "any") as v: v.p('include "/etc/bind/generated/zones_crans";') if has("dns-recursif") and not has("dns-secondary-no-forward"): + v.p('response-policy { zone "rpz.crans.org"; };') + with zone("rpz.crans.org", "master") as z: + z.p('file "/etc/bind/db.rpz.crans.org";') + z.p('allow-query {none;};') + with zone("239.in-addr.arpa", "slave") as z: z.p('file "/etc/bind/generated/db.239.in-addr.arpa";') z.p('masters { %s; };' % config.dns.master_tv)