Hi I have the problem trying to sort this for 2 weeks no result. 100 times reinstall the same problem. I use Debian ISPConfig with Bind installation run with no errors. Site is not coming up with name changing to ip works good changing to * not working. Dig mydomain, localhost, mx say no dns records serverfail. Dig google run well. I added dns in ispconfig with wizard (usualy worked for me). In my /etc/bind/named.conf.local shows zone for my domain. /etc/bind/pri.mydomain shows records about my domain looks good (i hope). In my /var/log/ispconfig/cron.log only warnings about jailkit' missing LSB tags and [warn] NameVirtualHost has no virtualhost any idea what can be wrong with my box ? Big thanks for any help. Dig mydomain ; <<>> DiG 9.7.3 <<>> elatvia.lv ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 64114 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;elatvia.lv. IN A ;; Query time: 5 msec ;; SERVER: 82.193.64.2#53(82.193.64.2) ;; WHEN: Wed Jul 11 11:24:35 2012 ;; MSG SIZE rcvd: 28 /etc/bind/named.conf.local zone "elatvia.lv" { type master; allow-transfer {none;}; file "/etc/bind/pri.elatvia.lv"; }; /etc/bind/pri.elatvia.lv $TTL 3600 @ IN SOA ns1.server1elatvia.elatvia.lv. elatvia.elatvia.lv. ( 2012071001 ; serial, todays date + todays serial # 7200 ; refresh, seconds 540 ; retry, seconds 604800 ; expire, seconds 86400 ) ; minimum, seconds ; elatvia.lv. 3600 A 212.142.73.* elatvia.lv. 3600 MX 10 mail.elatvia.lv. elatvia.lv. 3600 NS ns1.server1elatvia.elatvia.lv. elatvia.lv. 3600 NS ns2.server1elatvia.elatvia.lv. mail 3600 A 212.142.73.* www 3600 A 212.142.73.*
Hi falko thanks for reply. I changed the last ip digits in post with *. In original I have full and corect ip off my box. Here it is: /etc/bind/pri.elatvia.lv $TTL 3600 @ IN SOA ns1.server1elatvia.elatvia.lv. elatvia.elatvia.lv. ( 2012071001 ; serial, todays date + todays serial # 7200 ; refresh, seconds 540 ; retry, seconds 604800 ; expire, seconds 86400 ) ; minimum, seconds ; elatvia.lv. 3600 A 212.142.73.115 elatvia.lv. 3600 MX 10 mail.elatvia.lv. elatvia.lv. 3600 NS ns1.server1elatvia.elatvia.lv. elatvia.lv. 3600 NS ns2.server1elatvia.elatvia.lv. mail 3600 A 212.142.73.115 www 3600 A 212.142.73.115 P.S. I still looking for solution
Since your nameservers are i nthe same domain, you must create A records for ns1.server1elatvia.elatvia.lv and ns2.server1elatvia.elatvia.lv as well, and in addition to that you need glue records: http://en.wikipedia.org/wiki/Domain_Name_System#Circular_dependencies_and_glue_records
Thanks Falko for help it worked for me. I added A records in ISPConfig DNS example: A ns1.server1mydomain.mydomain.com 192.148.2.101 A ns2.server1mydomain.mydomain.com 192.148.2.101