From 496af4cf7d637cc5f6d28c1784d0f69b05682815 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zolt=C3=A1n=20Felleg?= Date: Tue, 5 Nov 2019 15:04:12 +0100 Subject: [PATCH] Added pns.usr (cvm -> vhost migration, Fedora 31 upgrade). --- sources/pns.usr/config | 22 ++ sources/pns.usr/envvars | 4 + .../pns.usr/firstboot/01_setupnetworking.sh | 55 +++ sources/pns.usr/firstboot/02_settimezone.sh | 21 ++ sources/pns.usr/firstboot/03_setupldap.sh | 10 + sources/pns.usr/firstboot/99_cleanup.sh | 6 + .../pns.usr/postinstall/01_setownership.sh | 10 + .../pns.usr/postinstall/02_setpermissions.sh | 8 + .../pns.usr/postinstall/03_installfiles.sh | 15 + sources/pns.usr/postinstall/04_editfiles.sh | 6 + .../pns.usr/postinstall/10_setupservices.sh | 5 + sources/pns.usr/postinstall/99_cleanup.sh | 6 + sources/pns.usr/postinstall/install/etc/hosts | 4 + .../postinstall/install/etc/named.conf | 281 ++++++++++++++ .../install/etc/sysctl.d/01-ipv6.conf | 2 + .../var/named/173.168.192.in-addr.arpa.zone | 24 ++ .../var/named/228.10.in-addr.arpa.zone | 343 +++++++++++++++++ .../var/named/42.168.192.in-addr.arpa.zone | 213 +++++++++++ .../var/named/43.168.192.in-addr.arpa.zone | 88 +++++ .../install/var/named/in.user.hu.zone | 101 +++++ .../install/var/named/pm.user.hu.zone | 33 ++ .../install/var/named/sr.user.hu.zone | 227 +++++++++++ .../install/var/named/useribm.hu.zone | 37 ++ .../install/var/named/userrendszerhaz.hu.zone | 48 +++ .../install/var/named/usr.user.hu.zone | 353 ++++++++++++++++++ 25 files changed, 1922 insertions(+) create mode 100644 sources/pns.usr/config create mode 100644 sources/pns.usr/envvars create mode 100755 sources/pns.usr/firstboot/01_setupnetworking.sh create mode 100755 sources/pns.usr/firstboot/02_settimezone.sh create mode 100755 sources/pns.usr/firstboot/03_setupldap.sh create mode 100755 sources/pns.usr/firstboot/99_cleanup.sh create mode 100755 sources/pns.usr/postinstall/01_setownership.sh create mode 100755 sources/pns.usr/postinstall/02_setpermissions.sh create mode 100755 sources/pns.usr/postinstall/03_installfiles.sh create mode 100755 sources/pns.usr/postinstall/04_editfiles.sh create mode 100755 sources/pns.usr/postinstall/10_setupservices.sh create mode 100755 sources/pns.usr/postinstall/99_cleanup.sh create mode 100644 sources/pns.usr/postinstall/install/etc/hosts create mode 100644 sources/pns.usr/postinstall/install/etc/named.conf create mode 100644 sources/pns.usr/postinstall/install/etc/sysctl.d/01-ipv6.conf create mode 100644 sources/pns.usr/postinstall/install/var/named/173.168.192.in-addr.arpa.zone create mode 100644 sources/pns.usr/postinstall/install/var/named/228.10.in-addr.arpa.zone create mode 100644 sources/pns.usr/postinstall/install/var/named/42.168.192.in-addr.arpa.zone create mode 100644 sources/pns.usr/postinstall/install/var/named/43.168.192.in-addr.arpa.zone create mode 100644 sources/pns.usr/postinstall/install/var/named/in.user.hu.zone create mode 100644 sources/pns.usr/postinstall/install/var/named/pm.user.hu.zone create mode 100644 sources/pns.usr/postinstall/install/var/named/sr.user.hu.zone create mode 100644 sources/pns.usr/postinstall/install/var/named/useribm.hu.zone create mode 100644 sources/pns.usr/postinstall/install/var/named/userrendszerhaz.hu.zone create mode 100644 sources/pns.usr/postinstall/install/var/named/usr.user.hu.zone diff --git a/sources/pns.usr/config b/sources/pns.usr/config new file mode 100644 index 0000000..dc59419 --- /dev/null +++ b/sources/pns.usr/config @@ -0,0 +1,22 @@ +lxc.include = /usr/share/lxc/config/common.conf + +lxc.arch = x86_64 +lxc.uts.name = pns.usr.user.hu +lxc.rootfs.path = __CONTAINER_PATH__/rootfs +lxc.mount.auto = proc:rw sys:ro + +lxc.net.0.type = veth +lxc.net.0.flags = up +lxc.net.0.link = bri-dev +lxc.net.0.hwaddr = 02:0c:18:03:6d:ae + +lxc.cgroup.devices.allow = +lxc.cgroup.devices.deny = + +lxc.autodev = 1 + +lxc.signal.halt = SIGRTMIN+4 + +lxc.start.auto = 1 +lxc.start.order = 21 +lxc.start.delay = 3 diff --git a/sources/pns.usr/envvars b/sources/pns.usr/envvars new file mode 100644 index 0000000..c48ba9b --- /dev/null +++ b/sources/pns.usr/envvars @@ -0,0 +1,4 @@ +DISTRIBUTION=Fedora +DISTRIBUTION_VERSION=31 +BASE_PACKAGES="NetworkManager hostname initscripts iproute iputils logrotate rootfiles rsyslog tar vim-minimal" +SPEC_PACKAGES="bind bind-utils" diff --git a/sources/pns.usr/firstboot/01_setupnetworking.sh b/sources/pns.usr/firstboot/01_setupnetworking.sh new file mode 100755 index 0000000..3efc725 --- /dev/null +++ b/sources/pns.usr/firstboot/01_setupnetworking.sh @@ -0,0 +1,55 @@ +#!/bin/sh + + +sleep 1 +systemctl --quiet is-active NetworkManager.service +NM_RC=$? +WAITED=0 +while [ $NM_RC -ne 0 ] +do + echo -n . + sleep 1 + WAITED=1 + systemctl --quiet is-active NetworkManager.service + NM_RC=$? +done +[ $WAITED -eq 1 ] && echo + +CONNECTIONS=$(nmcli --terse connection show | wc -l) +while [ $CONNECTIONS -ne 1 ] +do + echo "Number of connections: $CONNECTIONS" >&2 + sleep 1 + CONNECTIONS=$(nmcli --terse connection show | wc -l) +done + +nmcli --terse connection show | grep ':$' >/dev/null +ALL_CONNECTION_DEVICES_KNOWN=$? +while [ $ALL_CONNECTION_DEVICES_KNOWN -eq 0 ] +do + echo "Not all connection devices are known yet" >&2 + sleep 1 + nmcli --terse connection show | grep ':$' >/dev/null + ALL_CONNECTION_DEVICES_KNOWN=$? +done + +CONNECTION_LINE=$(nmcli --terse connection show) +CONNECTION_UUID=$(echo $CONNECTION_LINE | cut -f 2 -d ':') +CONNECTION_DEVICE=$(echo $CONNECTION_LINE | cut -f 4 -d ':') + +nmcli connection delete uuid "$CONNECTION_UUID" + +nmcli connection add \ + connection.autoconnect yes \ + connection.id internal \ + connection.interface-name $CONNECTION_DEVICE \ + connection.type 802-3-ethernet \ + ipv4.addresses "10.228.109.174/16" \ + ipv4.dns "10.228.109.104, 10.228.109.253" \ + ipv4.dns-search "usr.user.hu" \ + ipv4.gateway "10.228.109.254" \ + ipv4.method "manual" \ + ipv6.method "ignore" \ + save yes + +nmcli connection show diff --git a/sources/pns.usr/firstboot/02_settimezone.sh b/sources/pns.usr/firstboot/02_settimezone.sh new file mode 100755 index 0000000..20b2a71 --- /dev/null +++ b/sources/pns.usr/firstboot/02_settimezone.sh @@ -0,0 +1,21 @@ +#!/bin/sh + + +sleep 1 +systemctl --quiet is-active dbus.service +DBUS_RC=$? +WAITED=0 +while [ $DBUS_RC -ne 0 ] +do + if [ $WAITED -eq 0 ] + then + echo -n "Waiting for dbus.service" + fi + echo -n . + sleep 1 + WAITED=1 + systemctl --quiet is-active dbus.service + DBUS_RC=$? +done +[ $WAITED -ne 0 ] && echo +timedatectl set-timezone Europe/Budapest diff --git a/sources/pns.usr/firstboot/03_setupldap.sh b/sources/pns.usr/firstboot/03_setupldap.sh new file mode 100755 index 0000000..4b58626 --- /dev/null +++ b/sources/pns.usr/firstboot/03_setupldap.sh @@ -0,0 +1,10 @@ +#!/bin/sh + + +exit 0 +authselect select sssd with-mkhomedir --force + +cat >>/etc/openldap/ldap.conf < machines routed through UPC +; network address: ...176 +; host addresses: ...177 - ...190 +; broadcast address: ...191 +robi IN A 192.168.43.179 +peti IN A 192.168.43.178 +fuge IN A 192.168.43.177 + +chronos IN A 192.168.43.161 ; Fixed DHCP client (chronos) +dhcp159 IN A 192.168.43.159 ; DHCP client +dhcp158 IN A 192.168.43.158 ; DHCP client +dhcp157 IN A 192.168.43.157 ; DHCP client +dhcp156 IN A 192.168.43.156 ; DHCP client +dhcp155 IN A 192.168.43.155 ; DHCP client +dhcp154 IN A 192.168.43.154 ; DHCP client +dhcp153 IN A 192.168.43.153 ; DHCP client +dhcp152 IN A 192.168.43.152 ; DHCP client +dhcp151 IN A 192.168.43.151 ; DHCP client +dhcp150 IN A 192.168.43.150 ; DHCP client +dhcp149 IN A 192.168.43.149 ; DHCP client +dhcp148 IN A 192.168.43.148 ; DHCP client +dhcp147 IN A 192.168.43.147 ; DHCP client +dhcp146 IN A 192.168.43.146 ; DHCP client +dhcp145 IN A 192.168.43.145 ; DHCP client +dhcp144 IN A 192.168.43.144 ; DHCP client +dhcp143 IN A 192.168.43.143 ; DHCP client +dhcp142 IN A 192.168.43.142 ; DHCP client +dhcp141 IN A 192.168.43.141 ; DHCP client +dhcp140 IN A 192.168.43.140 ; DHCP client +dhcp139 IN A 192.168.43.139 ; DHCP client +dhcp138 IN A 192.168.43.138 ; DHCP client +dhcp137 IN A 192.168.43.137 ; DHCP client +dhcp136 IN A 192.168.43.136 ; DHCP client +dhcp135 IN A 192.168.43.135 ; DHCP client +dhcp134 IN A 192.168.43.134 ; DHCP client +dhcp133 IN A 192.168.43.133 ; DHCP client +dhcp132 IN A 192.168.43.132 ; DHCP client +dhcp131 IN A 192.168.43.131 ; DHCP client +dhcp130 IN A 192.168.43.130 ; DHCP client +dhcp129 IN A 192.168.43.129 ; DHCP client +dhcp128 IN A 192.168.43.128 ; DHCP client +dhcp127 IN A 192.168.43.127 ; DHCP client +dhcp126 IN A 192.168.43.126 ; DHCP client +dhcp125 IN A 192.168.43.125 ; DHCP client +dhcp124 IN A 192.168.43.124 ; DHCP client +dhcp123 IN A 192.168.43.123 ; DHCP client +dhcp122 IN A 192.168.43.122 ; DHCP client +dhcp121 IN A 192.168.43.121 ; DHCP client +dhcp120 IN A 192.168.43.120 ; DHCP client +dhcp119 IN A 192.168.43.119 ; DHCP client +dhcp118 IN A 192.168.43.118 ; DHCP client +dhcp117 IN A 192.168.43.117 ; DHCP client +dhcp116 IN A 192.168.43.116 ; DHCP client +dhcp115 IN A 192.168.43.115 ; DHCP client +dhcp114 IN A 192.168.43.114 ; DHCP client +dhcp113 IN A 192.168.43.113 ; DHCP client +dhcp112 IN A 192.168.43.112 ; DHCP client +dhcp111 IN A 192.168.43.111 ; DHCP client +dhcp110 IN A 192.168.43.110 ; DHCP client +dhcp109 IN A 192.168.43.109 ; DHCP client +dhcp108 IN A 192.168.43.108 ; DHCP client +dhcp107 IN A 192.168.43.107 ; DHCP client +dhcp106 IN A 192.168.43.106 ; DHCP client +dhcp105 IN A 192.168.43.105 ; DHCP client +dhcp104 IN A 192.168.43.104 ; DHCP client +dhcp103 IN A 192.168.43.103 ; DHCP client +dhcp102 IN A 192.168.43.102 ; DHCP client +dhcp101 IN A 192.168.43.101 ; DHCP client +dhcp100 IN A 192.168.43.100 ; DHCP client + +chaos IN A 192.168.43.1 ; zfelleg +chaos IN AAAA 2a02:558:1000:1868:29c:2ff:fea9:275d diff --git a/sources/pns.usr/postinstall/install/var/named/pm.user.hu.zone b/sources/pns.usr/postinstall/install/var/named/pm.user.hu.zone new file mode 100644 index 0000000..00f0a02 --- /dev/null +++ b/sources/pns.usr/postinstall/install/var/named/pm.user.hu.zone @@ -0,0 +1,33 @@ +$TTL 86400 +@ IN SOA ns.pm.user.hu. hostmaster.mx.pm.user.hu. ( + 2018100901 ; Serial + 86400 ; Refresh (1 day) + 7200 ; Retry (2 hours) + 2419200 ; Expire (4 weeks) + 3600) ; Minimum (1 hour) +; 0 1 2 +; 12345678901234567890123456 +; abcdefghijklmnopqrstuvwxyz + +@ IN NS ns +@ IN MX 10 mx +@ IN A 192.168.173.249 + +efg IN A 192.168.173.254 ; efg +svc IN A 192.168.173.253 ; svc +ns IN A 192.168.173.253 ; ns +mx IN A 192.168.173.253 ; mx + +oldwww IN A 192.168.173.252 ; www +oldxfr IN A 192.168.173.251 ; xfr +whmcs IN A 192.168.173.250 ; whmcs + +ws IN A 192.168.173.249 ; ws +www IN A 192.168.173.249 ; ws +xfr IN A 192.168.173.246 ; xf +vc IN A 192.168.173.223 ; vc (version control) +dvredmine IN A 192.168.173.193 ; rm +pns IN A 192.168.173.174 ; pn (perimeter ns) +ens IN A 192.168.173.64 ; en (external ns) + +ifg IN A 192.168.173.1 ; ifg diff --git a/sources/pns.usr/postinstall/install/var/named/sr.user.hu.zone b/sources/pns.usr/postinstall/install/var/named/sr.user.hu.zone new file mode 100644 index 0000000..1415fde --- /dev/null +++ b/sources/pns.usr/postinstall/install/var/named/sr.user.hu.zone @@ -0,0 +1,227 @@ +$TTL 86400 +@ IN SOA svc.sr.user.hu. hostmaster.svc.sr.user.hu. ( + 2019012801 ; Serial + 86400 ; Refresh (1 day) + 7200 ; Retry (2 hours) + 2419200 ; Expire (4 weeks) + 3600) ; Minimum (1 hour) + IN NS ns.sr.user.hu. + +sr.user.hu. IN A 192.168.42.253 + +ipg IN A 192.168.42.254 ; ipg +router IN CNAME ipg.sr.user.hu. +svc IN A 192.168.42.253 ; svc +ns IN A 192.168.42.253 ; ns +dhcp IN CNAME svc.sr.user.hu. +mx IN CNAME svc.sr.user.hu. +ntp IN CNAME svc.sr.user.hu. +management IN A 192.168.42.252 ; management +mgmt IN CNAME management.sr.user.hu. +vpn IN A 192.168.42.251 ; vpn +store IN A 192.168.42.250 ; store +domino IN A 192.168.42.249 ; domino +domino85 IN CNAME domino.sr.user.hu. +pop3 IN CNAME domino.sr.user.hu. +worksheet IN A 192.168.42.248 ; worksheet +kbsvr IN A 192.168.42.247 ; knowledgebase server +ads IN A 192.168.42.246 ; Active Directory server +spelive IN A 192.168.42.245 ; Sharepoint Enterprise Live +splive IN A 192.168.42.244 ; SharePoint Live +ccsvr IN A 192.168.42.243 ; ClearCase server +sg-1 IN A 192.168.42.242 ; shellinabox server (zsoos) +kickstart IN A 192.168.42.241 ; kickstart server (zfelleg) +verbatsm IN A 192.168.42.240 ; Arpinak TSM szerver +db2svr IN A 192.168.42.239 ; DB2 server +sp2010test IN A 192.168.42.238 ; Sharepoint 2010 test (srevesz) + +datacap-rr IN A 192.168.42.236 ; Datacap rulerunner (akosztolanyi) +tsm55 IN A 192.168.42.235 ; 5.5-os TSM szmarcell, flex, akosztolanyi +imrtest IN A 192.168.42.234 ; imrtest (fschnell) +sza IN A 192.168.42.233 ; szopoalarc +project IN A 192.168.42.232 ; project +testcibod IN A 192.168.42.231 ; CIB OnDemand test (fuge) +jazzserver IN A 192.168.42.230 ; jazz.net (RTC) server +netmon IN A 192.168.42.229 ; netmon (marcell, fritter) +test IN A 192.168.42.228 ; (kickstart) test +;vcsvr51 IN A 192.168.42.227 ; vCenter server + + +erstehit IN A 192.168.42.224 ; Erste (fuge) +wiki IN A 192.168.42.223 ; wiki (moinmoin) +xp-22 IN A 192.168.42.222 ; XP 22 +xp-21 IN A 192.168.42.221 ; XP 21 +xp-20 IN A 192.168.42.220 ; XP 20 +xp-19 IN A 192.168.42.219 ; XP 19 +xp-18 IN A 192.168.42.218 ; XP 18 +xp-17 IN A 192.168.42.217 ; XP 17 +xp-16 IN A 192.168.42.216 ; XP 16 +xp-15 IN A 192.168.42.215 ; XP 15 +xp-14 IN A 192.168.42.214 ; XP 14 +xp-13 IN A 192.168.42.213 ; XP 13 +xp-12 IN A 192.168.42.212 ; XP 12 +xp-11 IN A 192.168.42.211 ; XP 11 +xp-10 IN A 192.168.42.210 ; XP 10 +xp-template IN A 192.168.42.209 ; XP template +rtc IN A 192.168.42.208 ; rtc (arpi) +vmbkp IN A 192.168.42.207 ; VMWare Backup Server +vhost3 IN CNAME vmbkp.sr.user.hu. +mqsvr IN A 192.168.42.206 ; MQ server (srevesz) +mqback IN A 192.168.42.205 ; MQ backup server (srevesz) +mqfiles IN A 192.168.42.204 ; MQ file server (srevesz) +azsamboki01 IN A 192.168.42.203 ; azsamboki test 01 +praxis IN A 192.168.42.202 ; praxis (dvasary) +edoki IN CNAME praxis.sr.user.hu. +;ds5020b IN A 192.168.42.201 ; DS5020 ctrl B +;ds5020a IN A 192.168.42.200 ; DS5020 ctrl A + + +;vtlstgb IN A 192.168.42.197 ; VTL storage ctrl B +;vtlstga IN A 192.168.42.196 ; VTL storage ctrl A +lto IN A 192.168.42.195 ; TS3200 +csldallianz IN A 192.168.42.194 ; CSLD Allianz (fuge) +store-old IN A 192.168.42.193 ; old store +fcsw1 IN A 192.168.42.192 ; FC switch +fcsw0 IN A 192.168.42.191 ; FC switch +tsmmonp IN A 192.168.42.190 ; TSM monitoring primary +tsmmons IN A 192.168.42.189 ; TSM monitoring primary +accounting IN A 192.168.42.188 ; accounting server +jenkinslnx IN A 192.168.42.185 ; rhel +jenkinstst IN A 192.168.42.184 ; win 2008 +jenkinswin IN A 192.168.42.183 ; win 2008 +jenkinsaix IN A 192.168.42.182 ; aix +magdevdc IN A 192.168.42.181 ; MAG dev dc +ssam71 IN A 192.168.42.180 ; Arpinak, TSM-SSM teszt +dominoadmin IN A 192.168.42.174 ; rkonkoly domino administrator + +tsmclustera IN A 192.168.42.173 ; FRitter, BB Test cluster +tsmclusterb IN A 192.168.42.172 ; FRitter, BB Test cluster +tsmcluster IN A 192.168.42.171 ; FRitter, BB Test cluster + +;cwdba IN A 192.168.42.162 ; zfelleg temp +;cwdbb IN A 192.168.42.161 ; zfelleg temp +;cwbina IN A 192.168.42.160 ; zfelleg temp +;cwbinb IN A 192.168.42.159 ; zfelleg temp + +; network ...128/27 -> desktops +; network address: ...128 +; host addresses: ...129 - ...158 +; broadcast address: ...159 + +win-7-base IN A 192.168.42.158 ; Windows 7 base image +win-7-thinapp IN A 192.168.42.157 ; ThinApp build machine +win-7-20 IN A 192.168.42.148 ; Windows 7 20 +win-7-19 IN A 192.168.42.147 ; Windows 7 19 +win-7-18 IN A 192.168.42.146 ; Windows 7 18 +win-7-17 IN A 192.168.42.145 ; Windows 7 17 +win-7-16 IN A 192.168.42.144 ; Windows 7 16 +win-7-15 IN A 192.168.42.143 ; Windows 7 15 +win-7-14 IN A 192.168.42.142 ; Windows 7 14 +win-7-13 IN A 192.168.42.141 ; Windows 7 13 +win-7-12 IN A 192.168.42.140 ; Windows 7 12 +win-7-11 IN A 192.168.42.139 ; Windows 7 11 +win-7-10 IN A 192.168.42.138 ; Windows 7 10 +win-7-09 IN A 192.168.42.137 ; Windows 7 09 +win-7-08 IN A 192.168.42.136 ; Windows 7 08 +win-7-07 IN A 192.168.42.135 ; Windows 7 07 +win-7-06 IN A 192.168.42.134 ; Windows 7 06 +win-7-05 IN A 192.168.42.133 ; Windows 7 05 +win-7-04 IN A 192.168.42.132 ; Windows 7 04 +win-7-03 IN A 192.168.42.131 ; Windows 7 03 +win-7-02 IN A 192.168.42.130 ; Windows 7 02 +win-7-zfelleg IN CNAME win-7-02.sr.user.hu. +win-7-01 IN A 192.168.42.129 ; Windows 7 01 +win-7-rkallai IN CNAME win-7-01.sr.user.hu. + +jobworker IN A 192.168.42.116 ; job worker dvasary +jobengine IN A 192.168.42.115 ; job engine dvasary +astronfw IN A 192.168.42.114 ; firewall/gateway for Astron +wasng IN A 192.168.42.113 ; syslog-ng demo WAS +slng IN A 192.168.42.112 ; syslog-ng demo +nimol IN A 192.168.42.111 ; nimol teszt / temp / zsoos +lajos IN A 192.168.42.110 ; zsamboki p550 AIX +vtl IN A 192.168.42.109 ; zsamboki +gpfs02 IN A 192.168.42.108 ; gpfs demo zsamboki +gpfs01 IN A 192.168.42.107 ; gpfs demo zsamboki +redhat IN A 192.168.42.106 ; Exchange mentes demo zsamboki +ubuntu IN A 192.168.42.105 ; Exchange mentes demo zsamboki +mssql IN A 192.168.42.104 ; Exchange mentes demo zsamboki +exchsrv2 IN A 192.168.42.103 ; Exchange mentes demo zsamboki +exchsrv IN A 192.168.42.102 ; Exchange mentes demo zsamboki +exchdc IN A 192.168.42.101 ; Exchange mentes demo zsamboki +sptest IN A 192.168.42.100 ; SharePoint test (kalman) +director IN A 192.168.42.99 ; IBM Systems Director (zsamboki) +tpc IN A 192.168.42.97 ; tpc (zsamboki) +nas1 IN A 192.168.42.96 ; netapp test +nas2 IN A 192.168.42.95 ; netapp test +nas3 IN A 192.168.42.94 ; netapp test + +; HACMP zsamboki +hacmp61 IN A 192.168.42.93 ; HACMP PowerHA 6.1 node1 +hacmp62 IN A 192.168.42.92 ; HACMP PowerHA 6.1 node2 +ha1 IN A 192.168.42.91 ; HACMP PowerHA 6.1 service ip 1 +ha2 IN A 192.168.42.90 ; HACMP PowerHA 6.1 service ip 2 +kofax1 IN A 192.168.42.89 ; +kofax2 IN A 192.168.42.88 ; +kofax3 IN A 192.168.42.87 ; +tfsproxy IN A 192.168.42.86 ; +wpar01 IN A 192.168.42.85 ; +spatial IN A 192.168.42.84 ; szmarcell, oracle RMAN teszt +kofaxcluster IN A 192.168.42.83 ; +kofaxclusterfs IN A 192.168.42.82 ; +kofaxclustersrv IN A 192.168.42.81 ; +kofaxid1 IN A 192.168.42.80 ; +kofaxid2 IN A 192.168.42.79 ; +kofaxid IN A 192.168.42.78 ; +kofaxidfs IN A 192.168.42.77 ; +kofaxidcluster IN A 192.168.42.76 ; + +mirror1 IN A 192.168.42.75 ; PowerHA 7.1 zsamboki +mirror2 IN A 192.168.42.74 ; PowerHA 7.1 zsamboki +mirrorapp1 IN A 192.168.42.73 ; PowerHA 7.1 zsamboki +mavirnim IN A 192.168.42.72 ; MAVIR NIM restore test zsamboki +boinc4 IN A 192.168.42.68 ; boinc 4 (zfelleg) +boinc3 IN A 192.168.42.67 ; boinc 3 (zfelleg) +boinc2 IN A 192.168.42.66 ; boinc 2 (zfelleg) +boinc1 IN A 192.168.42.65 ; boinc 1 (zfelleg) +win2k8r2 IN A 192.168.42.64 ; Windows 2008 R2 Server Template IP cim, szmarcell +edmstest IN A 192.168.42.63 ; EDMS Test szerver Robinak, szmarcell +pftsm1 IN A 192.168.42.62 ; PureFlex szerver +pftsm2 IN A 192.168.42.61 ; PureFlex szerver +pftsm3 IN A 192.168.42.60 ; PureFlex szerver +pftws1 IN A 192.168.42.59 ; PureFlex szerver +pfsd1 IN A 192.168.42.58 ; PureFlex szerver +pfitm1 IN A 192.168.42.57 ; PureFlex szerver +pfbes1 IN A 192.168.42.56 ; PureFlex szerver +pfwinc1 IN A 192.168.42.55 ; PureFlex szerver +pflinc1 IN A 192.168.42.54 ; PureFlex szerver +tsmapiw IN A 192.168.42.53 ; PureFlex szerver +tsmapil IN A 192.168.42.52 ; PureFlex szerver +tfs IN A 192.168.42.51 ; TFS Verziokezelo, VasaryD, RendekR + + +; A 30-39 tartomanyt is foglalom az LPAR-oknak +fhbws IN A 192.168.42.39 ; FHB WebSphere Test, szmarcell +fhbws4 IN A 192.168.42.38 ; FHB WebSphere Test, szmarcell +prxy IN A 192.168.42.37 +build61w IN A 192.168.42.36 +fhbws3 IN A 192.168.42.35 ; FHB WebSphere Test, szmarcell +fhbws2 IN A 192.168.42.34 ; FHB WebSphere Test, szmarcell +fhbws1 IN A 192.168.42.33 ; FHB WebSphere Test, szmarcell +nim IN A 192.168.42.32 +vio2 IN A 192.168.42.31 +db2t IN A 192.168.42.28 +build71 IN A 192.168.42.27 +build61 IN A 192.168.42.26 +build53 IN A 192.168.42.25 +tsm IN A 192.168.42.24 +rac2 IN A 192.168.42.23 +rac1 IN A 192.168.42.22 +vio1 IN A 192.168.42.21 ; LPAR 1 vio (p7-750) +hmc IN A 192.168.42.20 ; hmc +fhbwsc2 IN A 192.168.42.19 ; FHB WebSphere Test, szmarcell +orasrv IN A 192.168.42.5 ; Oracle (srevesz) +dhcp4 IN A 192.168.42.4 ; DHCP address 4 +dhcp3 IN A 192.168.42.3 ; DHCP address 3 +dhcp2 IN A 192.168.42.2 ; DHCP address 2 +dhcp1 IN A 192.168.42.1 ; DHCP address 1 diff --git a/sources/pns.usr/postinstall/install/var/named/useribm.hu.zone b/sources/pns.usr/postinstall/install/var/named/useribm.hu.zone new file mode 100644 index 0000000..524e869 --- /dev/null +++ b/sources/pns.usr/postinstall/install/var/named/useribm.hu.zone @@ -0,0 +1,37 @@ +$TTL 86400 +@ IN SOA ns1.useribm.hu. hostmaster.mx.useribm.hu. ( + 2019080501 ; Serial + 86400 ; Refresh (1 day) + 7200 ; Retry (2 hours) + 2419200 ; Expire (4 weeks) + 3600) ; Minimum (1 hour) + IN NS ns1.useribm.hu. + IN NS ns2.useribm.hu. + MX 10 mx.useribm.hu. + IN TXT "v=spf1 +mx -all" + IN SPF "v=spf1 +mx -all" + +efg IN A 194.149.40.146 ; efg +mx IN A 194.149.40.147 ; mail exchanger +ns IN A 194.149.40.148 ; primary name server +ns1 IN A 194.149.40.148 ; primary name server +ns2 IN A 46.107.213.35 ; secondary name server +vpn IN A 194.149.40.149 ; OpenVPN server +hg IN A 194.149.40.150 ; mercurial +jtrac IN A 194.149.40.150 ; jtrac +minicrm IN A 194.149.40.150 ; minicrm +redmine IN A 194.149.40.150 ; redmine +svn IN A 194.149.40.150 ; subversion +ws IN A 194.149.40.150 ; web server +www IN A 194.149.40.150 ; web server +@ IN A 194.149.40.150 ; userrendszerhaz.hu +minecraft IN A 194.149.40.151 ; akosztolanyi minecraft +unused152 IN A 194.149.40.152 ; unused +unused153 IN A 194.149.40.153 ; unused +unused154 IN A 194.149.40.154 ; unused +unused155 IN A 194.149.40.155 ; unused +unused156 IN A 194.149.40.156 ; unused +zfdl360e IN A 194.149.40.157 ; zfelleg DL360e +fschnell IN A 194.149.40.158 ; fschnell/zfelleg server +zfelleg IN A 194.149.40.158 ; fschnell/zfelleg server +zfdl380e IN A 194.149.40.158 ; zfelleg DL380e diff --git a/sources/pns.usr/postinstall/install/var/named/userrendszerhaz.hu.zone b/sources/pns.usr/postinstall/install/var/named/userrendszerhaz.hu.zone new file mode 100644 index 0000000..d733b91 --- /dev/null +++ b/sources/pns.usr/postinstall/install/var/named/userrendszerhaz.hu.zone @@ -0,0 +1,48 @@ +$TTL 86400 +@ IN SOA ns1.userrendszerhaz.hu. hostmaster.mx.userrendszerhaz.hu. ( + 2019080501 ; Serial + 86400 ; Refresh (1 day) + 7200 ; Retry (2 hours) + 2419200 ; Expire (4 weeks) + 3600) ; Minimum (1 hour) + IN NS ns1.userrendszerhaz.hu. + IN NS ns2.userrendszerhaz.hu. + MX 1 aspmx.l.google.com. + MX 5 alt1.aspmx.l.google.com. + MX 5 alt2.aspmx.l.google.com. + MX 10 aspmx2.googlemail.com. + MX 10 aspmx3.googlemail.com. + IN SPF "v=spf1 include:_spf.google.com ~all" + IN TXT "v=spf1 include:_spf.google.com ~all" + +efg IN A 194.149.40.146 ; efg +mx IN A 194.149.40.147 ; mail exchanger +ns IN A 194.149.40.148 ; primary name server +ns1 IN A 194.149.40.148 ; primary name server +ns2 IN A 46.107.213.35 ; secondary name server +vpn IN A 194.149.40.149 ; OpenVPN server +hg IN A 194.149.40.150 ; mercurial +jtrac IN A 194.149.40.150 ; jtrac +minicrm IN A 194.149.40.150 ; minicrm +redmine IN A 194.149.40.150 ; redmine +svn IN A 194.149.40.150 ; subversion +ws IN A 194.149.40.150 ; web server +www IN A 194.149.40.150 ; web server +@ IN A 194.149.40.150 ; userrendszerhaz.hu +minecraft IN A 194.149.40.151 ; akosztolanyi minecraft +unused152 IN A 194.149.40.152 ; unused +unused153 IN A 194.149.40.153 ; unused +unused154 IN A 194.149.40.154 ; unused +unused155 IN A 194.149.40.155 ; unused +unused156 IN A 194.149.40.156 ; unused +zfdl360e IN A 194.149.40.157 ; zfelleg DL360e +fschnell IN A 194.149.40.158 ; fschnell/zfelleg server +zfelleg IN A 194.149.40.158 ; fschnell/zfelleg server +zfdl380e IN A 194.149.40.158 ; zfelleg DL380e + +calendar IN CNAME ghs.google.com. +docs IN CNAME ghs.google.com. +mail IN CNAME ghs.google.com. +sites IN CNAME ghs.google.com. + +googleffffffff963b8d47 IN CNAME google.com. diff --git a/sources/pns.usr/postinstall/install/var/named/usr.user.hu.zone b/sources/pns.usr/postinstall/install/var/named/usr.user.hu.zone new file mode 100644 index 0000000..3c663c4 --- /dev/null +++ b/sources/pns.usr/postinstall/install/var/named/usr.user.hu.zone @@ -0,0 +1,353 @@ +$TTL 86400 +@ IN SOA ns.usr.user.hu. hostmaster.mx.usr.user.hu. ( + 2019110401 ; Serial + 86400 ; Refresh (1 day) + 7200 ; Retry (2 hours) + 2419200 ; Expire (4 weeks) + 3600) ; Minimum (1 hour) + IN NS ns.usr.user.hu. + +; 1 2 +; 12345678901234567890123456 +; abcdefghijklmnopqrstuvwxyz +; 123456789 + +; ================================================================ +; wifi routers (wr = 23 * 10 + 18 = 248) +; ================================================================ +archer-c5-sf IN A 10.228.248.196 ; sf (second floor) +archer-c5-ff IN A 10.228.248.66 ; ff (first floor) + +; ================================================================ +; 2N/two n (tn = 20 * 10 + 15 = 215) +; ================================================================ +tn-phone-sf IN A 10.228.215.196 ; sf (second floor) +tn-intercom-gf IN A 10.228.215.76 ; gf (ground floor) +tn-phone-ff IN A 10.228.215.66 ; ff (first floor) +tn-ac IN A 10.228.215.13 ; ac (access control) + +; ================================================================ +; servers (sv = 19 * 10 + 22 = 212) +; ================================================================ +db2svr IN A 10.228.212.42 ; db/d2 +accounting IN A 10.228.212.13 ; ac + +; ================================================================ +; spectrum scale sandbox (ss = 19 * 10 + 19 = 209) +; ================================================================ +sssbn3 IN A 10.228.209.131 ; site b node 3 +sssbn2 IN A 10.228.209.130 ; site b node 2 +sssbn1 IN A 10.228.209.129 ; site b node 1 +sssan3 IN A 10.228.209.3 ; site a node 3 +sssan2 IN A 10.228.209.2 ; site a node 2 +sssan1 IN A 10.228.209.1 ; site a node 1 + +; ================================================================ +; sharepoint sandbox (sp = 19 * 10 + 16 = 206) +; ================================================================ +spstsql IN A 10.228.206.212 ; st + 2 +spstad IN A 10.228.206.211 ; st + 1 +spstsp IN A 10.228.206.210 ; st +spw2k08sql IN A 10.228.206.207 ; sq +spw2k08sp IN A 10.228.206.206 ; sp +spw2k08ad IN A 10.228.206.14 ; ad +ppitsp IN A 10.228.206.3 +ppitdb IN A 10.228.206.2 +ppitad IN A 10.228.206.1 + +; ================================================================ +; rrendek (rr = 18 * 10 + 18 = 198) +; ================================================================ +rruserdev1 IN A 10.228.198.214 +userdev1 IN A 10.228.198.214 +rredms IN A 10.228.198.53 ; dm +rrwas90 IN A 10.228.198.2 +was90 IN A 10.228.198.2 +rrdb2 IN A 10.228.198.1 + +; ================================================================ +; sandbox (sb = 19 * 10 + 2 = 192) +; ================================================================ +tsmapil IN A 10.228.192.212 ; tl +ssam IN A 10.228.192.209 ; ss +spsbsql IN A 10.228.192.207 ; sq +spsb IN A 10.228.192.206 ; sp +tsmddtest IN A 10.228.192.204 ; td +toolbox IN A 10.228.192.202 ; tb +spsbad IN A 10.228.192.191 ; sa +jenkinswin IN A 10.228.192.123 ; jw +oratest IN A 10.228.192.70 ; ot +mkbdarc2dev IN A 10.228.192.44 ; dd +blobtest IN A 10.228.192.40 ; bt + +; ================================================================ +; rkonkoly (rk = 18 * 10 + 11 = 191) +; ================================================================ +rkdominoadmin IN A 10.228.191.1 + +; ================================================================ +; redhat gluster storage server sandbox (rg = 18 * 10 + 7 = 187) +; ================================================================ +rhgssn3 IN A 10.228.187.3 ; node 2 +rhgssn2 IN A 10.228.187.2 ; node 2 +rhgssn1 IN A 10.228.187.1 ; node 1 + +; ================================================================ +; purebackup (pb = 16 * 10 + 2 = 162) +; ================================================================ +purebcw2k12 IN A 10.228.162.242 +purebcw2k08 IN A 10.228.162.238 +purebcw2k03 IN A 10.228.162.233 +purebcrhel7 IN A 10.228.162.187 +purebcrhel6 IN A 10.228.162.186 +purebcwdb2105 IN A 10.228.162.106 +purebcldb2105 IN A 10.228.162.105 +purebcldb297 IN A 10.228.162.97 +purebcaix71 IN A 10.228.162.17 + +; ================================================================ +; network switches (ns = 14 * 10 + 19 = 159) +; ================================================================ +t1600g-28ts-sfu IN A 10.228.159.211 ; su (second floor upper) +smcgs24c-srm IN A 10.228.159.203 ; sm (server room management) +t1600g-28ts-sfl IN A 10.228.159.202 ; sl (second floor lower) +t1600g-28ts-sri IN A 10.228.159.199 ; si (server room internal) +smcgs24c-sre IN A 10.228.159.195 ; se (server room external) +t1600g-28ts-ffu IN A 10.228.159.81 ; fu (first floor upper) +t1600g-28ts-ffl IN A 10.228.159.72 ; fl (first floor lower) + +; ================================================================ +; network printers (np = 14 * 10 + 16 = 156) +; ================================================================ +infoprint1120 IN A 10.228.156.106 ; ip +bizhubc253 IN A 10.228.156.28 ; bh + +; ================================================================ +; mszabo (ms = 13 * 10 + 19 = 149) +; ================================================================ +msexchange IN A 10.228.149.243 ; xc +msptt4 IN A 10.228.149.212 +msptt3 IN A 10.228.149.211 +msptt2 IN A 10.228.149.210 +msptt1 IN A 10.228.149.209 +msrdnt IN A 10.228.149.184 ; rd +mstsmdtest IN A 10.228.149.5 +msfhblbtest2 IN A 10.228.149.4 +msfhblbtest1 IN A 10.228.149.3 +msflashtest IN A 10.228.149.2 +mstsmupgrade IN A 10.228.149.1 + +; ================================================================ +; integration toolbox test servers (it = 9 * 10 + 20 = 110) +; ================================================================ +ittestrhel65 IN A 10.228.110.65 +ittestwin2012 IN A 10.228.110.12 + +; ================================================================ +; infrastructure servers (is = 9 * 10 + 19 = 109) +; ================================================================ +ifg IN A 10.228.109.254 +dhcp IN A 10.228.109.253 +mx IN A 10.228.109.253 +ns IN A 10.228.109.253 +svc IN A 10.228.109.253 +ldap IN A 10.228.109.252 +vpnvm IN A 10.228.109.251 +store IN A 10.228.109.250 +svn IN A 10.228.109.250 +tsm IN A 10.228.109.249 + +vpn IN A 10.228.109.236 ; vp + +isc IN A 10.228.109.193 ; sc (ibm spectrum connect) + +pns IN A 10.228.109.174 ; pn + +minicrm IN A 10.228.109.133 ; mc + +iscbe IN A 10.228.109.109 ; is + +ins IN A 10.228.109.104 ; in + +cvm IN A 10.228.109.52 ; cv (container virtual machine) + +winadk IN A 10.228.109.51 ; dk + +; ================================================================ +; infrastructure management (im = 9 * 10 + 13 = 103) +; ================================================================ +v5010svc2 IN A 10.228.103.246 ; v5 + (s + 2) +v5010svc1 IN A 10.228.103.245 ; v5 + (s + 1) +v5010b IN A 10.228.103.227 ; v5 + b +v5010 IN A 10.228.103.225 ; v5 +vhost6imm IN A 10.228.103.6 +vhost5xcc IN A 10.228.103.5 +vhost4xcc IN A 10.228.103.4 +vhost3imm IN A 10.228.103.3 +vhost2imm IN A 10.228.103.2 +vhost1imm IN A 10.228.103.1 + +; ================================================================ +; hypervisor management (hm = 8 * 10 + 13 = 93) +; ================================================================ +vcsa67 IN A 10.228.93.67 +vcsa65 IN A 10.228.93.65 +vhost6 IN A 10.228.93.6 +dev2003esxi IN A 10.228.93.6 +vhost5 IN A 10.228.93.5 +vhost4 IN A 10.228.93.4 +vhost3 IN A 10.228.93.3 +vhost2 IN A 10.228.93.2 +ntp2 IN A 10.228.93.2 +vhost1 IN A 10.228.93.1 +ntp1 IN A 10.228.93.1 + +; ================================================================ +; infrastructure backup servers (ib = 9 * 10 + 2 = 92) +; ================================================================ +cvmb IN A 10.228.92.52 ; cv (container virtual machine) + +; ================================================================ +; fuge (fu = 6 * 10 + 21 = 81) +; ================================================================ +fuonyffilenet IN A 10.228.81.2 +futmp IN A 10.228.81.1 + +; ================================================================ +; fschnell (fs = 6 * 10 + 19 = 79) +; ================================================================ +fsws IN A 10.228.79.249 +fs-iibv10 IN A 10.228.79.92 +fsmq8004 IN A 10.228.79.84 +fsmq80 IN A 10.228.79.80 +fsmq75 IN A 10.228.79.75 +fsmq70 IN A 10.228.79.70 + +; ================================================================ +; fritter (fr = 6 * 10 + 18 = 78) +; ================================================================ +frsppapp IN A 10.228.78.206 ; sp +frtsm71 IN A 10.228.78.71 +frtsmc7 IN A 10.228.78.37 +frtsm12 IN A 10.228.78.12 + +; ================================================================ +; fpga development (fd = 6 * 10 + 4 = 64) +; ================================================================ +fdthinkstation IN A 10.228.64.219 ; ts +fdlc922 IN A 10.228.64.123 ; lc +fdlc922bmc IN A 10.228.64.122 ; lb + +; ================================================================ +; dvasary (dv = 4 * 10 + 22 = 62) +; ================================================================ +dvredmine IN A 10.228.62.193 ; rm +dvedmstest IN A 10.228.62.70 ; et +dvaviglion IN A 10.228.62.32 ; av + +; ================================================================ +; desktops (dt = 4 * 10 + 20 = 60) +; ================================================================ +$GENERATE 1-9 desktop00$ A 10.228.60.$ +$GENERATE 10-99 desktop0$ A 10.228.60.$ +$GENERATE 100-254 desktop$ A 10.228.60.$ + +; ================================================================ +; dhcp clients (dc = 4 * 10 + 3 = 43) +; ================================================================ +$GENERATE 1-9 dhcp00$ A 10.228.43.$ +$GENERATE 10-99 dhcp0$ A 10.228.43.$ +$GENERATE 100-254 dhcp$ A 10.228.43.$ + +; ================================================================ +; old sr (192.168.42.0) static dhcp clients +; ================================================================ +ads IN A 10.228.42.246 +spelive IN A 10.228.42.245 +datacap-rr IN A 10.228.42.236 +testcibod9 IN A 10.228.42.231 +rtc4 IN A 10.228.42.208 +vmbkp IN A 10.228.42.207 +mqsvr IN A 10.228.42.206 +mqback IN A 10.228.42.205 +mqfiles IN A 10.228.42.204 +azsamboki01 IN A 10.228.42.203 +csldallianz IN A 10.228.42.194 +tsmmon-p IN A 10.228.42.190 +tsmmon-s IN A 10.228.42.189 +accounting IN A 10.228.42.188 +jenkinslnx IN A 10.228.42.185 +jenkinstst IN A 10.228.42.184 +ssam71 IN A 10.228.42.180 + +; ================================================================ +; azsamboki (az = 1 * 10 + 26 = 36) +; ================================================================ +azsssam IN A 10.228.36.209 ; ss +azsssamdev IN A 10.228.36.194 ; sd +azsnfs IN A 10.228.36.146 ; nf +azsgpfs2 IN A 10.228.36.88 ; gp + 2 +azsgpfs1 IN A 10.228.36.87 ; gp + 1 +azsgpfs IN A 10.228.36.86 ; gp + +; ================================================================ +; capi development (cd = 3 * 10 + 4 = 34) +; ================================================================ +cdvm IN A 10.228.34.233 +cdsmartlynq IN A 10.228.34.202 ; sl +cds822p4 IN A 10.228.34.25 +cds822p3 IN A 10.228.34.24 +cds822p2 IN A 10.228.34.23 +cds822p1 IN A 10.228.34.22 +cds822 IN A 10.228.34.22 +cds822hmc2 IN A 10.228.34.2 +cds822hmc1 IN A 10.228.34.1 + +; ================================================================ +; akosztolanyi (ak = 1 * 10 + 11 = 21) +; ================================================================ +akmacmini IN A 10.228.21.143 ; mm +akminecraft IN A 10.228.21.1 + +; ================================================================ +; artificial intelligence (ai = 1 * 10 + 9 = 19) +; ================================================================ +aiac922 IN A 10.228.19.13 ; ac +aiac922bmc IN A 10.228.19.12 ; ab +aiac922icell IN A 10.228.19.10 +aiac922icellbmc IN A 10.228.19.9 + +; ================================================================ +; acsiba (ac = 1 * 10 + 3 = 13) +; ================================================================ +acubuntu1804 IN A 10.228.13.18 ; tsmterminal +acubuntu14 IN A 10.228.13.14 ; tsmterminal +acopensuse11 IN A 10.228.13.11 ; tsmterminal +acwin10 IN A 10.228.13.10 +accentos5 IN A 10.228.13.5 ; tsmterminal + +; ================================================================ +; zfelleg (zf = 26 * 10 + 6 (mod 256) = 10) +; ================================================================ +zfws IN A 10.228.10.249 ; ws +zfvpn IN A 10.228.10.236 ; vp +zfwd IN A 10.228.10.234 ; wd +zfvc IN A 10.228.10.223 ; vc +zfmssql IN A 10.228.10.149 ; ms +zfdl380eilo IN A 10.228.10.140 ; il + 38 +zfdl360eilo IN A 10.228.10.138 ; il + 36 +zfilo IN A 10.228.10.102 ; il +zfdl380e IN A 10.228.10.90 ; dl + 38 +zfdl360e IN A 10.228.10.88 ; dl + 36 +zfhfe IN A 10.228.10.86 ; hf +zfdevrhel8b IN A 10.228.10.48 ; d8 +zfdevrhel7 IN A 10.228.10.47 ; d7 +zfbldw2k08 IN A 10.228.10.28 ; b8 +zfbldrhel7 IN A 10.228.10.27 ; b7 +zfbldrhel6 IN A 10.228.10.26 ; b6 +zfboinc2 IN A 10.228.10.22 +zfboinc1 IN A 10.228.10.21 +zfwin2k IN A 10.228.10.20 +zfwin7 IN A 10.228.10.7 +zfryzen IN A 10.228.10.3 ; ryzen 2400G +zfblu-r1-hd IN A 10.228.10.2 -- 2.54.0