Current time: 11-15-2024, 05:22 PM Hello There, Guest! (LoginRegister)


Post Reply 
About the NS1 and NS2 configuration
Author Message
koko92_national Offline
Junior Member
*

Posts: 70
Joined: Jul 2008
Reputation: 0
Post: #1
About the NS1 and NS2 configuration
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]
(This post was last modified: 10-22-2009 10:34 PM by koko92_national.)
10-22-2009 09:45 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: About the NS1 and NS2 configuration
http://oldwww.isc.org/sw/bind/arm95/Bv9A...#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
10-23-2009 12:37 AM
Visit this user's website Find all posts by this user Quote this message in a reply
koko92_national Offline
Junior Member
*

Posts: 70
Joined: Jul 2008
Reputation: 0
Post: #3
RE: About the NS1 and NS2 configuration
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?
10-23-2009 02:01 AM
Find all posts by this user Quote this message in a reply
koko92_national Offline
Junior Member
*

Posts: 70
Joined: Jul 2008
Reputation: 0
Post: #4
RE: About the NS1 and NS2 configuration
Someone? Sad
10-24-2009 03:06 PM
Find all posts by this user Quote this message in a reply
Alex Joe Offline
Junior Member
*

Posts: 72
Joined: Oct 2007
Reputation: 0
Post: #5
RE: About the NS1 and NS2 configuration
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
10-24-2009 08:09 PM
Visit this user's website Find all posts by this user Quote this message in a reply
koko92_national Offline
Junior Member
*

Posts: 70
Joined: Jul 2008
Reputation: 0
Post: #6
RE: About the NS1 and NS2 configuration
Thank you.
10-25-2009 02:36 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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