ispCP - Board - Support
DNS & Domain Problem - 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: DNS & Domain Problem (/thread-7506.html)

Pages: 1 2


RE: DNS & Domain Problem - kilburn - 08-16-2009 03:23 PM

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!


RE: DNS & Domain Problem - dannad - 08-17-2009 07:16 AM

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


RE: DNS & Domain Problem - dannad - 08-17-2009 08:54 PM

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?