From: Zoltán Felleg Date: Fri, 16 Apr 2021 05:31:15 +0000 (+0200) Subject: Updated pns.pm (continued implementing ipv6). X-Git-Url: http://git.useribm.hu/?a=commitdiff_plain;h=8a3f451de097d02ca9d538b9f60d068abb740dfb;p=user-lxc.git Updated pns.pm (continued implementing ipv6). --- diff --git a/sources/pns.pm/firstboot/01_setupnetworking.sh b/sources/pns.pm/firstboot/01_setupnetworking.sh index ded3685..4c472d4 100755 --- a/sources/pns.pm/firstboot/01_setupnetworking.sh +++ b/sources/pns.pm/firstboot/01_setupnetworking.sh @@ -50,7 +50,12 @@ nmcli connection add \ ipv4.gateway "192.168.173.254" \ ipv4.method "manual" \ ipv4.routes "10.228.0.0/16 192.168.173.1" \ - ipv6.method "auto" \ + ipv6.addresses "2a02:d400:0000:f2ad:000c:18ff:fe03:adae/64" \ + ipv6.dns "2a02:d400:0000:f2ad:000c:18ff:fe03:adae" \ + ipv6.dns-search "pm.useribm.hu" \ + ipv6.gateway "2a02:d400:0000:f2ad:000c:18ff:fe03:adfe" \ + ipv6.routes "2a02:d400:0000:f268::/64 2a02:d400:0000:f2ad:000c:18ff:fe03:ad01" \ + ipv6.method "manual" \ save yes nmcli connection show diff --git a/sources/pns.pm/postinstall/install/etc/named.conf b/sources/pns.pm/postinstall/install/etc/named.conf index 3615ebc..4357753 100644 --- a/sources/pns.pm/postinstall/install/etc/named.conf +++ b/sources/pns.pm/postinstall/install/etc/named.conf @@ -15,7 +15,7 @@ options { allow-query-cache { none; }; allow-recursion { none; }; - recursion no; + recursion no; dnssec-enable yes; dnssec-validation no; @@ -153,6 +153,11 @@ view "perimeter" { masters { primary_ns_master; }; file "slaves/228.10.in-addr.arpa.zone"; }; + zone "8.6.2.f.0.0.0.0.0.0.4.d.2.0.a.2.ip6.arpa" IN { + type slave; + masters { primary_ns_master; }; + file "slaves/8.6.2.f.0.0.0.0.0.0.4.d.2.0.a.2.ip6.arpa.zone"; + }; zone "sr.user.hu" IN { type slave; masters { primary_ns_master; }; @@ -180,6 +185,11 @@ view "perimeter" { masters { primary_ns_master; }; file "slaves/173.168.192.in-addr.arpa.zone"; }; + zone "d.a.2.f.0.0.0.0.0.0.4.d.2.0.a.2.ip6.arpa" IN { + type slave; + masters { primary_ns_master; }; + file "slaves/d.a.2.f.0.0.0.0.0.0.4.d.2.0.a.2.ip6.arpa.zone"; + }; # external zones zone "mediacube.hu" IN {