HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   Problem with BIND and ISPConfigs's DNS Manager (http://www.howtoforge.com/forums/showthread.php?t=3279)

Nejko 22nd March 2006 15:56

Problem with BIND and ISPConfigs's DNS Manager
 
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:
Quote:

Failed to start BIND : Starting named: Error in named configuration: zone 0.0.127.in-addr.arpa/IN: loaded serial 1997022700 zone aljaz.nero-server.com/IN: loading master file pri.aljaz.nero-server.com: file not found _default/aljaz.nero-server.com/IN: file not found zone nero-server.com/IN: loaded serial 1142422867 zone dnt-celje.com/IN: loaded serial 1142681570 [SPODLETELO]
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

falko 22nd March 2006 17:48

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.

Nejko 22nd March 2006 20:17

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...

?

falko 23rd March 2006 01:31

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.

Nejko 23rd March 2006 14:40

Look, i created 123.nero-server.com and i get:
Quote:

Failed to start BIND : Starting named: Error in named configuration: zone 0.0.127.in-addr.arpa/IN: loaded serial 1997022700 zone 2.168.192.in-addr.arpa/IN: loading master file pri.2.168.192.in-addr.arpa: file not found _default/2.168.192.in-addr.arpa/IN: file not found zone 123.nero-server.com/IN: loading master file pri.123.nero-server.com: file not found _default/123.nero-server.com/IN: file not found zone nero-server.com/IN: loaded serial 1142867358 [SPODLETELO]
And If i look in it's zone file, there's notjing in it, but in named.conf is:
Quote:

zone "123.nero-server.com" {
type master;
file "pri.123.nero-server.com";
};
and the working domain created in webmin(nero-server.com) is:
Quote:

zone "nero-server.com" {
type master;
file "/var/named/nero-server.com.hosts";
};
Why is the file url diffarent?

falko 23rd March 2006 18:27

Quote:

Originally Posted by Nejko
zone "123.nero-server.com" {
type master;
file "pri.123.nero-server.com";
};

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?

Nejko 23rd March 2006 21:19

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";
};

falko 23rd March 2006 23:14

Does /var/named/pri.123.nero-server.com exist? What's in it?

Nejko 24th March 2006 07:29

[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]#

falko 24th March 2006 09:26

You must create the zone file /var/named/pri.123.nero-server.com then.


All times are GMT +2. The time now is 22:27.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.