Commit 89230cbf authored by hark's avatar hark
Browse files

add zonetransfer for net zone (doesn't work yet)

make.sh should be better now
parent 3110d027
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -6,6 +6,8 @@ zone "squesh.net" in {
zone "net.020wireless.nl" in {
        type master;
        file "/etc/bind/zones/net.020wireless.nl.db";
        allow-transfer { 162.247.75.159; 185.52.224.5; };
        notify yes;
};

zone "020" {
+3 −0
Original line number Diff line number Diff line
@@ -16,6 +16,9 @@
192.168.88.15
192.168.88.16
192.168.88.17 wfc-router-temp
192.168.88.20 wfc-radio-to-acta


192.168.88.123  kalium

+46 −31
Original line number Diff line number Diff line
@@ -2,6 +2,21 @@
#set -e
. paths.sh

HOSTS="stanleyH kalium"

cz ()
{
  # copies the zonefiles
  #  $1 name
  #  $2 reverse
  echo "copying $1 zone, with subnet $2"
  cd $OUT/$1.020
  scp db.$1 db.$2  root@$H:/etc/bind/zones/
  cd $OUT
}



make_zone () {
  # 1 hostfile.irl
  # 2 irl.020