I'm trying to configure my bind9 resolution file to take in CNAME and a reverse ipv4 of 192.168.1.112 but everytime i add them it just doesn't work as it shows in the video tutorials
This is my zone file
zone "localhost" {
type master;
file "/etc/bind/db.local112.zone";
This is the db.local112.zone
$TTL 604800
@ IN SOA example.com. root.example.email.com. (
11 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
IN NS example.com.
IN A 192.168.1.12
IN A 192.168.1.13
This works fine and outputs the 2 address's listed but this next file outputs nothing, i would like to add an email, CNAME and reverse look up successfully
This is my db.local11.zone re-configured
$TTL 604800
@ IN SOA ns.example.com. root.localhost. (
111 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
IN NS example.com.
IN A 192.168.1.12
IN A 192.168.1.13
ns IN A 192.168.1.12
exampleXYZ.com. IN CNAME exampleXYZ.com.
exampleXYZ.com. IN A 192.168.1.112
12. IN PTR exampleXYZ.com.
smtp IN A 192.168.10.1
IN MX 10 smtp
After a service bin9 reload i can still use dig on the example.com but not on dig exampleXYZ.com or dig 192.168.1.112