I'm spinning off a subdomain from my company's domain. Now, it has been some time since I do DNS/BIND configuration, so I need your help to ensure that my configuration is sane/correct:
So, for the parent domain (let's say example.com
), I should add the following:
mysub IN NS 123.231.111.222 ; This is fictitious public IP
And then I set up my own BIND server on 123.231.111.222 with the following contents:
$TTL 600
$ORIGIN mysub.example.com.
@ IN SOA ns1 hostmaster (
2016051201 ; serial
1h ; slave refresh
5m ; slave retry
24h ; slave expiry
30m ; nxdomain ttl
)
@ IN NS ns1
@ IN TXT "v=spf1 ...spf statements follow..."
@ IN A 123.231.111.222
ns1 IN A 123.231.111.222
; definition of various hosts in this subdomain follows
So, did I forget/overlook something? Or maybe I have done any mistakes?