[bind] Remove adh-nat and infra
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>alerts
parent
1a3a007679
commit
0ab8cfef29
|
@ -15,8 +15,7 @@
|
|||
loop:
|
||||
- named.conf
|
||||
- named.conf.acl
|
||||
# - named.conf.options
|
||||
- named.conf.options
|
||||
- named.conf.local
|
||||
- named.conf.default-zones
|
||||
- db.infra
|
||||
notify: Reload bind9
|
||||
|
|
|
@ -1,24 +0,0 @@
|
|||
{{ ansible_header | comment(decoration='; ') }}
|
||||
|
||||
$TTL 0
|
||||
|
||||
@ IN SOA silice.crans.org root.crans.org (
|
||||
0 ; serial
|
||||
3600 ; refresh (1hr)
|
||||
1800 ; retry (30mn)
|
||||
604800 ; expire (7dy)
|
||||
0 ; TTL (0s)
|
||||
)
|
||||
|
||||
@ IN NS passerelle.infra.crans.org
|
||||
passerelle.infra.crans.org IN A {{ (query('ldap', 'ip', 'passerelle', 'infra') | ansible.utils.ipv4)[0] }}
|
||||
|
||||
* IN CNAME crans.org
|
||||
*.org IN CNAME crans.org
|
||||
*.fr IN CNAME crans.org
|
||||
*.com IN CNAME crans.org
|
||||
|
||||
intranet.crans.org IN A 172.16.32.156 ; (query('ldap', 'ip', 'intranet', 'infra') | ansible.utils.ipv4)[0]
|
||||
intranet.infra.crans.org IN A 172.16.32.156
|
||||
|
||||
unifi.infra.crans.org IN A {{ (query('ldap', 'ip', 'unifi', 'infra') | ansible.utils.ipv4)[0] }}
|
|
@ -15,17 +15,7 @@ acl "adm" {
|
|||
fd00:0:0:{{ query('ldap', 'vlanid', 'adm') }}::/64;
|
||||
};
|
||||
|
||||
acl "infra" {
|
||||
{{ query('ldap', 'network', 'infra') }};
|
||||
fd00:0:0:{{ query('ldap', 'vlanid', 'infra') }}::/64;
|
||||
};
|
||||
|
||||
acl "adh" {
|
||||
{{ query('ldap', 'network', 'adh') }};
|
||||
2a0c:700:{{ query('ldap', 'vlanid', 'adh') }}::/48;
|
||||
};
|
||||
|
||||
acl "adh-nat" {
|
||||
{{ query('ldap', 'network', 'adh-nat') }};
|
||||
2a0c:700:{{ query('ldap', 'vlanid', 'adh-nat') }}::/48;
|
||||
};
|
||||
|
|
|
@ -3,13 +3,3 @@
|
|||
// Consider adding the 1918 zones here, if they are not used in your
|
||||
// organization
|
||||
//include "/etc/bind/zones.rfc1918";
|
||||
|
||||
view "infra" {
|
||||
match-clients { infra; };
|
||||
recursion no;
|
||||
|
||||
zone "." {
|
||||
type master;
|
||||
file "/etc/bind/db.infra";
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue