Added README.md and update debian networking and bind

This commit is contained in:
IntenseWebs 2023-12-02 10:15:56 -06:00
parent ceeb415798
commit eca0778c40
4 changed files with 94 additions and 41 deletions

View File

@ -28,6 +28,8 @@ ctp1.intensewebs.com
sudo systemctl restart networking
___________________________________________________________________________
# OPTIONAL NOT NEEDED METHODS
ip link list
ip link show
sudo nmcli device status

15
README.md Normal file
View File

@ -0,0 +1,15 @@
ALL REPOSITORIES RE-INITIALIZED FROM 'master' to 'main' branch during Thanksgiving (Nov. 28, 2023). This means statistics are reset.
- 👋 Hi, Im @intenseweb on GitHub or @iw on my my primary repository: ([https://code.iweb.city/](https://code.iweb.city/explore/repos)). I am the maintainer of ([IntenseWebs.com](https://www.intensewebs.com)) and repositories for these organizations: IntenseWebs.com, IF.Finance, IWeb.City, NuKVM.org, OilfieldTools Network, Spartan International Drilling, Green Polymer Products & more private domains.
- I am a:
• Cloud System Administrator in multiple Operating Systems and Hardware Platforms in large Datacenters including Azure, VMware, Google Cloud Platform, Cisco ACI/UCS, Amazon AWS, Oracle Cloud, Redhat, Microsoft Windows, Linux, & UNIX servers.
• Former Shift Team Lead of large system engineer team. Patch PROD/DR, QA/TEST/UAT and DEV servers. Liaison to owners. Up to one quarter million servers at JPMorgan Chase with team patching and restarting up to 100K servers every week.
• Build & use MRP/ERP systems. Use ITSM Change Management including ServiceNow, HP Service Manager and BMC Remedy ITSM/ITIL/ITAM for incidents, change and SLAs.
• SQL DBA with extensive database skills in Microsoft SQL Server 2000 to 2019 Enterprise with T-SQL and Power BI. Oracle 9i, 10g,11g to 19c databases, PL/SQL and Oracle Enterprise Manager. PostgreSQL, MySQL & MariaDB databases.
• Extensive work experience designing computer networks, installation and maintenance skills. Ability to adapt and learn new technology, products and software; quickly and effectively.
• Dedicated, enthusiastic team member with organized goals and objectives, good communication skills.
• Owner & Lead Maintainer of five production Git, Github & Gitea, multi-organization servers with over 40 repositories with CI/CD practices with recent add: (code.iweb.city)
- 🌱 Im currently learning ... C and Rust
- 💞️ Im looking to collaborate on AD, FreeIPA, OpenTofu (TerraForm), Ansible and all things server Authentication and Automation. In addtion I'm interested Vagrant, Prometheus, Docker, Podman and Kubernetes and building my own GPLv3 KVM solution is in developement at and under ([NuKVM.org](https://www.nukvm.org)).
- 📫 How to reach me ... [IntenseWebs.com](https://www.intensewebs.com/index.php/contact/contact-us) or leave a voicemail on my public google voip telephone number: 832-390-0802

118
bind9.txt
View File

@ -56,11 +56,10 @@ options {
# NOTE: DNSSec disabled as it was found to cause issues for Ubuntu 20.04
4) Define zone files backup the existing file named.conf.local e.g.
# 4) Define zone files backup the existing file named.conf.local e.g.
sudo cp named.conf.local named.conf.local.bak
# edit named.conf.local e.g.
sudo nano named.conf.local
sudo cp /etc/bind/named.conf.local /etc/bind/named.conf.local.bak
sudo vi named.conf.local
so it looks something like this
zone "intensewebs.com" {
@ -77,73 +76,98 @@ zone "nukvm.org" {
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 "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; };
};
check the file for errors
sudo named-checkconf
5) Create a forward lookup zone in /var/lib/bind. Copy an existing file to one with the name used before e.g.
sudo cp db.local db.templab.lan
sudo nano db.templab.lan
sudo cp /etc/bind/db.local /var/lib/bind/db.intensewebs.com
sudo vi db.intensewebs.com
; BIND data file for intensewebs.com zone
;
$ORIGIN intensewebs.com.
$TTL 604800
;
@ IN SOA ns1.intensewebs.com. dns.intensewebs.com. (
3 ; Serial
58 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS ns1.intensewebs.com.
ns1 IN A 192.168.1.140
git IN A 192.168.1.123
alma1 IN A 192.168.1.121
superdog IN A 192.168.1.200
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
ipa1 IN A 192.168.1.124
ipa2 IN A 192.168.1.125
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
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
# check the file syntax
sudo named-checkzone intensewebs.com db.intensewebs.com
6) Create a reverse lookup zone
using same name specified in named-
edit the file e.g.
sudo nano db.172.16.17
so that it looks something like this
;
; BIND data file for intensewebs.com zone
;
using same name specified in named- edit the file e.g.
sudo vi db.1.168.192
$TTL 604800
@ IN SOA ns1.intensewebs.com. dns.intensewebs.com. (
6 ; Serial
58 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS ns1.intensewebs.com.
@ IN NS ns2.intensewebs.com.
@ IN A 192.168.1.140
@ IN A 192.168.1.141
IN NS ns1.intensewebs.com.
IN NS ns2.intensewebs.com.
ns1 IN A 192.168.1.140
ns2 IN A 192.168.1.141
git IN A 192.168.1.123
qalma1 IN A 192.168.1.121
superdog IN A 192.168.1.222
IN MX 10 mail.intensewebs.com.
mail IN A 74.63.233.135
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.intensewebs.com
125 IN PTR ipa2.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
222 IN PTR sd.intensewebs.com
223 IN PTR superdog.intensewebs.com
check the file syntax
sudo named-checkzone 1.168.192.in-addr.arpa db.1.168.192
sudo named-checkzone 1.168.192.in-addr.arpa db.1.168.192
7) Edit the server's DNS entry to use it's own DNS server
@ -151,7 +175,7 @@ vi /etc/resolv.conf
domain intensewebs.com
search intensewebs.com
nameserver 192.168.1.140
nameserver 192.168.1.141 gd
nameserver 192.168.1.141
8) Start and test DNS
@ -171,7 +195,7 @@ sudo systemctl start bind9
---------------------------------------
SECONDARY
sudo nano named.conf.local
sudo vi /etc/bind/named.conf.local
zone "intensewebs.com" {
type slave;
@ -179,6 +203,18 @@ zone "intensewebs.com" {
masters { 192.168.1.140; };
};
zone "nukvm.org" {
type slave;
file "/var/lib/bind/db.nukvm.org";
masters { 192.168.1.140; };
};
zone "iweb.city" {
type slave;
file "/var/lib/bind/db.iweb.city";
masters { 192.168.1.140; };
};
zone "1.168.192.in-addr.arpa" {
type slave;
file "/var/lib/bind/db.1.168.192";

0
rsync.txt Normal file
View File