I have a domain xyz.com, which resolves to an IP: 192.168.1.128
Nameservers: ns1.named.com ns2.named.com
Now I have a subdomain, webmail.xyz.com which points to 192.168.1.129
The zone file xyz.con.zone records is provided below:
;; A Records xyz.com. IN A 192.168.1.128 mail.xyz.com. IN A 192.168.1.129 webmail.xyz.com. IN A 192.168.1.129
;; CNAME Records www.xyz.com. IN CNAME xyz.com.
;; NS Records ns1.named.com. IN NS named.com ns2.named.com. IN NS named.com
P.S: It's for and Intranet which is completely disconnected from the Internet.
The NS as well as the A records of the main domain xyz.com resolves when checking with any DNS tools like nslookup or dig.
But for mail.xyz.com and webmail.xyz.com the A records are resolved properly, but the NS records doesn't seem to resolve.
Any guess what is the issue ???