Hello... I created dns for my site and registred on my domain this dns (ns1 and ns2), but when i restart named, show me this error: Error in named configuration: zone xxxxx.xxx.xx/IN: NS 'ns1.xxxxx.xxx.xx' has no address records (A or AAAA) zone xxxxx.xxx.xx/IN: NS 'ns2.xxxxx.xxx.xx' has no address records (A or AAAA) zone xxxxx.xxx.xx/IN: not loaded due to errors. _default/xxxxx.xxx.xx/IN: bad zone [FAIL] i use centos 6 with ispconfig i was following a tutorial. perfec server with centos 6... Can any help?
Till tanks, i have it look it. A mydomain.com. 1.2.3.4 0 A mail 1.2.3.4 0 A www 1.2.3.4 0 MX mydomain.com. mydomain.com. 10 NS mydomain.com. mydomain.com. 0 NS mydomain.com. mydomain.com. 0 (my domain.com is my domain and 1.2.3.4 is my ip) Till i saw on named/data/named.run this: working directory is not writable, maybe this error dont have to make a zones????
Same error for Centos 6.2 What was your solution? I have same error after clean Centos 6.2 install. Haven't found any related info in Ispconfig documentation for this. the Code: service named restart outputs: Code: Stopping named: [ OK ] Starting named: Error in named configuration: zone mydomain.com/IN: NS 'ns1.mydomain.com' has no address records (A or AAAA) zone mydomain.com/IN: NS 'ns2.mydomain.com' has no address records (A or AAAA) zone mydomain.com/IN: not loaded due to errors. _default/mydomain.com/IN: bad zone [FAILED] The bind configuration seams to be the same as in tutorial /etc/named.conf Code: // // named.conf // // Provided by Red Hat bind package to configure the ISC BIND named(8) DNS // server as a caching only nameserver (as a localhost DNS resolver only). // // See /usr/share/doc/bind*/sample/ for example named configuration files. // options { listen-on port 53 { any; }; listen-on-v6 port 53 { any; }; directory "/var/named"; dump-file "/var/named/data/cache_dump.db"; statistics-file "/var/named/data/named_stats.txt"; memstatistics-file "/var/named/data/named_mem_stats.txt"; allow-query { any; }; recursion yes; }; logging { channel default_debug { file "data/named.run"; severity dynamic; }; }; zone "." IN { type hint; file "named.ca"; }; include "/etc/named.conf.local"; /etc/named.conf.local Code: zone "mydomain.com" { type master; allow-transfer {none;}; file "/var/named/pri.mydomain.com"; }; /var/named/pri.mydomain.com Code: $TTL 3600 @ IN SOA ns1.mydomain.com. email.gmail.com. ( 2012081901 ; serial, todays date + todays serial # 7200 ; refresh, seconds 540 ; retry, seconds 604800 ; expire, seconds 86400 ) ; minimum, seconds ; infolabs.com.ua. 3600 A 1.2.3.4 infolabs.com.ua. 3600 MX 10 mail.mydomain.com. infolabs.com.ua. 3600 NS ns1.mydomain.com. infolabs.com.ua. 3600 NS ns2.mydomain.com. mail 3600 A 1.2.3.4 www 3600 A 1.2.3.4
Thanks! Thank you Till! Adding A records in ispconfig > dns > mydomain worked for me. Can you also please tell is it ok that according to http://www.intodns.com/ the name server test outputs as error notice recursive queries ? Code: Recursive Queries - I could use the nameservers listed below to performe recursive queries. It may be that I am wrong but the chances of that are low. You should not have nameservers that allow recursive queries as this will allow almost anyone to use your nameservers and can cause problems