PDA

View Full Version : OT: Nameservers on W2k (Bind 9.2.1)


wsjb78
12-01-2002, 06:33 PM
Hiya,

I just wanted to try out to install a nameserver on my W2k desktop. I've seen that ISC now has a Bind that's running on Win32 system.

I downloaded it and installed it (it was put into c:\winnt\system32\dns\ )

After that I run from the command line:

rndc-confgen -a

That created a file in c:\winnt\system32\dns\etc\rndc.key with following content:

key "rndc-key" {
algorithm hmac-md5;
secret "QnM6Uny/kD327b/ysesuKw==";
};

After that I did create a rndc.conf file (empty) and run:

rndc-confgen > rndc.conf

It then gave me some screen output:

# Start of rndc.conf
key "rndc-key" {
algorithm hmac-md5;
secret "nhgoQ5dkQdiHJW4UWg932A==";
};

options {
default-key "rndc-key";
default-server 127.0.0.1;
default-port 953;
};
# End of rndc.conf

# Use with the following in named.conf, adjusting the allow list as needed:
# key "rndc-key" {
# algorithm hmac-md5;
# secret "nhgoQ5dkQdiHJW4UWg932A==";
# };
# controls {
# inet 127.0.0.1 port 953
# allow { 127.0.0.1; } keys { "rndc-key"; };
# };
# End of named.conf

I typed that then into the rndc.conf (which I put into the same directory as the exe files c:\winnt\system32\dns\bin)

Now I wanted to update my dns db by entering the following command at the command line:

rndc reload

But I only get the following error:

errno2result.c:61: unable to convert errno to isc_result: 10057: Socket is not connected
rndc: send failed: connection refused


Well, anyone knows where I did go wrong or what I missed?

wsjb78

Mister X
12-01-2002, 07:27 PM
::-| Not only don't know what you did wrong but I don't even know what you did. Just reading that made me feel woozy. :bonk:

wsjb78
12-02-2002, 04:50 AM
All I try to accomplish is setting up a nameserver on my W2k machine... I am no Unix or Linux guru so I don't really understand what I did myself... :)

Maybe some other TechGuy can help me on that?

EricP
12-02-2002, 11:11 AM
Hi wsjb78,

It appears that you have followed the setup correctly from what I can see.

Are you running a strict firewall? Are you using a router with a built in firewall of some sort?

I would suggest joining the Bind mailing list, http://www.isc.org/services/public/lists/bind-lists.html or you can search through the archive here: http://www.isc.org/ml-archives/

Good Luck,

Eric

Mister X
12-02-2002, 12:05 PM
Now there's something cool. A guy who posts some useful info in his very first post. Welcome aboard the X Eric!

EricP
12-02-2002, 01:26 PM
Thanks for the welcome Mister X.


:flower:

RMS
12-02-2002, 03:00 PM
the problem with posting useful replies, particularly the first ones... is that then it becomes expected of you to know stuff.

I made that mistake on some other boards in the past.

now.. I don't know anything about anything.

this is a persona I can live up to.

if someone needs to know nothing about something.. then I am the guy to see... if you need to know something about anything... everyone else is better to know. ::-|

EricP
12-02-2002, 03:47 PM
Just because I am very Pro Microsoft and manage a Windows 2000 Server does not mean I know everything :)

If someone has a question I can help with, I try my best :)

As you can see from my above post, I did not solve his problem, I only pointed him to the right place to get help.

After all, helping Webmasters is my job.

http://sitepass.com

:)

Evil Chris
12-02-2002, 03:50 PM
Hey Eric... thanks for bringing something to the board...

You were a great help when xnations was getting on it's feet.
:xthumbs:

EricP
12-02-2002, 03:59 PM
Thanks Chris,

I will try to get by here more often!

:)

RMS
12-02-2002, 04:08 PM
... I could be padding my post count here...

wsjb78
12-03-2002, 06:13 AM
Hello Eric,

sorry for my late reply. I'm just caught up in thousands of other things. Well, the desktop I tried to set it up with is on an ADSL router with integrated firewall. At home security isn't set very strict I assume. I didn't change any of those settings.

Thanks for pointing out those mail lists to me. I'll join them!

wsjb78

Originally posted by EricP
Hi wsjb78,

It appears that you have followed the setup correctly from what I can see.

Are you running a strict firewall? Are you using a router with a built in firewall of some sort?

I would suggest joining the Bind mailing list, http://www.isc.org/services/public/lists/bind-lists.html or you can search through the archive here: http://www.isc.org/ml-archives/

Good Luck,

Eric