ispconfig3 + bind9 on centos 5.5 i386

Discussion in 'HOWTO-Related Questions' started by stinson, Feb 15, 2011.

  1. stinson

    stinson New Member

    Hi, I've done the perfect server setup on Centos 5.5 i386. I know that the howto is for x86_64 archs but as I said my Centos is i386 and I just want to try. Of course, I changed amd64 packages to i386 packages.

    Now, I have ispconfig3 installed and works fine, I can send mails, create and use ftp accounts..etc. But when I try to add a dns zone, ispconfig doesn't write neither on /var/named/chroot/etc/named.conf nor on /var/named/chroot/etc/named.conf.local and commands like nslookup, ping, etc. don't recognize names. In /etc/resolv.conf, I have
    Code:
    nameserver 127.0.0.1
    Hope you can help me! Thanks! ;)
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Please try
    Code:
    nameserver 8.8.8.8
    nameserver 8.8.4.4
    instead in your resolv.conf.
     
  3. stinson

    stinson New Member

    Ok, but google won't recognize my local zones... I supose I had to tell system to ask to my own dns server to ask about hostnames i've created. This is all on local network, i don't have any public domain or static ip, i'm just trying.. I should have said that, my fault..
     
    Last edited: Feb 16, 2011
  4. falko

    falko Super Moderator ISPConfig Developer

    Ok, then use
    Code:
    nameserver 8.8.8.8
    nameserver 127.0.0.1
    so that your system can look up real domains and your local domains.

    Do you see any errors in ISPConfig's Monitoring module?
     
  5. stinson

    stinson New Member

    Thanks, but I think the problem is not the resolv.conf. The problem is that ISPConfig doesn't write changes in DNS zones on named.conf. The control panel creates the hosts file (pri.*) but it doesn't add new zones to named.conf. I've copied exactly your named.conf (the howto's).

    Everything is ok in the monitoring module. I see MyDNS server instead of Bind, is this ok?

    Edit: Yeah! problem solved! ISPConfig saves DNS zones on /var/named/chroot/var/named/named.local, so I added the line:
    Code:
    include "/var/named/chroot/var/named/named.local";
    to named.conf, restarted the server and now it works! Thank you falko for your help, now ispconfig seems to be better :D
     
    Last edited: Feb 17, 2011

Share This Page