ispCP - Board - Support
Bind - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: Bind (/thread-3637.html)

Pages: 1 2


RE: Bind - sci2tech - 07-01-2008 10:05 PM

Please post one more time /etc/ispcp/bind/working/named.conf. if this file has no problem i really don`t know what it can be.


RE: Bind - TXC - 07-01-2008 10:08 PM

// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the
// structure of BIND configuration files in Debian, *BEFORE* you customize
// this configuration file.
//
// If you are just adding zones, please do that in /etc/bind/named.conf.local

include "/etc/bind/named.conf.options";

// prime the server with knowledge of the root servers
zone "." {
type hint;
file "/etc/bind/db.root";
};

// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912

zone "localhost" {
type master;
file "/etc/bind/db.local";
};

zone "127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";
};

zone "0.in-addr.arpa" {
type master;
file "/etc/bind/db.0";
};

zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";
};

// zone "com" { type delegation-only; };
// zone "net" { type delegation-only; };

key "TRANSFER" {
algorithm hmac-md5;
secret "********";
};

server ********* {
keys {
TRANSFER;
};
};

// From the release notes:
// Because many of our users are uncomfortable receiving undelegated answers
// from root or top level domains, other than a few for whom that behaviour
// has been trusted and expected for quite some length of time, we have now
// introduced the "root-delegations-only" feature which applies delegation-only
// logic to all top level domains, and to the root domain. An exception list
// should be specified, including "MUSEUM" and "DE", and any other top level
// domains from whom undelegated responses are expected and trusted.
// root-delegation-only exclude { "DE"; "MUSEUM"; };

include "/etc/bind/named.conf.local";
include "/etc/bind/rndc.key";

// bind Data BEGIN.

// dmn [txc.se] cfg entry BEGIN.
zone "txc.se" {
type master;
file "/etc/bind/master/txc.se.db";
notify YES;
};
// dmn [txc.se] cfg entry END.

******* Additional Hosts *******

// dmn [{DMN_NAME}] cfg entry BEGIN.
// dmn [{DMN_NAME}] cfg entry END.

// bind Data END.


RE: Bind - sci2tech - 07-02-2008 12:50 AM

/etc/bind/named.conf must be like this
Quote:// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the
// structure of BIND configuration files in Debian, *BEFORE* you customize
// this configuration file.
//
// If you are just adding zones, please do that in /etc/bind/named.conf.local

include "/etc/bind/named.conf.options";

// prime the server with knowledge of the root servers
zone "." {
type hint;
file "/etc/bind/db.root";
};

// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912

zone "localhost" {
type master;
file "/etc/bind/db.local";
};

zone "127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";
};

zone "0.in-addr.arpa" {
type master;
file "/etc/bind/db.0";
};

zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";
};

// zone "com" { type delegation-only; };
// zone "net" { type delegation-only; };

key "TRANSFER" {
algorithm hmac-md5;
secret "********";
};

server ********* {
keys {
TRANSFER;
};
};

// From the release notes:
// Because many of our users are uncomfortable receiving undelegated answers
// from root or top level domains, other than a few for whom that behaviour
// has been trusted and expected for quite some length of time, we have now
// introduced the "root-delegations-only" feature which applies delegation-only
// logic to all top level domains, and to the root domain. An exception list
// should be specified, including "MUSEUM" and "DE", and any other top level
// domains from whom undelegated responses are expected and trusted.
// root-delegation-only exclude { "DE"; "MUSEUM"; };

include "/etc/bind/named.conf.local";
include "/etc/bind/rndc.key";

// bind Data BEGIN.

// dmn [txc.se] cfg entry BEGIN.
zone "txc.se" {
type master;
file "/etc/bind/master/txc.se.db";
notify YES;
};
// dmn [txc.se] cfg entry END.

// dmn [{DMN_NAME}] cfg entry BEGIN.
// dmn [{DMN_NAME}] cfg entry END.

// bind Data END.
/etc/ispcp/bind9/working/named.conf must be this (not all named.conf Wink :

Quote:// bind Data BEGIN.

// dmn [txc.se] cfg entry BEGIN.
zone "txc.se" {
type master;
file "/etc/bind/master/txc.se.db";
notify YES;
};
// dmn [txc.se] cfg entry END.

// dmn [{DMN_NAME}] cfg entry BEGIN.
// dmn [{DMN_NAME}] cfg entry END.

// bind Data END.



RE: Bind - TXC - 07-02-2008 12:58 AM

named.conf in ispcp directory contains only data (between // bind Data BEGIN. and // bind Data END.) ?

Is that the error?


RE: Bind - sci2tech - 07-02-2008 01:11 AM

/etc/ispcp/bind/named.conf
Quote:/etc/ispcp/bind# cat named.conf
// bind Data BEGIN.

// dmn [{DMN_NAME}] cfg entry BEGIN.
// dmn [{DMN_NAME}] cfg entry END.

// bind Data END.
The error is that you copied /etc/bind/named.conf in /etc/ispcp/working/named.conf. without removing data that has nothing to do with ispcp. Code expect a strict syntax of the file, modifying this can lead to different problem (as happend to you)


RE: Bind - TXC - 07-02-2008 01:25 AM

i haven't touched /etc/ispcp/bind/named.conf, i have only overwritten /etc/ispcp/bind/working/named.conf

Code:
cp /etc/bind/named.conf /etc/ispcp/bind/working/



RE: Bind - sci2tech - 07-02-2008 01:56 AM

This is exactly what i`m trying to tell you with my poor english Smile This 2 files are not identical. /etc/ispcp/bind/working/named.conf must contain just data bettwen
// bind Data BEGIN.
and
// bind Data END.
from the /etc/bind/named.conf not all the data from that file.
sci2tech Wrote:/etc/ispcp/bind9/working/named.conf must be this (not all named.conf
Quote:// bind Data BEGIN.

// dmn [txc.se] cfg entry BEGIN.
zone "txc.se" {
type master;
file "/etc/bind/master/txc.se.db";
notify YES;
};
// dmn [txc.se] cfg entry END.

// dmn [{DMN_NAME}] cfg entry BEGIN.
// dmn [{DMN_NAME}] cfg entry END.

// bind Data END.



RE: Bind - TXC - 07-02-2008 02:02 AM

Yes. but you mentioned /etc/ispcp/bind/named.conf in #15, and that confused me.


RE: Bind - sci2tech - 07-02-2008 02:09 AM

I`m sorry for misleading, i did understand that you need to know what is the content of /etc/ispcp/bind/named.conf not the one from /etc/ispcp/bind/working/named.conf. Damn, I must return to school to learn a little bit more English.
To resume /etc/bind/named.conf and /etc/ispcp/bind/working/named.conf are different and /etc/ispcp/bind/working/named.conf must contain only data from // bind Data BEGIN. to // bind Data END.
Good luck Wink


RE: Bind - TXC - 07-02-2008 02:20 AM

I have changed the file in working/ now. I hope this help, and big thanks for your efforts.
+ Rep