Re: Having trouble setting up BIND 9.9.2-P2 on Win XP PRO SP3, won't start

2013-03-27 Thread Joanne Homier


On 3/26/2013 9:40 PM, Novosielski, Ryan wrote:

I have no idea how things work on Windows, but I doubt directory is optional.



- Original Message -
From: Joanne Homier [mailto:joanne.hom...@gmail.com]
Sent: Tuesday, March 26, 2013 11:30 PM
To:bind-users@lists.isc.org  bind-users@lists.isc.org
Subject: Having trouble setting up BIND 9.9.2-P2 on Win XP PRO SP3, won't start

I installed bind using the default settings in the
installer.  I successfully generated a rndc.key file.  I
needed to populate the etc folder, so I downloaded the
Ubuntu version of bind and extracted the contents of /etc
and put them in Windows version of etc.  I went through
the files one by one and replaced Linux paths with Windows
paths.  So bind starts then immediately quits.  The error
report is below.  I have included my config files.  I am
using bind only as a recursive revolver as my ISP DNS
servers are super slow and they do DNS hijacking.  I don't
want to use any other DNS server other than the one
running on my machine.  I want to run my own DNS server
for fun.  So what could be wrong, what did I miss.

named.conf:
include C:\WINDOWS\system32\dns\etc\named.conf.options;
include C:\WINDOWS\system32\dns\etc\named.conf.local;
include
C:\WINDOWS\system32\dns\etc\named.conf.default-zones;
My named.conf was just fine.  At least for the current 
version I didn't need to set the dir path, it appears to 
be auto set.  Bind was failing to start because of a 
permissions issue.  It couldn't open named.conf and after 
granting permissions it worked.  This Windows machine now 
has a working resolver and is much faster that other 
remote DNS servers.  Normally I only use Ubuntu and bind 
setup is much easier there.

___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Having trouble setting up BIND 9.9.2-P2 on Win XP PRO SP3, won't start

2013-03-26 Thread Joanne Homier
I installed bind using the default settings in the 
installer.  I successfully generated a rndc.key file.  I 
needed to populate the etc folder, so I downloaded the 
Ubuntu version of bind and extracted the contents of /etc 
and put them in Windows version of etc.  I went through 
the files one by one and replaced Linux paths with Windows 
paths.  So bind starts then immediately quits.  The error 
report is below.  I have included my config files.  I am 
using bind only as a recursive revolver as my ISP DNS 
servers are super slow and they do DNS hijacking.  I don't 
want to use any other DNS server other than the one 
running on my machine.  I want to run my own DNS server 
for fun.  So what could be wrong, what did I miss.


Event Type:Error
Event Source:Service Control Manager
Event Category:None
Event ID:7022
Date:3/26/2013
Time:5:30:16 PM
User:N/A
Computer:MOM
Description:
The ISC BIND service hung on starting.

named.conf:
include C:\WINDOWS\system32\dns\etc\named.conf.options;
include C:\WINDOWS\system32\dns\etc\named.conf.local;
include 
C:\WINDOWS\system32\dns\etc\named.conf.default-zones;





named.conf.options:  Note that I commented out the 
/var/cache because I thought we don't need that on Windows 
or am I wrong.


// options {
//directory /var/cache/bind;

dnssec-validation auto;

auth-nxdomain no;# conform to RFC1035
listen-on-v6 { any; };
};


named.conf.default-zones:

// prime the server with knowledge of the root servers
zone . {
type hint;
file C:\WINDOWS\system32\dns\etc\db.root;
};

// be authoritative for the localhost forward and reverse 
zones, and for

// broadcast zones as per RFC 1912

zone localhost {
type master;
file C:\WINDOWS\system32\dns\etc\db.local;
};

zone 127.in-addr.arpa {
type master;
file C:\WINDOWS\system32\dns\etc\db.127;
};

zone 0.in-addr.arpa {
type master;
file C:\WINDOWS\system32\dns\etc\db.0;
};

zone 255.in-addr.arpa {
type master;
file C:\WINDOWS\system32\dns\etc\db.255;
};

--
http://namiwalks.nami.org/joannehomier

___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: Having trouble setting up BIND 9.9.2-P2 on Win XP PRO SP3, won't start

2013-03-26 Thread Novosielski, Ryan
I have no idea how things work on Windows, but I doubt directory is optional. 



- Original Message -
From: Joanne Homier [mailto:joanne.hom...@gmail.com]
Sent: Tuesday, March 26, 2013 11:30 PM
To: bind-users@lists.isc.org bind-users@lists.isc.org
Subject: Having trouble setting up BIND 9.9.2-P2 on Win XP PRO SP3, won't start

I installed bind using the default settings in the 
installer.  I successfully generated a rndc.key file.  I 
needed to populate the etc folder, so I downloaded the 
Ubuntu version of bind and extracted the contents of /etc 
and put them in Windows version of etc.  I went through 
the files one by one and replaced Linux paths with Windows 
paths.  So bind starts then immediately quits.  The error 
report is below.  I have included my config files.  I am 
using bind only as a recursive revolver as my ISP DNS 
servers are super slow and they do DNS hijacking.  I don't 
want to use any other DNS server other than the one 
running on my machine.  I want to run my own DNS server 
for fun.  So what could be wrong, what did I miss.

Event Type:Error
Event Source:Service Control Manager
Event Category:None
Event ID:7022
Date:3/26/2013
Time:5:30:16 PM
User:N/A
Computer:MOM
Description:
The ISC BIND service hung on starting.

named.conf:
include C:\WINDOWS\system32\dns\etc\named.conf.options;
include C:\WINDOWS\system32\dns\etc\named.conf.local;
include 
C:\WINDOWS\system32\dns\etc\named.conf.default-zones;




named.conf.options:  Note that I commented out the 
/var/cache because I thought we don't need that on Windows 
or am I wrong.

// options {
//directory /var/cache/bind;

 dnssec-validation auto;

 auth-nxdomain no;# conform to RFC1035
 listen-on-v6 { any; };
};


named.conf.default-zones:

// prime the server with knowledge of the root servers
zone . {
 type hint;
 file C:\WINDOWS\system32\dns\etc\db.root;
};

// be authoritative for the localhost forward and reverse 
zones, and for
// broadcast zones as per RFC 1912

zone localhost {
 type master;
 file C:\WINDOWS\system32\dns\etc\db.local;
};

zone 127.in-addr.arpa {
 type master;
 file C:\WINDOWS\system32\dns\etc\db.127;
};

zone 0.in-addr.arpa {
 type master;
 file C:\WINDOWS\system32\dns\etc\db.0;
};

zone 255.in-addr.arpa {
 type master;
 file C:\WINDOWS\system32\dns\etc\db.255;
};

-- 
http://namiwalks.nami.org/joannehomier

___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users