ajout reverse dns
This commit is contained in:
parent
e1ac42525b
commit
c7ba96ea2e
@ -86,6 +86,7 @@ Vagrant.configure("2") do |config|
|
|||||||
|
|
||||||
#permet d'avoir un répertoire partagé entre la VM et le host
|
#permet d'avoir un répertoire partagé entre la VM et le host
|
||||||
config.vm.synced_folder "/tmp/", "/tmp_host"
|
config.vm.synced_folder "/tmp/", "/tmp_host"
|
||||||
|
config.vm.synced_folder "files/", "/root/kaz-vagrant"
|
||||||
|
|
||||||
config.vm.provision "shell" do |s|
|
config.vm.provision "shell" do |s|
|
||||||
s.inline = "/vagrant/files/vm-provision.sh"
|
s.inline = "/vagrant/files/vm-provision.sh"
|
||||||
|
@ -42,7 +42,7 @@ hosts:
|
|||||||
templates:
|
templates:
|
||||||
- updatecaroots:
|
- updatecaroots:
|
||||||
- authns:
|
- authns:
|
||||||
zonefile: dns.conf
|
zonefiles: kaz.sns.zone;80.100.in-addr.arpa.zone
|
||||||
- resolv:
|
- resolv:
|
||||||
domain: kaz.sns
|
domain: kaz.sns
|
||||||
ns: 100.100.100.100
|
ns: 100.100.100.100
|
||||||
|
16
files/snster-kaz/kaz/prod/80.100.in-addr.arpa.zone
Normal file
16
files/snster-kaz/kaz/prod/80.100.in-addr.arpa.zone
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
$TTL 86400
|
||||||
|
$ORIGIN 80.100.in-addr.arpa.
|
||||||
|
@ 1D IN SOA ns.kaz.sns. hostmaster.kaz.sns. (
|
||||||
|
2002022401 ; serial
|
||||||
|
3H ; refresh
|
||||||
|
15 ; retry
|
||||||
|
1w ; expire
|
||||||
|
3h ; nxdomain ttl
|
||||||
|
)
|
||||||
|
IN NS ns.kaz.sns.
|
||||||
|
ns IN A 100.80.0.2
|
||||||
|
ns IN AAAA 2001:db8:80::0:2
|
||||||
|
2.0 IN PTR smtp.kaz.sns.
|
||||||
|
1.0 IN PTR router.kaz.sns.
|
||||||
|
1.1 IN PTR router.kaz.sns.
|
||||||
|
2.1 IN PTR listes.kaz.sns.
|
@ -29,5 +29,6 @@ masters:
|
|||||||
family: alpine
|
family: alpine
|
||||||
|
|
||||||
disabled-groups:
|
disabled-groups:
|
||||||
#- target
|
- _global
|
||||||
#- root-o
|
- _templates
|
||||||
|
- _masters
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
120.100.in-addr.arpa. 172800 IN NS p.120.100.in-addr.arpa.
|
120.100.in-addr.arpa. 172800 IN NS p.120.100.in-addr.arpa.
|
||||||
p.120.100.in-addr.arpa. 172800 IN A 100.120.1.2
|
p.120.100.in-addr.arpa. 172800 IN A 100.120.1.2
|
||||||
p.120.100.in-addr.arpa. 172800 IN AAAA 2001:db8:120:1::2
|
p.120.100.in-addr.arpa. 172800 IN AAAA 2001:db8:120:1::2
|
||||||
|
80.100.in-addr.arpa. 172800 IN NS p.80.100.in-addr.arpa.
|
||||||
|
p.80.100.in-addr.arpa. 172800 IN A 100.80.0.2
|
||||||
|
Loading…
Reference in New Issue
Block a user