BIND service won't start
Danny Mayer
mayer at gis.net
Sun Nov 17 14:49:01 UTC 2002
At 03:40 PM 11/16/02, Dan Horne wrote:
>Hello all,
>
>I have recently been put in charge of my organization's (abysmal)
>Win2K DNS configuration. I have begged for and finally gotten
>permission to move from W2KDNS to BIND 9.2.1. I must run it on W2K
>Srv, though. (baby steps)
>
>Anyway, I created all necessary conf files and put them in their
>proper places, but when I try to start the services, the event log
>shows several events:
>
>-C:\WINNT\System32\dns\etc\named.conf:29: unknown option 'key'
>-C:\WINNT\System32\dns\etc\named.conf:35: unknown option 'key'
>-C:\WINNT\System32\dns\etc\named.conf:40: unknown option 'controls'
>-C:\WINNT\System32\dns\etc\named.conf:46: unknown option 'logging'
>-C:\WINNT\System32\dns\etc\named.conf:64: '}' expected near end of
>file
>-loading configuration: unexpected token
>-exiting (due to fatal error)
>
>I checked out my named.conf and made sure all t's were crossed and all
>i's dotted, and I can't figure out where the "}" is missing from. I
>put one in at the end, and that error went away, but the rest
>continued to occur.
>
>Can someone take a look at my named.conf and tell me where the error
>is?
>
>Here is my named.conf:
>-----------------------------------------
>//BIND configuration file for DNS
>//TAIS Web
>//Created 10-31-2002 by Dan Horne
>
>options {
> directory "c:\winnt\system32\dns\etc\namedb";
> version "sike";
> allow-transfer { key ns1-ns2.taisweb.net.; };
> listen-on { 199.72.81.124; };
> query-source address 199.72.81.124 port 53;
>};
>
>//ACL's
>acl "wilcoxnets" { 199.72.81/24; 207.59.51/24; 172.20.1/24; };
>acl "clients" { 199.72.19/24; };
>acl "ns2" { 199.72.81.200/32; };
>
>//Include Views
>include "view.INTERNAL.conf";
>include "view.EXTERNAL.conf";
>
>//Server Statements
>server 199.72.81.200 {
> keys { ns1-ns2.taisweb.net.;
^
>};
You're missing a closing "}" on the keys statement above.
Danny
>//Keys
>key ns1-ns2.taisweb.net. {
> algorithm hmac-md5;
> secret "5tADevbmy7rjxv5ZvsiCeg==";
>};
>
>
>key "rndc-key" {
> algorithm hmac-md5;
> secret "Q/h77wTPY+G5nboMdJwwqg==";
>};
>
>controls {
> inet 127.0.0.1 port 953
> allow { 127.0.0.1; "wilcoxnets"; } keys { "rndc-key"; };
>};
>
>
>logging {
> channel bind_log {
> file "\logs\bind.log";
> severity dynamic;
> print-category yes;
> print-severity yes;
> };
>
> channel query_log {
> file "\logs\query.log";
> severity dynamic;
> print-category yes;
> print-severity yes;
> };
>
> category default { bind_log; };
> category general { bind_log; };
> category queries { query_log; };
>};
>
>-------------------------------------
>
>Feel free to contact me by email.
>
>dan[DOESN'T_LIKE_SPAM]@wilcox[NOSPAM]travel.com
>remove [...]'s
>
>TIA,
>
>Dan Horne
More information about the bind-users
mailing list