DNS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsSystem AdministrationDNS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 22nd, 2011, 01:24 AM
fredreload fredreload is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2011
Posts: 5 fredreload User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 51 m 15 sec
Reputation Power: 0
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?

C:\WINDOWS\system32\dns\bin>named -g
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
c\named.conf'
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
9.168#53

Reply With Quote
  #2  
Old October 26th, 2011, 11:57 AM
fredreload fredreload is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2011
Posts: 5 fredreload User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 51 m 15 sec
Reputation Power: 0
Servfail

I switched to Ubuntu with the following files.

File: named.conf.local

Code:
zone "fredreload.com"
{
        type master;
        file "/etc/bind/zones/fredreload.com.db";
};

zone "0.0.127.in-addr.arpa"
{
        type master;
        file "rev.0.0.127.in-addr.arpa";
};


File: fredreload.com.db

Code:
$TTL 3D
@ IN SOA fred.fredreload.com. admin.fredreload.com. (
2011102601;
28800;
3600;
604800;
38400
);

fredreload.com. IN      A       127.0.0.1
www             IN      A       127.0.0.1


File: rev.0.0.127.in-addr.arpa

Code:
TTL 3D
@ IN SOA fredreload.com. admin.fredreload.com. (
2011102601;
28800;
604800;
604800;
86400
);

@                IN      NS      fredreload.com.


File: resolv.conf

Code:
search fredreload.com.
nameserver 127.0.0.1



Started Bind and did "nslookup fredreload.com" but received a servfail.

Server: 127.0.0.1
Address: 127.0.0.1#53

server can't find fredreload.com.fredreload.com: SERVFAIL

What changes should I make?

Reply With Quote
  #3  
Old October 26th, 2011, 03:51 PM
CaptPikel CaptPikel is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2010
Location: Florida
Posts: 248 CaptPikel User rank is Lance Corporal (50 - 100 Reputation Level)CaptPikel User rank is Lance Corporal (50 - 100 Reputation Level)CaptPikel User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 3 Days 15 h 26 m 11 sec
Reputation Power: 3
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.

Reply With Quote
  #4  
Old October 27th, 2011, 12:30 PM
fredreload fredreload is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2011
Posts: 5 fredreload User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 51 m 15 sec
Reputation Power: 0
Hi

Thanks for the reply, but I still received SERVFAIL from "nslookup fredreload.com."

Server: 127.0.0.1
Address: 127.0.0.1#53

** server can't find fredreload.com: SERVFAIL

Is there other changes I should make? I'll check for other examples over the weekend.

Reply With Quote
  #5  
Old October 27th, 2011, 12:44 PM
CaptPikel CaptPikel is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2010
Location: Florida
Posts: 248 CaptPikel User rank is Lance Corporal (50 - 100 Reputation Level)CaptPikel User rank is Lance Corporal (50 - 100 Reputation Level)CaptPikel User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 3 Days 15 h 26 m 11 sec
Reputation Power: 3
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).

Reply With Quote
  #6  
Old October 28th, 2011, 03:39 PM
fredreload fredreload is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2011
Posts: 5 fredreload User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 51 m 15 sec
Reputation Power: 0
I set the NS record to 127.0.0.1 and did "nslookup" but received no answer.

nslookup fredreload.com.

Server: 127.0.0.1
Address: 127.0.0.1#53

*** Can't find fredreload.com.: No answer

Reply With Quote
  #7  
Old October 28th, 2011, 03:54 PM
CaptPikel CaptPikel is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2010
Location: Florida
Posts: 248 CaptPikel User rank is Lance Corporal (50 - 100 Reputation Level)CaptPikel User rank is Lance Corporal (50 - 100 Reputation Level)CaptPikel User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 3 Days 15 h 26 m 11 sec
Reputation Power: 3
What does the fredreload.com.db file look like now?

Reply With Quote
  #8  
Old October 28th, 2011, 11:38 PM
fredreload fredreload is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2011
Posts: 5 fredreload User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 51 m 15 sec
Reputation Power: 0
My bad, I think I'll take some time to look over it first.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > Bind named.exe crashes when listening on ipv4 interface

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap