ispCP - Board - Support
About the NS1 and NS2 configuration - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: General discussion (/forum-11.html)
+--- Thread: About the NS1 and NS2 configuration (/thread-8191.html)



About the NS1 and NS2 configuration - koko92_national - 10-22-2009 09:45 PM

Hi all,
Excuse me for this stupid question but i'm still new in this. I want to have ns1.dom.com and ns2.dom.com. I've looked in the tutorial and i didnt understand something:

Code:
options {
        directory "/var/cache/bind";
        forwarders {
                [DNS.FROM.ISP];};
        auth-nxdomain no;
        dnssec-enable yes;
};
key "TRANSFER" {
        algorithm hmac-md5;
        secret "[HASHKEY]";
};
server [YOUR.NS2.IP] {
        keys {
                TRANSFER;
        };
};

What should be the values for:
[HASHKEY]
&
[DNS.FROM.ISP]


RE: About the NS1 and NS2 configuration - joximu - 10-23-2009 12:37 AM

http://oldwww.isc.org/sw/bind/arm95/Bv9ARM.ch06.html#id2574828

the other: there shoulöd be somone who gives you an ip address for the server (= your isp) - and there should be dns servers too...

/J


RE: About the NS1 and NS2 configuration - koko92_national - 10-23-2009 02:01 AM

Yes i got it. Thanks.

Another thing about this.
Whit this command:
Code:
dnssec-keygen -a hmac-md5 -b 512 -n host [YOUR.NS1.FQDN]
I create hashkey for ns1. Do i have to repeat it for ns2?

And "TRANSFER" should i change it to "rndc_key" or leave like this?


RE: About the NS1 and NS2 configuration - koko92_national - 10-24-2009 03:06 PM

Someone? Sad


RE: About the NS1 and NS2 configuration - Alex Joe - 10-24-2009 08:09 PM

Quote:And "TRANSFER" should i change it to "rndc_key" or leave like this?

Leave it. TRANSFER it's key you've configured before:
Quote:key "TRANSFER" {
algorithm hmac-md5;
secret "[YOURHASHKEY]";

In NS2 server you should put the same HASHKEY:

Quote:key "TRANSFER" {
algorithm hmac-md5;
secret "[YOUR_HASHKEY_FROM_NS1]";

Best regards

Alex Joe


RE: About the NS1 and NS2 configuration - koko92_national - 10-25-2009 02:36 AM

Thank you.