OT: Nameservers on W2k (Bind 9.2.1)
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
|