Hi Guys,
Bind9 Query...
I have installed ispcp... several times now... and i'm starting to thinking in move to another control panel. However yestarday i give it another chance. Everything seems ok except a problem with DNS.
The service is running on my main address and is detected by ispcp, when you add a domain, zones are created. However bind9 seems even internally (127.0.0.1) not to resolve the new zones.
eth0= xxx.xxx.xxx.43
eth0:0= xxx.xxx.xxx.61
Code:
telnet xxx.xxx.xxx.43 53
Trying xxx.xxx.xxx.43...
Connected to xxx.xxx.xxx.43.
Escape character is '^]'.
Code:
telnet xxx.xxx.xxx 53
Trying xxx.xxx.xxx.61...
Connected to xxx.xxx.xxx.61.
Escape character is '^]'.
Code:
# nslookup mydomainispcp.tld
;; Got SERVFAIL reply from 127.0.0.1, trying next server
;; Got SERVFAIL reply from xxx.xxx.xxx.43, trying next server
;; Got SERVFAIL reply from 127.0.0.1, trying next server
;; Got SERVFAIL reply from xxx.xxx.xxx.43, trying next server
Server: xxx.xxx.xxx.61
Address: xxx.xxx.xxx.61#53
** server can't find domainispcp.tld.mymaindomain.tld: SERVFAIL
Named.conf
Code:
// 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";
};
include "/etc/bind/named.conf.local";
// bind Data BEGIN.
// dmn [mydomain.tld] cfg entry BEGIN.
zone "mydomain.tld" {
type master;
file "/var/cache/bind/mydomain.tld.db";
notify YES;
};
// dmn [mydomain.tld] cfg entry END.
// dmn [domainispcp.tld] cfg entry BEGIN.
zone "domainispcp.tld" {
type master;
file "/var/cache/bind/domainispcp.tld.db";
notify YES;
};
// dmn [domainispcp.tld] cfg entry END.
// dmn [{DMN_NAME}] cfg entry BEGIN.
// dmn [{DMN_NAME}] cfg entry END.
any Ideias???
Kid Regards, somel[/i]