My first question is that I only have one NS (NS1) for my domain that is self hosted. For the second I'm trying to use ns2.afraid.org with a duplicate of my zones on there. I'm not sure if this works but the only information I was able to find was a comment mentioning you could use a service similar to afraid.org for this. Is this acceptable?
Secondly are my named.conf file and zone files configured correctly? I duplicated everything on afraid.org except for 1 subdomain for testing and everything works except for that one subdomain.
Named.conf
Code:
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 "murdok.org" IN {
type master;
file "/var/named/murdok.org";
};
};
include "/etc/rndc.key";
controls {
inet 127.0.0.1 allow { localhost; } keys { "rndc-key"; };
};
Zone File
Code:
$TTL 1D
$ORIGIN murdok.org.
@ IN SOA ns1.murdok.org. ryan.murdok.org. (
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 ns1.murdok.org.
; mail domain mail servers
IN MX 10 mail
; A records for name servers above
ns1 IN A 192.168.0.3
; A record for mail server above
murdok.org IN A 192.168.0.3
mail IN A 192.168.0.6
www IN A 192.168.0.3
linux IN A 192.168.0.3
files IN A 192.168.0.3
CentOS 6.5
Bind
Thanks!