Linux Server Video #4
#Linux_Server #SnatchDreams #docker #bind9 #Ubuntu #dns #linux #server
This video demonstrates how to setup your own DNS server using Docker and Bind9. ! Hope you find this video useful.
Want to know how to create a simple Apache Web Server : PHP MySQL on Linux ?
• Apache Web Server On L...
Want to know how to host Multiple websites using Apache2 Virtual Host ?
• Apache 2 : Host Multip...
Buy me a coffee:
imjo.in/bSQUvk
www.paypal.me/paulpjoby
Hope You guys enjoyed this video!
Thank you all for your great support !!
Dont forget to subscribe
Like us on : / snatchdreams
Visit us on : www.snatchdreams.net
SnatchDreams !!!
Config Files for Bind9
-----------------------------------
paulpjoby@ubuntu-wag-server:~$ cat bind9-dns-docker/named.conf.options
options {
directory "/var/cache/bind";
// If there is a firewall between you and nameservers you want
// to talk to, you may need to fix the firewall to allow multiple
// ports to talk. See www.kb.cert.org/vuls/id/800113
// If your ISP provided one or more IP addresses for stable
// nameservers, you probably want to use them as forwarders.
// Uncomment the following block, and insert the addresses replacing
// the all-0's placeholder.
forwarders {
8.8.8.8;
9.9.9.9;
};
//========================================================================
// If BIND logs error messages about the root key being expired,
// you will need to update your keys. See www.isc.org/bind-keys
//========================================================================
dnssec-validation auto;
listen-on-v6 { any; };
};
paulpjoby@ubuntu-wag-server:~$ cat bind9-dns-docker/named.conf.local
//
// Do any local configuration here
//
// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";
zone "paulpjoby.com" {
type master;
file "/etc/bind/forward.paulpjoby.com";
};
zone "1.168.192.in-addr-arpa" {
type master;
file "/etc/bind/reverse.paulpjoby.com";
};
paulpjoby@ubuntu-wag-server:~$
Forward Zone File
;
; BIND data file for local loopback interface
;
$TTL 20
@ IN SOA paulpjoby.com. root.paulpjoby.com. (
2 ; Serial
20 ; Refresh
20 ; Retry
20 ; Expire
20 ) ; Negative Cache TTL
;
@ IN NS paulpjoby.com.
@ IN A 192.168.1.100
www IN A 192.168.1.100
@ IN AAAA 1234:1234::1
paulpjoby@ubuntu-wag-server:~$
paulpjoby@ubuntu-wag-server:~$ cat bind9-dns-docker/reverse.paulpjoby.com
;
; BIND reverse data file for local loopback interface
;
$TTL 20
@ IN SOA paulpjoby.com. root.paulpjoby.com (
1 ; Serial
20 ; Refresh
20 ; Retry
20 ; Expire
20 ) ; Negative Cache TTL
;
@ IN NS paulpjoby.com.
100 IN PTR paulpjoby.com.
paulpjoby@ubuntu-wag-server:~
8 окт 2022