Current time: 12-24-2024, 12:15 AM Hello There, Guest! (LoginRegister)


Post Reply 
DNS & Domain Problem
Author Message
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #11
RE: DNS & Domain Problem
Ok, so here's the problem!

This file is missing entries for each of your hosted domains, something like the following, but with an extra block for each domain, obviously:
Code:
...
   // dmn [admin.server1.hosting.domain.co.uk] cfg entry END.
  
+  // dmn [hosted_domain.tld] cfg entry BEGIN.
+  zone "hosted_domain.tld" {
+          type    master;
+          file    "/var/cache/bind/hosted_domain.com.db";
+          notify  YES;
+  };
+  // dmn [hosted_domain.tld] cfg entry END.

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

   // bind Data END.

Don't forget to add them to the "/etc/ispcp/bind/working/named.conf" file too or they'll be deleted next time you edit a domain!
08-16-2009 03:23 PM
Visit this user's website Find all posts by this user Quote this message in a reply
dannad Offline
Junior Member
*

Posts: 18
Joined: Aug 2009
Reputation: 0
Post: #12
RE: DNS & Domain Problem
Hi Kilburn,
I will add that block to the named.conf for the one domain that I have tried adding through ispCP but that still doesn't explain why the "admin.server1.hosting.domain.co.uk" doesn't work because that does have an entry and it does definitely have a /var/cache/bind/admin.server1.hosting.domain.co.uk.db

I am accessing ispCP through the VPS IP address at the moment instead of the domain...

Thanks,
Dan
08-17-2009 07:16 AM
Find all posts by this user Quote this message in a reply
dannad Offline
Junior Member
*

Posts: 18
Joined: Aug 2009
Reputation: 0
Post: #13
RE: DNS & Domain Problem
erm, I just tried to restart Bind and got the following errors:
Quote:Stopping domain name service...: bind9/usr/sbin/rndc: error while loading shared libraries: libgssapi_krb5.so.2: failed to map segment from shared object: Cannot allocate memory
.
Starting domain name service...: bind9/etc/init.d/bind9: line 44: 13783 Segmentation fault chmod 775 /var/run/bind/run

Could that be a problem?
08-17-2009 08:54 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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