Updated pns.usr (added UPSes to DNS) and svc.usr (added UPSes to dhcpd).
authorZoltán Felleg <zoltan.felleg@userrendszerhaz.hu>
Tue, 11 Aug 2020 10:46:03 +0000 (12:46 +0200)
committerZoltán Felleg <zoltan.felleg@userrendszerhaz.hu>
Tue, 11 Aug 2020 10:46:03 +0000 (12:46 +0200)
sources/pns.usr/postinstall/install/var/named/228.10.in-addr.arpa.zone
sources/pns.usr/postinstall/install/var/named/usr.user.hu.zone
sources/svc.usr/postinstall/install/etc/dhcp/dhcpd.conf

index be26ad0ad2b3d904f32075c56fdb47a6468617c0..7d3fdcabf5aa6dcb2e6f10e5c5246d85c68919a4 100644 (file)
@@ -1,6 +1,6 @@
 $TTL   86400
 @      IN      SOA     ns.usr.user.hu. hostmaster.mx.usr.user.hu.      (
-                                       2020072302      ; Serial
+                                       2020081101      ; Serial
                                        86400           ; Refresh (1 day)
                                        7200            ; Retry (2 hours)
                                        2419200         ; Expire (4 weeks)
@@ -15,8 +15,14 @@ $TTL 86400
 ; ================================================================
 ; wifi routers (wr = 23 * 10 + 18 = 248)
 ; ================================================================
-196.248                IN      PTR     archer-c5-sf
-66.248         IN      PTR     archer-c5-ff
+196.248                IN      PTR     archer-c5-sf.usr.user.hu.
+66.248         IN      PTR     archer-c5-ff.usr.user.hu.
+
+; ================================================================
+; UPSes (up = 21 * 10 + 16 = 226)
+; ================================================================
+2.226          IN      PTR     apcups2.usr.user.hu.
+1.226          IN      PTR     apcups1.usr.user.hu.
 
 ; ================================================================
 ; 2N/two n (tn = 20 * 10 + 15 = 215)
index 2bd01e171ac71e4bc4efa574c61ee526aac7203e..6d81aa7de1f19bfbfecd5d6032b1e1a1617813f0 100644 (file)
@@ -1,6 +1,6 @@
 $TTL   86400
 @      IN      SOA     ns.usr.user.hu. hostmaster.mx.usr.user.hu.      (
-                                       2020072302      ; Serial
+                                       2020081101      ; Serial
                                        86400           ; Refresh (1 day)
                                        7200            ; Retry (2 hours)
                                        2419200         ; Expire (4 weeks)
@@ -18,6 +18,12 @@ $TTL 86400
 archer-c5-sf   IN      A       10.228.248.196  ; sf (second floor)
 archer-c5-ff   IN      A       10.228.248.66   ; ff (first floor)
 
+; ================================================================
+; UPSes (up = 21 * 10 + 16 = 226)
+; ================================================================
+apcups2                IN      A       10.228.226.2
+apcups1                IN      A       10.228.226.1
+
 ; ================================================================
 ; 2N/two n (tn = 20 * 10 + 15 = 215)
 ; ================================================================
@@ -40,6 +46,13 @@ vios2                IN      A       10.228.201.222  ; v2
 vios1          IN      A       10.228.201.221  ; v1
 p570fsp2       IN      A       10.228.201.192  ; s2
 p570fsp1       IN      A       10.228.201.191  ; s1
+; VLANs:
+; 933: hmc
+; 169: power install
+; 164: power 4
+; 163: power 3
+; 162: power 2
+; 161: power 1
 
 ; ================================================================
 ; rrendek (rr = 18 * 10 + 18 = 198)
index 260c7318c0cbe743550e74f7d781a6771b778d9b..de5909cfc32a324d73eb784a5c8e2ceba7b7da8a 100644 (file)
@@ -70,6 +70,14 @@ host tn-phone-ff {
        hardware ethernet 00:0b:82:67:2d:26;
        fixed-address 10.228.215.66;
 }
+host apcups2 {
+       hardware ethernet 00:c0:b7:23:dd:7d;
+       fixed-address 10.228.2226.2;
+}
+host apcups1 {
+       hardware ethernet 00:c0:b7:58:c2:0c;
+       fixed-address 10.228.2226.1;
+}
 host db2svr {
        hardware ethernet 00:50:56:00:d4:2a;
        fixed-address 10.228.212.42;