dépôts
/
lhc
/
ateliers.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bcf89f9
)
Ajout : etc/nsd3/zone.d/ : NS secondaire : ns6.gandi.net .
author
Julien Moutinho
<julm+burette@autogeree.net>
Sun, 14 Apr 2013 17:51:22 +0000
(19:51 +0200)
committer
Julien Moutinho
<julm+burette@autogeree.net>
Sun, 14 Apr 2013 18:25:01 +0000
(20:25 +0200)
etc/nsd3/zone.d/heureux-cyclage.org.conf
patch
|
blob
|
history
etc/nsd3/zone.d/heureux-cyclage.org.zone.m4
patch
|
blob
|
history
etc/nsd3/zone.d/wiklou.org.conf
patch
|
blob
|
history
etc/nsd3/zone.d/wiklou.org.zone.m4
patch
|
blob
|
history
etc/sv/nsd3/configure.sh
patch
|
blob
|
history
diff --git
a/etc/nsd3/zone.d/heureux-cyclage.org.conf
b/etc/nsd3/zone.d/heureux-cyclage.org.conf
index
a785e19
..
b889f91
100644
(file)
--- a/
etc/nsd3/zone.d/heureux-cyclage.org.conf
+++ b/
etc/nsd3/zone.d/heureux-cyclage.org.conf
@@
-1,2
+1,3
@@
-
-# vim: ft=sh
+# NOTE: NS secondaire : ns6.gandi.net
+notify: 217.70.177.40 NOKEY
+provide-xfr: 217.70.177.40 NOKEY
diff --git
a/etc/nsd3/zone.d/heureux-cyclage.org.zone.m4
b/etc/nsd3/zone.d/heureux-cyclage.org.zone.m4
index
944b2f8
..
e29e679
100644
(file)
--- a/
etc/nsd3/zone.d/heureux-cyclage.org.zone.m4
+++ b/
etc/nsd3/zone.d/heureux-cyclage.org.zone.m4
@@
-72,6
+72,7
@@
ra CNAME remorque
; ENREGISTREMENTS « NS » (Name Server)
@ NS ns
; ENREGISTREMENTS « NS » (Name Server)
@ NS ns
+@ NS ns6.gandi.net.
; ENREGISTREMENTS "PTR" (IPv* -> name)
; NOTE : Dans le cas d’hébergement massif de domaines virtuels derrière une même adresse IP,
; ENREGISTREMENTS "PTR" (IPv* -> name)
; NOTE : Dans le cas d’hébergement massif de domaines virtuels derrière une même adresse IP,
diff --git
a/etc/nsd3/zone.d/wiklou.org.conf
b/etc/nsd3/zone.d/wiklou.org.conf
index
a785e19
..
b889f91
100644
(file)
--- a/
etc/nsd3/zone.d/wiklou.org.conf
+++ b/
etc/nsd3/zone.d/wiklou.org.conf
@@
-1,2
+1,3
@@
-
-# vim: ft=sh
+# NOTE: NS secondaire : ns6.gandi.net
+notify: 217.70.177.40 NOKEY
+provide-xfr: 217.70.177.40 NOKEY
diff --git
a/etc/nsd3/zone.d/wiklou.org.zone.m4
b/etc/nsd3/zone.d/wiklou.org.zone.m4
index
78c46e4
..
6f5ed21
100644
(file)
--- a/
etc/nsd3/zone.d/wiklou.org.zone.m4
+++ b/
etc/nsd3/zone.d/wiklou.org.zone.m4
@@
-44,3
+44,4
@@
www A IP4(LAUTRENET)
; ENREGISTREMENTS « NS » (Name Server)
@ NS ns
; ENREGISTREMENTS « NS » (Name Server)
@ NS ns
+@ NS ns6.gandi.net.
diff --git
a/etc/sv/nsd3/configure.sh
b/etc/sv/nsd3/configure.sh
index
0e870e3
..
2d8ac85
100644
(file)
--- a/
etc/sv/nsd3/configure.sh
+++ b/
etc/sv/nsd3/configure.sh
@@
-1,5
+1,6
@@
rule apt_get_install nsd
rule insserv_remove nsd3
rule apt_get_install nsd
rule insserv_remove nsd3
+
sudo rm -rf \
/etc/nsd3/zone.d
sudo install -d -m 750 -o root -g nsd \
sudo rm -rf \
/etc/nsd3/zone.d
sudo install -d -m 750 -o root -g nsd \
@@
-25,13
+26,11
@@
sudo install -d -m 750 -o root -g nsd \
fi |
sudo install -m 440 -o root -g nsd /dev/stdin \
/etc/nsd3/zone.d/"$domain".zone
fi |
sudo install -m 440 -o root -g nsd /dev/stdin \
/etc/nsd3/zone.d/"$domain".zone
- sudo install -m 440 -o root -g nsd \
- "$tool"/etc/nsd3/zone.d/"$conf" \
- /etc/nsd3/zone.d/"$conf"
cat <<-EOF
zone:
name: $domain
zonefile: /etc/nsd3/zone.d/$domain.zone
cat <<-EOF
zone:
name: $domain
zonefile: /etc/nsd3/zone.d/$domain.zone
+ $(cat "$tool"/etc/nsd3/zone.d/"$conf")
EOF
done
} |
EOF
done
} |