Current time: 09-23-2024, 06:23 PM Hello There, Guest! (LoginRegister)


Post Reply 
BIND NOT RESOLVING HOSTNAME
Author Message
Somel Offline
Newbie
*

Posts: 5
Joined: Apr 2009
Reputation: 0
Post: #1
Exclamation BIND NOT RESOLVING HOSTNAME
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]
05-01-2009 01:09 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
BIND NOT RESOLVING HOSTNAME - Somel - 05-01-2009 01:09 AM
RE: BIND NOT RESOLVING HOSTNAME - robbo007 - 05-06-2009, 12:26 AM
RE: BIND NOT RESOLVING HOSTNAME - kilburn - 05-06-2009, 12:41 AM
RE: BIND NOT RESOLVING HOSTNAME - Somel - 05-06-2009, 01:04 AM

Forum Jump:


User(s) browsing this thread: 3 Guest(s)