October 22nd, 2011, 02:24 AM
Bind named.exe crashes when listening on ipv4 interface
I'm new to using bind and trying to get it to run in windows XP. For some reason named.exe crashes when I start the service giving me a 1067 error. The bind version I have is BIND9.9.0a3. The following occurs when executing the named -g command and named.exe crashes right after listening on ipv4 interface. The same thing happened when I try to run bind on a different windows 7 machine. Is there a way to stop named.exe from crashing?
2011 07:40:36.140 starting BIND 9.9.0a3 -g
2011 07:40:36.140 built with default
2011 07:40:36.140 found 8 CPUs, using 8 worker threads
2011 07:40:36.140 loading configuration from 'C:\WINDOWS\system32\dns\et
2011 07:40:36.140 using default UDP/IPv4 port range: [1024, 65535]
2011 07:40:36.140 using default UDP/IPv6 port range: [1024, 65535]
2011 07:40:36.140 no IPv6 interfaces found
2011 07:40:36.140 listening on IPv4 interface PPP Interface 1, 114.25.14
October 26th, 2011, 12:57 PM
I switched to Ubuntu with the following files.
@ IN SOA fred.fredreload.com. admin.fredreload.com. (
fredreload.com. IN A 127.0.0.1
www IN A 127.0.0.1
@ IN SOA fredreload.com. admin.fredreload.com. (
@ IN NS fredreload.com.
Started Bind and did "nslookup fredreload.com" but received a servfail.
server can't find fredreload.com.fredreload.com: SERVFAIL
What changes should I make?
October 26th, 2011, 04:51 PM
Try "nslookup fredreload.com." for the query. Nslookup uses the Search feature and appends the domain suffix to the end by default. Use dig if you can to test. But the main issue is that you have no NS records for the fredreload.com zone. Add those and you should be ok.
October 27th, 2011, 01:30 PM
Thanks for the reply, but I still received SERVFAIL from "nslookup fredreload.com."
** server can't find fredreload.com: SERVFAIL
Is there other changes I should make? I'll check for other examples over the weekend.
October 27th, 2011, 01:44 PM
Did you add those NS records and reload the domain? If those are missing, you will get SERVFAIL's. If a zone has no NS records, it will fail to even load. You can see that in the logs (usually /var/log/messages).
October 28th, 2011, 04:39 PM
I set the NS record to 127.0.0.1 and did "nslookup" but received no answer.
*** Can't find fredreload.com.: No answer
October 28th, 2011, 04:54 PM
What does the fredreload.com.db file look like now?
October 29th, 2011, 12:38 AM
My bad, I think I'll take some time to look over it first.