From: Zoltán Felleg Date: Fri, 7 Jan 2022 18:15:54 +0000 (+0100) Subject: Updated ens.pm (switched from pns.in to sns.in). X-Git-Url: http://git.useribm.hu/?a=commitdiff_plain;h=95e3855984c31979e9c8e519700c5b631aab0add;p=user-lxc.git Updated ens.pm (switched from pns.in to sns.in). --- diff --git a/sources/ens.pm/postinstall/01_setownership.sh b/sources/ens.pm/postinstall/01_setownership.sh index 224e4d8..51d768a 100755 --- a/sources/ens.pm/postinstall/01_setownership.sh +++ b/sources/ens.pm/postinstall/01_setownership.sh @@ -6,4 +6,4 @@ SOURCE_PATH=$REAL_PATH/install chown -R root.root $SOURCE_PATH/* -chgrp named $SOURCE_PATH/etc/named.* +chgrp named $SOURCE_PATH/etc/named.conf diff --git a/sources/ens.pm/postinstall/02_setpermissions.sh b/sources/ens.pm/postinstall/02_setpermissions.sh index 68ca2bc..e7e809e 100755 --- a/sources/ens.pm/postinstall/02_setpermissions.sh +++ b/sources/ens.pm/postinstall/02_setpermissions.sh @@ -4,4 +4,4 @@ REAL_PATH=$(dirname $(realpath $0)) SOURCE_PATH=$REAL_PATH/install -chmod 640 $SOURCE_PATH/etc/named.* +chmod 640 $SOURCE_PATH/etc/named.conf diff --git a/sources/ens.pm/postinstall/install/etc/named.conf b/sources/ens.pm/postinstall/install/etc/named.conf index 4c51b5d..c389982 100644 --- a/sources/ens.pm/postinstall/install/etc/named.conf +++ b/sources/ens.pm/postinstall/install/etc/named.conf @@ -113,23 +113,23 @@ logging { }; }; -key "primary_ns-external_ns" { - algorithm hmac-sha256; - secret "4ekZY173EctYMvyy9XaCAMhB5bpU7gHNTPiJ0m8ajBA="; +key "source_ns-external_ns" { + algorithm hmac-sha256; + secret "0jE1xuTYWPu36ai5TMwWZiOoqdl4P6qlTbYPYmVvlgg="; }; key "peep_bo_ns-user_ns" { algorithm hmac-sha256; secret "TlqKwJQhMZJ1sfS7eQxJIrGrysvhylWuvIIPLi5dQiw="; }; -acl primary_ns_key_acl { key "primary_ns-external_ns"; }; +acl source_ns_key_acl { key "source_ns-external_ns"; }; acl peep_bo_ns_key_acl { key "peep_bo_ns-user_ns"; }; -masters primary_ns_master { 10.228.109.174 key "primary_ns-external_ns"; }; +masters source_ns_master { 10.228.109.204 key "source_ns-external_ns"; }; masters peep_bo_ns_master { 46.107.213.35 key "peep_bo_ns-user_ns"; }; -server 10.228.109.174 { keys { "primary_ns-external_ns"; }; }; -server 46.107.213.35 { keys { "peep_bo_ns-user_ns"; }; }; +server 10.228.109.204 { keys { "source_ns-external_ns"; }; }; +server 46.107.213.35 { keys { "peep_bo_ns-user_ns"; }; }; view "external" { match-clients { ! localnets; ! localhost; any; }; @@ -147,51 +147,51 @@ view "external" { # external zones zone "mediacube.hu" IN { type slave; - masters { primary_ns_master; }; + masters { source_ns_master; }; file "slaves/mediacube.hu.zone.signed"; allow-transfer { peep_bo_ns_key_acl; }; - allow-notify { primary_ns_key_acl; }; + allow-notify { source_ns_key_acl; }; notify explicit; also-notify { peep_bo_ns_master; }; }; zone "useredms.hu" IN { type slave; - masters { primary_ns_master; }; + masters { source_ns_master; }; file "slaves/useredms.hu.zone.signed"; allow-transfer { peep_bo_ns_key_acl; }; - allow-notify { primary_ns_key_acl; }; + allow-notify { source_ns_key_acl; }; notify explicit; also-notify { peep_bo_ns_master; }; }; zone "useribm.hu" IN { type slave; - masters { primary_ns_master; }; + masters { source_ns_master; }; file "slaves/useribm.hu.zone.signed"; allow-transfer { peep_bo_ns_key_acl; }; - allow-notify { primary_ns_key_acl; }; + allow-notify { source_ns_key_acl; }; notify explicit; also-notify { peep_bo_ns_master; }; }; zone "userrendszerhaz.hu" IN { type slave; - masters { primary_ns_master; }; + masters { source_ns_master; }; file "slaves/userrendszerhaz.hu.zone.signed"; allow-transfer { peep_bo_ns_key_acl; }; - allow-notify { primary_ns_key_acl; }; + allow-notify { source_ns_key_acl; }; notify explicit; also-notify { peep_bo_ns_master; }; }; zone "2.f.0.0.0.0.0.0.4.d.2.0.a.2.ip6.arpa" IN { type slave; - masters { primary_ns_master; }; + masters { source_ns_master; }; file "slaves/2.f.0.0.0.0.0.0.4.d.2.0.a.2.ip6.arpa.zone"; allow-transfer { peep_bo_ns_key_acl; }; - allow-notify { primary_ns_key_acl; }; + allow-notify { source_ns_key_acl; }; notify explicit; also-notify { peep_bo_ns_master; }; }; diff --git a/sources/pns.pm/postinstall/01_setownership.sh b/sources/pns.pm/postinstall/01_setownership.sh index 224e4d8..51d768a 100755 --- a/sources/pns.pm/postinstall/01_setownership.sh +++ b/sources/pns.pm/postinstall/01_setownership.sh @@ -6,4 +6,4 @@ SOURCE_PATH=$REAL_PATH/install chown -R root.root $SOURCE_PATH/* -chgrp named $SOURCE_PATH/etc/named.* +chgrp named $SOURCE_PATH/etc/named.conf diff --git a/sources/pns.pm/postinstall/02_setpermissions.sh b/sources/pns.pm/postinstall/02_setpermissions.sh index 68ca2bc..e7e809e 100755 --- a/sources/pns.pm/postinstall/02_setpermissions.sh +++ b/sources/pns.pm/postinstall/02_setpermissions.sh @@ -4,4 +4,4 @@ REAL_PATH=$(dirname $(realpath $0)) SOURCE_PATH=$REAL_PATH/install -chmod 640 $SOURCE_PATH/etc/named.* +chmod 640 $SOURCE_PATH/etc/named.conf