Hi folks, A few days ago I've an issue with a new domain, which is was on ISPConfig manager and site was not displaying, later I've check on named.conf and site was not listed and ask around and some one help me to add those records to my DNS and he told me named is not communicating with with ISPConf box. Now my question is: what I need to check to confirm that ISPConfig modify correctly system parameters, such as adding a new site. Thank you ISPConfig Version: 2.1.2 Linux Distro: FC4
Thank you for your reply Till, actually there is NO errors mostly INFO's and some WARNS!! Am looking a named.conf and domain is not listed??? Thanks
Hi, You find the file genered by ispconf in this folder /var/lib/named/etc/bind The master file /root/ispconfig/isp/conf restart named and show syslog for error /etc/init.d/bind9 restart cat /var/log/syslog
What's in your named.conf? What's the value of Zonefiles Dir in Management -> Server -> Settings -> DNS? Is SELinux disabled?
Hi Falko, Thank you for your reply: In named.conf contains almost all my sites, except for last site that I've created. Zonefiles Dir.: /etc/bind I went over the server to see content of bind and I tried to listed and I can't find that file!!! should exist or is a hidden file?? SELinux is disable. Thank you
Please do this: Code: yum install bind-chroot chmod 755 /var/named/ chmod 775 /var/named/chroot/ chmod 775 /var/named/chroot/var/ chmod 775 /var/named/chroot/var/named/ chmod 775 /var/named/chroot/var/run/ chmod 777 /var/named/chroot/var/run/named/ cd /var/named/chroot/var/named/ ln -s ../../ chroot chkconfig --levels 235 named on /etc/init.d/named start as shown on http://www.howtoforge.com/perfect_setup_fedora_core_4_p3 Afterwards, fill in /var/named/chroot/var/named as the Zonefiles Dir in ISPConfig.
Thank you Falko, I've followed your instructions and I got: [root@morticia /]# yum install bind-chroot Setting up Install Process Setting up repositories Reading repository metadata in from local files Parsing package install arguments Nothing to do [root@morticia /]# Other things we're ok then I got: [root@morticia ~]# cd /var/named/chroot/var/named/ [root@morticia named]# ln -s ../../ chroot ln: `chroot/..': cannot overwrite directory [root@morticia named]# other than that there is no problem also I've change path in ISPConfig. Thenk I went to check site and still is not showing up!! [root@morticia /]# dig universalcmd.com ; <<>> DiG 9.3.1 <<>> universalcmd.com ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 49151 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;universalcmd.com. IN A ;; ANSWER SECTION: universalcmd.com. 86400 IN A 200.89.230.204 ;; AUTHORITY SECTION: universalcmd.com. 86400 IN NS 200.89.230.204. ;; Query time: 56 msec ;; SERVER: 200.89.230.204#53(200.89.230.204) ;; WHEN: Thu Mar 22 13:08:48 2007 ;; MSG SIZE rcvd: 78 What should I check then?? Thanks
Thank you for your reply Falko, Here is the content: /var/named/chroot/var/named And site is displaying!!! I got standard website page!! Thank you!!