Update Many Configs

This commit is contained in:
IntenseWebs 2024-05-25 08:09:52 -05:00
parent 69ad581489
commit 1386ae2beb
49 changed files with 614 additions and 14 deletions

View File

View File

@ -16,7 +16,7 @@ Group=opc
WorkingDirectory=/usr/local/bin
#Create directory in /run
RuntimeDirectory=bin
ExecStart=/usr/local/bin/boringproxy server
ExecStart=/usr/local/bin/boringproxy server -admin-domain SUBDOMAIN.DOMAIN.TLD
Restart=always
WatchdogSec=30s
#Capabilities to bind to low-numbered ports

View File

@ -16,7 +16,7 @@ Group=opc
WorkingDirectory=/usr/local/bin
#Create directory in /run
RuntimeDirectory=bin
ExecStart=/usr/local/bin/boringproxy server
ExecStart=/usr/local/bin/boringproxy server -admin-domain SUBDOMAIN.DOMAIN.TLD
Restart=always
WatchdogSec=30s
#Capabilities to bind to low-numbered ports

View File

@ -0,0 +1,17 @@
$ORIGIN corp.intensewebs.com.
$TTL 604800
;
@ IN SOA ns1.intensewebs.com. dns.intensewebs.com. (
60 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
IN NS ns1.intensewebs.com.
IN NS ns2.intensewebs.com.
;
IN MX 10 mail.intensewebs.com.
;
ipa1 IN A 192.168.1.124
ipa2 IN A 192.168.1.125

View File

@ -0,0 +1,31 @@
;
; Internal Split-DNS Bind9 Reverse Lookup Data for IntenseWebs.com corp.intensewebs.com NuKVM.org and Iweb.City zones
;
$TTL 604800
@ IN SOA ns1.intensewebs.com. dns.intensewebs.com. (
60 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
IN NS ns1.intensewebs.com.
IN NS ns2.intensewebs.com.
ns1.intensewebs.com. IN A 192.168.1.140
ns2.intensewebs.com. IN A 192.168.1.141
3 IN PTR giti.iweb.city
4 IN PTR ng1.iweb.city
66 IN PTR gitea.nukvm.org
121 IN PTR alma1.intensewebs.com
123 IN PTR git.intensewebs.com
124 IN PTR ipa1.corp.intensewebs.com
125 IN PTR ipa2.corp.intensewebs.com
126 IN PTR pg.intensewebs.com
140 IN PTR ns1.intensewebs.com
141 IN PTR ns2.intensewebs.com
200 IN PTR tdebian.intensewebs.com
201 IN PTR tnginx.iweb.city
202 IN PTR tfedora.intensewebs.com
222 IN PTR sd.intensewebs.com
223 IN PTR superdog.intensewebs.com

View File

@ -0,0 +1,17 @@
$ORIGIN corp.intensewebs.com.
$TTL 604800
;
@ IN SOA ns1.intensewebs.com. dns.intensewebs.com. (
60 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
IN NS ns1.intensewebs.com.
IN NS ns2.intensewebs.com.
;
IN MX 10 mail.intensewebs.com.
;
ipa1 IN A 192.168.1.124
ipa2 IN A 192.168.1.125

View File

@ -0,0 +1,35 @@
$ORIGIN intensewebs.com.
$TTL 604800
;
@ IN SOA ns1.intensewebs.com. dns.intensewebs.com. (
60 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
IN NS ns1.intensewebs.com.
IN NS ns2.intensewebs.com.
;
IN MX 10 mail.intensewebs.com.
;
alma1 IN A 192.168.1.121
git IN A 192.168.1.123
pg IN A 192.168.1.126
;
ns1 IN A 192.168.1.140
ns2 IN A 192.168.1.141
tdebian IN A 192.168.1.200
tfedora IN A 192.168.1.202
sd IN A 192.168.1.222
superdog IN A 192.168.1.223
;
ftp IN A 74.63.233.135
mail IN A 74.63.233.135
webmail IN A 74.63.233.135
www IN A 74.63.233.135
;
t IN A 129.146.170.34
lab IN A 129.146.170.34
;
u IN A 129.153.118.150

View File

@ -0,0 +1,24 @@
$ORIGIN iweb.city.
$TTL 604800
;
@ IN SOA ns1.intensewebs.com. dns.intensewebs.com. (
60 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
IN NS ns1.intensewebs.com.
IN NS ns2.intensewebs.com.
;
IN MX 10 mail.iweb.city.
;
* IN A 129.146.170.34
lab IN A 129.146.170.34
mail IN A 74.63.233.135
ftp IN A 74.63.233.135
www IN A 74.63.233.135
;
giti IN A 192.168.1.3
ng1 IN A 192.168.1.4
tnginx IN A 192.168.1.201

View File

@ -0,0 +1,22 @@
$ORIGIN nukvm.org.
$TTL 604800
;
@ IN SOA ns1.intensewebs.com. dns.intensewebs.com. (
60 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
IN NS ns1.intensewebs.com.
IN NS ns2.intensewebs.com.
;
IN MX 10 mail.nukvm.org.
;
lab IN A 129.153.118.150
mail IN A 74.63.233.135
ftp IN A 74.63.233.135
www IN A 74.63.233.135
;
gitea IN A 192.168.1.66
* IN A 129.153.118.150

View File

@ -0,0 +1 @@
ns1

View File

@ -0,0 +1,7 @@
127.0.0.1 localhost
192.168.1.140 ns1.intensewebs.com ns1
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

View File

@ -0,0 +1,11 @@
source /etc/network/interfaces.d/*
auto lo
iface lo inet loopback
allow-hotplug enp1s0
iface enp1s0 inet static
address 192.168.1.140
netmask 255.255.255.0
gateway 192.168.1.131
dns-domain intensewebs.com
dns-nameservers 192.168.1.140 192.168.1.141

View File

@ -0,0 +1,11 @@
// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind9/README.Debian for information on the
// structure of BIND configuration files in Debian, *BEFORE* you customize
// this configuration file.
//
// If you are just adding zones, please do that in /etc/bind/named.conf.local
include "/etc/bind/named.conf.options";
include "/etc/bind/named.conf.local";
include "/etc/bind/named.conf.default-zones";

View File

@ -0,0 +1,30 @@
// prime the server with knowledge of the root servers
zone "." {
type hint;
file "/usr/share/dns/root.hints";
};
// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912
zone "localhost" {
type master;
file "/etc/bind/db.local";
};
zone "127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";
};
zone "0.in-addr.arpa" {
type master;
file "/etc/bind/db.0";
};
zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";
};

View File

@ -0,0 +1,27 @@
zone "intensewebs.com" {
type master;
file "/var/lib/bind/db.intensewebs.com";
allow-transfer { 192.168.1.141; };
also-notify { 192.168.1.141; };
};
zone "iweb.city" {
type master;
file "/var/lib/bind/db.iweb.city";
allow-transfer { 192.168.1.141; };
also-notify { 192.168.1.141; };
};
zone "nukvm.org" {
type master;
file "/var/lib/bind/db.nukvm.org";
allow-transfer { 192.168.1.141; };
also-notify { 192.168.1.141; };
};
zone "1.168.192.in-addr.arpa" {
type master;
file "/var/lib/bind/db.1.168.192";
allow-transfer { 192.168.1.141; };
also-notify { 192.168.1.141; };
};

View File

@ -0,0 +1,23 @@
acl trustedclients {
localhost;
localnets;
192.168.1.140; #ns1.intensewebs.com
192.168.1.141; #ns2.intensewebs.com
192.168.1.142; #ns3.intensewebs.com
192.168.1.143; #ns4.intensewebs.com
192.168.1.0/24;
192.168.2.0/24;
};
options {
directory "/var/cache/bind";
recursion yes;
allow-query { trustedclients; };
allow-query-cache { trustedclients; };
allow-recursion { trustedclients; };
dnssec-validation no;
listen-on-v6 { any; };
};

View File

@ -0,0 +1,17 @@
$ORIGIN corp.intensewebs.com.
$TTL 604800
;
@ IN SOA ns1.intensewebs.com. dns.intensewebs.com. (
60 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
IN NS ns1.intensewebs.com.
IN NS ns2.intensewebs.com.
;
IN MX 10 mail.intensewebs.com.
;
ipa1 IN A 192.168.1.124
ipa2 IN A 192.168.1.125

View File

@ -0,0 +1,31 @@
;
; Internal Split-DNS Bind9 Reverse Lookup Data for IntenseWebs.com corp.intensewebs.com NuKVM.org and Iweb.City zones
;
$TTL 604800
@ IN SOA ns1.intensewebs.com. dns.intensewebs.com. (
60 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
IN NS ns1.intensewebs.com.
IN NS ns2.intensewebs.com.
ns1.intensewebs.com. IN A 192.168.1.140
ns2.intensewebs.com. IN A 192.168.1.141
3 IN PTR giti.iweb.city
4 IN PTR ng1.iweb.city
66 IN PTR gitea.nukvm.org
121 IN PTR alma1.intensewebs.com
123 IN PTR git.intensewebs.com
124 IN PTR ipa1.corp.intensewebs.com
125 IN PTR ipa2.corp.intensewebs.com
126 IN PTR pg.intensewebs.com
140 IN PTR ns1.intensewebs.com
141 IN PTR ns2.intensewebs.com
200 IN PTR tdebian.intensewebs.com
201 IN PTR tnginx.iweb.city
202 IN PTR tfedora.intensewebs.com
222 IN PTR sd.intensewebs.com
223 IN PTR superdog.intensewebs.com

View File

@ -0,0 +1,17 @@
$ORIGIN corp.intensewebs.com.
$TTL 604800
;
@ IN SOA ns1.intensewebs.com. dns.intensewebs.com. (
60 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
IN NS ns1.intensewebs.com.
IN NS ns2.intensewebs.com.
;
IN MX 10 mail.intensewebs.com.
;
ipa1 IN A 192.168.1.124
ipa2 IN A 192.168.1.125

View File

@ -0,0 +1,35 @@
$ORIGIN intensewebs.com.
$TTL 604800
;
@ IN SOA ns1.intensewebs.com. dns.intensewebs.com. (
60 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
IN NS ns1.intensewebs.com.
IN NS ns2.intensewebs.com.
;
IN MX 10 mail.intensewebs.com.
;
alma1 IN A 192.168.1.121
git IN A 192.168.1.123
pg IN A 192.168.1.126
;
ns1 IN A 192.168.1.140
ns2 IN A 192.168.1.141
tdebian IN A 192.168.1.200
tfedora IN A 192.168.1.202
sd IN A 192.168.1.222
superdog IN A 192.168.1.223
;
ftp IN A 74.63.233.135
mail IN A 74.63.233.135
webmail IN A 74.63.233.135
www IN A 74.63.233.135
;
t IN A 129.146.170.34
lab IN A 129.146.170.34
;
u IN A 129.153.118.150

View File

@ -0,0 +1,24 @@
$ORIGIN iweb.city.
$TTL 604800
;
@ IN SOA ns1.intensewebs.com. dns.intensewebs.com. (
60 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
IN NS ns1.intensewebs.com.
IN NS ns2.intensewebs.com.
;
IN MX 10 mail.iweb.city.
;
* IN A 129.146.170.34
lab IN A 129.146.170.34
mail IN A 74.63.233.135
ftp IN A 74.63.233.135
www IN A 74.63.233.135
;
giti IN A 192.168.1.3
ng1 IN A 192.168.1.4
tnginx IN A 192.168.1.201

View File

@ -0,0 +1,22 @@
$ORIGIN nukvm.org.
$TTL 604800
;
@ IN SOA ns1.intensewebs.com. dns.intensewebs.com. (
60 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
IN NS ns1.intensewebs.com.
IN NS ns2.intensewebs.com.
;
IN MX 10 mail.nukvm.org.
;
lab IN A 129.153.118.150
mail IN A 74.63.233.135
ftp IN A 74.63.233.135
www IN A 74.63.233.135
;
gitea IN A 192.168.1.66
* IN A 129.153.118.150

View File

@ -0,0 +1 @@
ns1

View File

@ -0,0 +1,7 @@
127.0.0.1 localhost
192.168.1.140 ns1.intensewebs.com ns1
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

View File

@ -0,0 +1,11 @@
source /etc/network/interfaces.d/*
auto lo
iface lo inet loopback
allow-hotplug enp1s0
iface enp1s0 inet static
address 192.168.1.140
netmask 255.255.255.0
gateway 192.168.1.131
dns-domain intensewebs.com
dns-nameservers 192.168.1.140 192.168.1.141

View File

@ -0,0 +1,11 @@
// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind9/README.Debian for information on the
// structure of BIND configuration files in Debian, *BEFORE* you customize
// this configuration file.
//
// If you are just adding zones, please do that in /etc/bind/named.conf.local
include "/etc/bind/named.conf.options";
include "/etc/bind/named.conf.local";
include "/etc/bind/named.conf.default-zones";

View File

@ -0,0 +1,30 @@
// prime the server with knowledge of the root servers
zone "." {
type hint;
file "/usr/share/dns/root.hints";
};
// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912
zone "localhost" {
type master;
file "/etc/bind/db.local";
};
zone "127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";
};
zone "0.in-addr.arpa" {
type master;
file "/etc/bind/db.0";
};
zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";
};

View File

@ -0,0 +1,27 @@
zone "intensewebs.com" {
type master;
file "/var/lib/bind/db.intensewebs.com";
allow-transfer { 192.168.1.141; };
also-notify { 192.168.1.141; };
};
zone "iweb.city" {
type master;
file "/var/lib/bind/db.iweb.city";
allow-transfer { 192.168.1.141; };
also-notify { 192.168.1.141; };
};
zone "nukvm.org" {
type master;
file "/var/lib/bind/db.nukvm.org";
allow-transfer { 192.168.1.141; };
also-notify { 192.168.1.141; };
};
zone "1.168.192.in-addr.arpa" {
type master;
file "/var/lib/bind/db.1.168.192";
allow-transfer { 192.168.1.141; };
also-notify { 192.168.1.141; };
};

View File

@ -0,0 +1,23 @@
acl trustedclients {
localhost;
localnets;
192.168.1.140; #ns1.intensewebs.com
192.168.1.141; #ns2.intensewebs.com
192.168.1.142; #ns3.intensewebs.com
192.168.1.143; #ns4.intensewebs.com
192.168.1.0/24;
192.168.2.0/24;
};
options {
directory "/var/cache/bind";
recursion yes;
allow-query { trustedclients; };
allow-query-cache { trustedclients; };
allow-recursion { trustedclients; };
dnssec-validation no;
listen-on-v6 { any; };
};

View File

@ -0,0 +1,4 @@
domain intensewebs.com
search intensewebs.com
nameserver 192.168.1.140
nameserver 192.168.1.141

View File

@ -0,0 +1,4 @@
domain intensewebs.com
search intensewebs.com
nameserver 192.168.1.140
nameserver 192.168.1.141

View File

@ -19,13 +19,15 @@ ns2.intensewebs.com. IN A 192.168.1.141
66 IN PTR gitea.nukvm.org
121 IN PTR alma1.intensewebs.com
123 IN PTR git.intensewebs.com
124 IN PTR ipa1.corp.intensewebs.com
125 IN PTR ipa2.corp.intensewebs.com
124 IN PTR ipa1.iweb.corp
125 IN PTR ipa2.iweb.corp
126 IN PTR pg.intensewebs.com
140 IN PTR ns1.intensewebs.com
141 IN PTR ns2.intensewebs.com
200 IN PTR tdebian.intensewebs.com
201 IN PTR tnginx.iweb.city
202 IN PTR tfedora.intensewebs.com
203 IN PTR tdebian2.intensewebs.com
204 IN PTR tfedora2.intensewebs.com
222 IN PTR sd.intensewebs.com
223 IN PTR superdog.intensewebs.com

View File

@ -21,6 +21,8 @@ ns1 IN A 192.168.1.140
ns2 IN A 192.168.1.141
tdebian IN A 192.168.1.200
tfedora IN A 192.168.1.202
tdebian2 IN A 192.168.1.203
tfedora2 IN A 192.168.1.204
sd IN A 192.168.1.222
superdog IN A 192.168.1.223
;
@ -33,3 +35,13 @@ t IN A 129.146.170.34
lab IN A 129.146.170.34
;
u IN A 129.153.118.150
;
$ORIGIN corp.intensewebs.com.
;
@ IN NS ipa1.corp.intensewebs.com.
;
IN NS ipa1.corp.intensewebs.com.
IN NS ipa2.corp.intensewebs.com.
;
ipa1 IN A 192.168.1.124
ipa2 IN A 192.168.1.125

View File

@ -0,0 +1,17 @@
$ORIGIN iweb.corp.
$TTL 604800
;
@ IN SOA ipa1.iweb.corp. dns.intensewebs.com. (
60 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
IN NS ipa1.iweb.corp.
IN NS ipa2.iweb.corp.
;
IN MX 10 mail.intensewebs.com.
;
ipa1 IN A 192.168.1.124
ipa2 IN A 192.168.1.125

View File

@ -5,6 +5,13 @@ zone "intensewebs.com" {
also-notify { 192.168.1.141; };
};
zone "iweb.corp" {
type master;
file "/var/lib/bind/db.iweb.corp";
allow-transfer { 192.168.1.141; };
also-notify { 192.168.1.141; };
};
zone "iweb.city" {
type master;
file "/var/lib/bind/db.iweb.city";

View File

@ -3,8 +3,6 @@ acl trustedclients {
localnets;
192.168.1.140; #ns1.intensewebs.com
192.168.1.141; #ns2.intensewebs.com
192.168.1.142; #ns3.intensewebs.com
192.168.1.143; #ns4.intensewebs.com
192.168.1.0/24;
192.168.2.0/24;
};

View File

@ -19,13 +19,15 @@ ns2.intensewebs.com. IN A 192.168.1.141
66 IN PTR gitea.nukvm.org
121 IN PTR alma1.intensewebs.com
123 IN PTR git.intensewebs.com
124 IN PTR ipa1.corp.intensewebs.com
125 IN PTR ipa2.corp.intensewebs.com
124 IN PTR ipa1.iweb.corp
125 IN PTR ipa2.iweb.corp
126 IN PTR pg.intensewebs.com
140 IN PTR ns1.intensewebs.com
141 IN PTR ns2.intensewebs.com
200 IN PTR tdebian.intensewebs.com
201 IN PTR tnginx.iweb.city
202 IN PTR tfedora.intensewebs.com
203 IN PTR tdebian2.intensewebs.com
204 IN PTR tfedora2.intensewebs.com
222 IN PTR sd.intensewebs.com
223 IN PTR superdog.intensewebs.com

View File

@ -21,6 +21,8 @@ ns1 IN A 192.168.1.140
ns2 IN A 192.168.1.141
tdebian IN A 192.168.1.200
tfedora IN A 192.168.1.202
tdebian2 IN A 192.168.1.203
tfedora2 IN A 192.168.1.204
sd IN A 192.168.1.222
superdog IN A 192.168.1.223
;
@ -33,3 +35,13 @@ t IN A 129.146.170.34
lab IN A 129.146.170.34
;
u IN A 129.153.118.150
;
$ORIGIN corp.intensewebs.com.
;
@ IN NS ipa1.corp.intensewebs.com.
;
IN NS ipa1.corp.intensewebs.com.
IN NS ipa2.corp.intensewebs.com.
;
ipa1 IN A 192.168.1.124
ipa2 IN A 192.168.1.125

View File

@ -0,0 +1,17 @@
$ORIGIN iweb.corp.
$TTL 604800
;
@ IN SOA ipa1.iweb.corp. dns.intensewebs.com. (
60 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
IN NS ipa1.iweb.corp.
IN NS ipa2.iweb.corp.
;
IN MX 10 mail.intensewebs.com.
;
ipa1 IN A 192.168.1.124
ipa2 IN A 192.168.1.125

View File

@ -5,6 +5,13 @@ zone "intensewebs.com" {
also-notify { 192.168.1.141; };
};
zone "iweb.corp" {
type master;
file "/var/lib/bind/db.iweb.corp";
allow-transfer { 192.168.1.141; };
also-notify { 192.168.1.141; };
};
zone "iweb.city" {
type master;
file "/var/lib/bind/db.iweb.city";

View File

@ -3,8 +3,6 @@ acl trustedclients {
localnets;
192.168.1.140; #ns1.intensewebs.com
192.168.1.141; #ns2.intensewebs.com
192.168.1.142; #ns3.intensewebs.com
192.168.1.143; #ns4.intensewebs.com
192.168.1.0/24;
192.168.2.0/24;
};

Binary file not shown.

View File

@ -4,6 +4,12 @@ zone "intensewebs.com" {
masters { 192.168.1.140; };
};
zone "iweb.corp" {
type slave;
file "/var/lib/bind/db.iweb.corp";
masters { 192.168.1.140; };
};
zone "iweb.city" {
type slave;
file "/var/lib/bind/db.iweb.city";

View File

@ -3,8 +3,6 @@ acl trustedclients {
localnets;
192.168.1.140; #ns1.intensewebs.com
192.168.1.141; #ns2.intensewebs.com
192.168.1.142; #ns3.intensewebs.com
192.168.1.143; #ns4.intensewebs.com
192.168.1.0/24;
192.168.2.0/24;
};

Binary file not shown.

View File

@ -4,6 +4,12 @@ zone "intensewebs.com" {
masters { 192.168.1.140; };
};
zone "iweb.corp" {
type slave;
file "/var/lib/bind/db.iweb.corp";
masters { 192.168.1.140; };
};
zone "iweb.city" {
type slave;
file "/var/lib/bind/db.iweb.city";

View File

@ -3,8 +3,6 @@ acl trustedclients {
localnets;
192.168.1.140; #ns1.intensewebs.com
192.168.1.141; #ns2.intensewebs.com
192.168.1.142; #ns3.intensewebs.com
192.168.1.143; #ns4.intensewebs.com
192.168.1.0/24;
192.168.2.0/24;
};

View File