Hi all,
I have some sort of problem with BIND DNS server my environment as follows.
bash-3.00# cat /etc/release
Solaris 10 6/06 s10s_u2wos_09a SPARC
Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 09 June 2006
bash-3.00# uname -v
Generic_139555-08
bash-3.00# named -v
BIND 9.3.6-P1
A snippet from /etc/named.conf
bash-3.00# head -35 /etc/named.conf
options {
DIRECTORY "/var/named";
};
logging{
channel simple_log {
file "/var/log/named/bind.log" versions 3 size 5m;
severity error ;
print-time yes;
print-severity yes;
print-category yes;
};
category default{
simple_log;
};
};
zone "." in {
type hint;
file "named.root";
};
zone "domain2.TLD.ccTLD" in {
type master;
file "domain2.TLD.ccTLD";
allow-transfer { none; };
};
zone "domain1.TLD.ccTLD" in {
type master;
file "domain-info";
allow-transfer { none; };
};
Zone file for the domain1.TLD.ccTLD
bash-3.00# cat /var/named/domain-info
@ IN SOA ns.domain1.TLD.ccTLD. hostmaster.domain1.TLD.ccTLD. (
1 ;Serial number
43200 ;Refresh timer - 12 hours
3600 ;Retry timer - 1 hour
604800 ;Expire timer - 1 week
86400 ;Minimum timer - 1 day
)
domain1.TLD.ccTLD. IN A xxx.xxx.xxx.xxx
domain1.TLD.ccTLD. IN NS ns.domain1.TLD.ccTLD. ; primary
www IN A xxx.xxx.xxx.xxx
ns IN A xxx.xxx.xxx.xxx
mail IN A xxx.xxx.xxx.xxx
localhost IN A 127.0.0.1
domain1.TLD.ccTLD. IN MX 10 mail.domain1.TLD.ccTLD.
domain1.TLD.ccTLD. IN MX 25 mail.mis.domain1.TLD.ccTLD.
mail.domain1.TLD.ccTLD. IN CNAME mail.domain1.TLD.ccTLD.
Zone file for the domain2.TLD.ccTLD
bash-3.00# cat /var/named/domain2.TLD.ccTLD
$TTL 86400 ; 24 hours could have been written as 24h or 1d
@ IN SOA ns1.domain2.TLD.ccTLD. hostmaster.domain2.TLD.ccTLD. (
2000401 ; serial
3h ; refresh
15m ; retry
1w ; expire
3h ; minimum
)
IN NS ns1.domain2.TLD.ccTLD. ; in the domain
; server host definitions
ns1 IN A xxx.xxx.xxx.xxx ;name server definition
www IN A xxx.xxx.xxx.xxx ;web server definition
A snippet from the /var/log/named/bind.log shows the following.
bash-3.00# tail -1 /var/log/named/bind.log
18-Nov-2011 11:02:40.869 general: error: zone domain2.TLD.ccTLD/IN: has no NS records
bash-3.00#
A snippet from dig output
bash-3.00# dig domain2.TLD.ccTLD
; <<>> DiG 9.3.6-P1 <<>> domain2.TLD.ccTLD
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 818
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;domain2.TLD.ccTLD. IN A
;; Query time: 2 msec
;; SERVER: xxx.xxx.xxx.xxx#53(xxx.xxx.xxx.xxx)
;; WHEN: Fri Nov 18 11:06:19 2011
;; MSG SIZE rcvd: 29
Any idea would be a great assist