deplac. install goss
This commit is contained in:
parent
e195c6b4c7
commit
b24ef44c4a
@ -3,6 +3,7 @@ set -eu
|
|||||||
|
|
||||||
mondomaine=domaine.lan
|
mondomaine=domaine.lan
|
||||||
apt-get install -y bind9 bind9-doc bind9-host
|
apt-get install -y bind9 bind9-doc bind9-host
|
||||||
|
curl -fsSL https://goss.rocks/install |sh
|
||||||
wget -nc https://gitea.lyc-lecastel.fr/gadmin/vagrant/raw/branch/main/divers/bind/mkzone
|
wget -nc https://gitea.lyc-lecastel.fr/gadmin/vagrant/raw/branch/main/divers/bind/mkzone
|
||||||
bash mkzone "${mondomaine}"
|
bash mkzone "${mondomaine}"
|
||||||
cp db.${mondomaine}* /etc/bind
|
cp db.${mondomaine}* /etc/bind
|
||||||
@ -14,7 +15,6 @@ host srv1
|
|||||||
host srv2
|
host srv2
|
||||||
host -t soa "${mondomaine}"
|
host -t soa "${mondomaine}"
|
||||||
host -l "${mondomaine}"
|
host -l "${mondomaine}"
|
||||||
curl -fsSL https://goss.rocks/install |sh
|
|
||||||
goss add command "host ${mondomaine}"
|
goss add command "host ${mondomaine}"
|
||||||
goss add command "host -t soa ${mondomaine}"
|
goss add command "host -t soa ${mondomaine}"
|
||||||
goss add command "host -t ns ${mondomaine}"
|
goss add command "host -t ns ${mondomaine}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user