[PASTEBIN] [PART 7] [Virtualmin and Webmin] Tweaking and Fine-tuning Master DNS Zone
Subject: [PASTEBIN] [PART 7] [Virtualmin and Webmin] Tweaking and Fine-tuning Master DNS Zone
Author: Mr. Turritopsis Dohrnii Teo En Ming (TARGETED INDIVIDUAL)
Country: Singapore
Date: 23 Oct 2021 Saturday Singapore Time
Type of Publication: Plain Text
Document Version: 20211023.01
BACKING UP EXISTING MASTER DNS ZONE BEFORE MODIFICATION
=======================================================
Putty/SSH into your Virtualmin server.
# mkdir backup
# cd /var/named/
# cp turritopsis-dohrnii-teo-en-ming.com.hosts /root/backup/
# cd /root/backup/
# cat turritopsis-dohrnii-teo-en-ming.com.hosts
$ttl 3600
@ IN SOA vmi696121.contaboserver.net. root.vmi696121.contaboserver.net. (
1634651912
3600
600
1209600
3600 )
@ IN NS vmi696121.contaboserver.net.
turritopsis-dohrnii-teo-en-ming.com. IN A 185.182.9.61
www.turritopsis-dohrnii-teo-en-ming.com. IN A 185.182.9.61
ftp.turritopsis-dohrnii-teo-en-ming.com. IN A 185.182.9.61
m.turritopsis-dohrnii-teo-en-ming.com. IN A 185.182.9.61
localhost.turritopsis-dohrnii-teo-en-ming.com. IN A 127.0.0.1
webmail.turritopsis-dohrnii-teo-en-ming.com. IN A 185.182.9.61
admin.turritopsis-dohrnii-teo-en-ming.com. IN A 185.182.9.61
mail.turritopsis-dohrnii-teo-en-ming.com. IN A 185.182.9.61
turritopsis-dohrnii-teo-en-ming.com. IN MX 5 mail.turritopsis-dohrnii-teo-en-ming.com.
turritopsis-dohrnii-teo-en-ming.com. IN TXT "v=spf1 a mx a:turritopsis-dohrnii-teo-en-ming.com ip4:185.182.9.61 ip4:185.182.9.61 ip6:2a02:c207:2069:6121:0000:0000:0000:0001 ?all"
@ IN CAA 0 issuewild letsencrypt.org
2021._domainkey.turritopsis-dohrnii-teo-en-ming.com. IN TXT ( "v=DKIM1; k=rsa; t=s; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtAag9wT+JcVqf"
"4LOXV4tIkfAeOudlfU5ne3at292ch+En3zhRlwUflzMJkE/Ax+chxy+lbj2X4/mUdhFiEsMcly2LNFkO"
"06xLK+2LUcl71u+JfOvt1vSGwV1EXtlEkbtfH7y9eQu0SRX13cy0oQTvtpyrbbrmRSjUKpHA8wxdJQq8"
"0lj7X3n6EahtY1Y+P5t04tsUBpPyxplIauqp9j47iib2lLwXAAgUw+q2ezz2OgX9nwgMUZfVNFzZAuug"
"nzoQgBij7UVmH72GOaDsJ724Pp2RqJhYXZaYMImy1pExDXRUc60I7EjXn6ONXHlszjO7U2XVOreaLGPl"
"c4UAmMNrQIDAQAB" )
_dmarc.turritopsis-dohrnii-teo-en-ming.com. IN TXT "v=DMARC1; p=none; pct=100; rua=mailto:ceo@teo-en-ming-corp.com; adkim=r; aspf=r"
Tweaking the Master DNS Zone
=============================
Login to Virtualmin.
Click Webmin at the top left.
Click Servers > BIND DNS Server
Click the zone turritopsis-dohrnii-teo-en-ming.com
NS Record
==========
Click Name Server button.
Click Select all.
Click Delete Selected.
NS1
===
Zone Name: turritopsis-dohrnii-teo-en-ming.com
Name Server: ns1.turritopsis-dohrnii-teo-en-ming.com.
Click Create.
NS2
===
Zone Name: turritopsis-dohrnii-teo-en-ming.com
Name Server: ns2.turritopsis-dohrnii-teo-en-ming.com.
Click Create.
Click Return to record types.
A Record
=========
Click Address button.
Name: ns1.turritopsis-dohrnii-teo-en-ming.com
Address: 185.182.9.61
Update reverse? No
Click Create.
Name: ns2.turritopsis-dohrnii-teo-en-ming.com
Address: 185.182.9.61
Update reverse? No
Click Create.
Click Return to record types.
Check DNS Records for Syntax Errors
===================================
Click Check Records
No errors were found in the records file /var/named/turritopsis-dohrnii-teo-en-ming.com.hosts.
Click Return to record types
VERY VERY IMPORTANT
===================
Do not forget to click Apply configuration.
The New Modified Master DNS Zone File
======================================
# cd /var/named
# cat turritopsis-dohrnii-teo-en-ming.com.hosts
$ttl 3600
@ IN SOA ns1.turritopsis-dohrnii-teo-en-ming.com. ceo.teo-en-ming-corp.com. (
1634651918
3600
600
1209600
3600 )
turritopsis-dohrnii-teo-en-ming.com. IN A 185.182.9.61
www.turritopsis-dohrnii-teo-en-ming.com. IN A 185.182.9.61
ftp.turritopsis-dohrnii-teo-en-ming.com. IN A 185.182.9.61
m.turritopsis-dohrnii-teo-en-ming.com. IN A 185.182.9.61
localhost.turritopsis-dohrnii-teo-en-ming.com. IN A 127.0.0.1
webmail.turritopsis-dohrnii-teo-en-ming.com. IN A 185.182.9.61
admin.turritopsis-dohrnii-teo-en-ming.com. IN A 185.182.9.61
mail.turritopsis-dohrnii-teo-en-ming.com. IN A 185.182.9.61
turritopsis-dohrnii-teo-en-ming.com. IN MX 5 mail.turritopsis-dohrnii-teo-en-ming.com.
turritopsis-dohrnii-teo-en-ming.com. IN TXT "v=spf1 a mx a:turritopsis-dohrnii-teo-en-ming.com ip4:185.182.9.61 ip4:185.182.9.61 ip6:2a02:c207:2069:6121:0000:0000:0000:0001 ?all"
@ IN CAA 0 issuewild letsencrypt.org
2021._domainkey.turritopsis-dohrnii-teo-en-ming.com. IN TXT ( "v=DKIM1; k=rsa; t=s; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtAag9wT+JcVqf"
"4LOXV4tIkfAeOudlfU5ne3at292ch+En3zhRlwUflzMJkE/Ax+chxy+lbj2X4/mUdhFiEsMcly2LNFkO"
"06xLK+2LUcl71u+JfOvt1vSGwV1EXtlEkbtfH7y9eQu0SRX13cy0oQTvtpyrbbrmRSjUKpHA8wxdJQq8"
"0lj7X3n6EahtY1Y+P5t04tsUBpPyxplIauqp9j47iib2lLwXAAgUw+q2ezz2OgX9nwgMUZfVNFzZAuug"
"nzoQgBij7UVmH72GOaDsJ724Pp2RqJhYXZaYMImy1pExDXRUc60I7EjXn6ONXHlszjO7U2XVOreaLGPl"
"c4UAmMNrQIDAQAB" )
_dmarc.turritopsis-dohrnii-teo-en-ming.com. IN TXT "v=DMARC1; p=none; pct=100; rua=mailto:ceo@teo-en-ming-corp.com; adkim=r; aspf=r"
turritopsis-dohrnii-teo-en-ming.com. IN NS ns1.turritopsis-dohrnii-teo-en-ming.com.
turritopsis-dohrnii-teo-en-ming.com. IN NS ns2.turritopsis-dohrnii-teo-en-ming.com.
ns1.turritopsis-dohrnii-teo-en-ming.com. IN A 185.182.9.61
ns2.turritopsis-dohrnii-teo-en-ming.com. IN A 185.182.9.61
Conclusion
===========
Modification of Master DNS Zone file is successful.
Mr. Turritopsis Dohrnii Teo En Ming, 43 years old as of 23 Oct 2021, is a TARGETED INDIVIDUAL living in Singapore. He is an IT Consultant with a Systems Integrator (SI)/computer firm in Singapore. He is an IT enthusiast.
REFERENCES
==========
[1] https://sourceforge.net/p/webadmin/mailman/message/37372010/
[2] https://marc.info/?l=webmin-l&m=163499494030509&w=2
Comments
Post a Comment