carcact. parasites

This commit is contained in:
phil 2023-01-21 16:26:08 +01:00
parent 076a48b0a2
commit 9dbde4a623

View File

@ -9,7 +9,7 @@ readonly zone="domaine.lan"
readonly zonerev="1.168.192.in-addr.arpa"
readonly nsname="ns"
readonly nsip="192.168.1.10"
readonly nsiprev=$(echo ${nsip}|cut -d. -f4) # dernier octet pour classe C
readonly nsiprev=$(echo ${nsip}|cut -d. -f4) # dernier octet pour classe C
readonly nsname2="ns2"
readonly nsip2="192.168.1.11"
readonly nsiprev2=$(echo ${nsip2}|cut -d. -f4)
@ -55,7 +55,7 @@ cat <<EOT > "db.${zone}"
IN NS ${nsname}
IN NS ${nsname2}
IN A 203.0.113.10 # zone
IN A 203.0.113.10 # zone
IN AAAA 2001:DB8:BEEF:113::10 #
www IN CNAME ${nsfqdnp}
ftp IN CNAME ${nsfqdnp}