delegated the namesever/ip records around 24 hours on the registars website but things aren't working. NAT: forwarding all UDP/TCP requests to internal server IP on port 53 (ISP not blocking) and apache2 is working properly. Please check said files below, using CHROOT also. Placed the mysite.ca file in var/named/chroot/var/named/. Firewall is disabled. Ran service "service named start - OK", perhaps there's something else that needs to be started?
When hosting the master zone file/nameserver as I am attempting to do now, do the DNS and or SOA records once I start BIND service propage somehow to cached name servers? Or when they say the authoritative name server publishes to cached name server they mean this data is only published/propagated to cached name servers when a request is sucessfully made and not just by having BIND name server run?
named.conf
options
{
directory "/var/named"; // "Working" directory
dump-file "data/cache_dump.db";
statistics-file "data/named_stats.txt";
memstatistics-file "data/named_mem_stats.txt";
listen-on port 53 { any; };
listen-on port 53 { 127.0.0.1; };
//listen-on-v6 port 53 { any; };
listen-on-v6 port 53 { ::1; };
allow-query { any; };
allow-query-cache { localhost; };
recursion no;
dnssec-enable yes;
dnssec-validation yes;
dnssec-lookaside auto;
};
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
view "external"
{
zone "mysite.com.au" IN {
type master;
file "/var/named/mysite.ca";
};
};
mysite.ca zone file (XXX.XXX.XXX.XX = my WAN IP, have just one)
$TTL 1D
$ORIGIN mysite.com.au.
@ IN SOA ns0.mysite.com.au. admin.mysite.com.au. (
2011120100 ; serial number
2h ; refresh = 2 hours
15M ; update retry = 15 minutes
3W12h ; expiry = 3 weeks + 12 hours
2h20M ; minimum = 2 hours + 20 minutes
)
; main domain name servers
IN NS ns0.mysite.com.au.
IN NS ns1.mysite.com.au.
; mail domain mail servers
IN MX 10 mail
; A records for name servers above
ns0 IN A XXX.XXX.XXX.XX
ns1 IN A XXX.XXX.XXX.XX
; A record for mail server above
mail.mysite.com.au. IN A XXX.XXX.XXX.XX