Hello, i solved all my problems except this one. I have problem with bind and ispconfig. When i create a domain (either master or slave), BIND goes down, and give an error like: and as soon as i delete domain from ispconfig, iw works normally again. If i create domain in Webmin, it works perfectly... I realy have to fix that, becouse i don't want to create all domains for my resellers and costumers manualy. Any suggestions? Have A Nice Day, Nejko
It's not an ISPConfig problem, the problem is that Webmin and ISPConfig are interfering because both try to configure the same service. Either use ISPConfig or Webmin for configuring BIND, but not both.
Ok, i stopped Webmin, but it's same problem..... It just won't work. Is it possible, that i give u acess and u take closer look? It would be easier i guess... ?
If you need this kind of support, have a look here: http://www.ispconfig.org/support.htm But the problem should be easy to solve: have a look at named.conf, then have a look at the error message, and also have a look at your zone files. Normally you should see then where the problem is.
Look, i created 123.nero-server.com and i get: And If i look in it's zone file, there's notjing in it, but in named.conf is: and the working domain created in webmin(nero-server.com) is: Why is the file url diffarent?
You shouldn't use subdomains in zones. Use Code: zone "nero-server.com" { type master; file "pri.nero-server.com"; }; instead. What's in your named.conf?
options { pid-file "/var/named/chroot/var/run/named/named.pid"; directory "/var/named"; auth-nxdomain no; /* * If there is a firewall between you and nameservers you want * to talk to, you might need to uncomment the query-source * directive below. Previous versions of BIND always asked * questions using port 53, but BIND 8.1 uses an unprivileged * port by default. */ // query-source address * port 53; }; // // a caching only nameserver config // zone "." { type hint; file "named.ca"; }; zone "0.0.127.in-addr.arpa" { type master; file "named.local"; }; zone "123.nero-server.com" { type master; file "pri.123.nero-server.com"; }; //// MAKE MANUAL ENTRIES BELOW THIS LINE! //// zone "nero-server.com" { type master; file "/var/named/nero-server.com.hosts"; };
[root@localhost ~]# cd /var/named/pri.123.nero-server.com -bash: cd: /var/named/pri.123.nero-server.com: No such file or directory [root@localhost ~]# cd /var/named/ [root@localhost named]# dir chroot localdomain.zone named.broadcast named.ip6.local named.zero data localhost.zone named.ca named.local slaves [root@localhost named]#
Yes, i understand that, but.. why does webmin create a zone as: file "/var/named/nero-server.com.hosts"; and ispconfig as: file "pri.123.nero-server.com"; And why should i create it manualy... i thought, that i can do everything in ISPConfig... :S
Because Webmin uses absolute paths; the other zone uses relative paths (relative to directory "/var/named"; in your named.conf). Because you created the named.conf entry for that zone manually and not with ISPConfig. If you want to do it with ISPConfig, then why did you edit named.conf manually? Makes no sense.
Look, i deleted everything i created in webmin, and then tried in ISPConfig, but same happaned. I want so solve that...
You can not use webmin and ISPConfig to configure the same service! You will have to decide wethere you like to use webmin or ISPConfig.
Delete the pri.123.nero-server.com zone, and then create a nero-server.com zone with ISPConfig's DNS Manager.
You must create the zone nero-server.com in ISPConfig, not 123.nero-server.com. 123 is a subdomain of nero-server.com.
So how to fix that? When i create domain in ISP Config bind gives me start error, like described on first page... What to do? :S