Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Fri May 21, 2010 1:19 pm 
Offline
Senior Newbie

Joined: Sun Mar 28, 2010 2:27 am
Posts: 7
I'm interested in setting up a BIND server on my Linode, primarily to use with Apple's wide-area Bonjour service. I started playing around last night, but was pretty unsuccessful. I got BIND9 installed to my Ubuntu 8.04 environment, did a very simple configuration just to get going, but get a string of errors in the syslog, and it doesn't seem to be doing anything. This is all a bit of a mystery to me, and I've spent hours researching, but am not getting anywhere. Maybe someone can help?

Specifically, the configuration I envision is this:
- Linode DNS remains master for the whole domain
- I pass the subdomain bonjour.example.com to my BIND service
- I set up the server per the information laid out here: http://www.dns-sd.org/
- I connect my devices needing dynamic DNS to this subdomain, for instance, my Airport Extreme

I've found this so confusing that I'd like to figure out a simple enough setup that I can perhaps write a concise set of instructions, as I imagine this would be useful for others.

Any help would be appreciated. I'm decent at most of this stuff, but DNS is still a total mystery to me.

Thanks.



For reference, here's what I'm getting in my syslog. I've replaced my domain name with "example.com", that's not an oversight.

Code:
May 21 13:15:25 bulldog named[4601]: starting BIND 9.4.2-P2.1 -u bind
May 21 13:15:25 bulldog named[4601]: found 4 CPUs, using 4 worker threads
May 21 13:15:25 bulldog named[4601]: loading configuration from '/etc/bind/named.conf'
May 21 13:15:25 bulldog named[4601]: listening on IPv6 interfaces, port 53
May 21 13:15:25 bulldog named[4601]: listening on IPv4 interface lo, 127.0.0.1#53
May 21 13:15:25 bulldog named[4601]: listening on IPv4 interface eth0, 97.107.138.116#53
May 21 13:15:25 bulldog named[4601]: automatic empty zone: 254.169.IN-ADDR.ARPA
May 21 13:15:25 bulldog named[4601]: automatic empty zone: 2.0.192.IN-ADDR.ARPA
May 21 13:15:25 bulldog named[4601]: automatic empty zone: 255.255.255.255.IN-ADDR.ARPA
May 21 13:15:25 bulldog named[4601]: automatic empty zone: 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA
May 21 13:15:25 bulldog named[4601]: automatic empty zone: 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA
May 21 13:15:25 bulldog named[4601]: automatic empty zone: D.F.IP6.ARPA
May 21 13:15:25 bulldog named[4601]: automatic empty zone: 8.E.F.IP6.ARPA
May 21 13:15:25 bulldog named[4601]: automatic empty zone: 9.E.F.IP6.ARPA
May 21 13:15:25 bulldog named[4601]: automatic empty zone: A.E.F.IP6.ARPA
May 21 13:15:25 bulldog named[4601]: automatic empty zone: B.E.F.IP6.ARPA
May 21 13:15:25 bulldog named[4601]: command channel listening on 127.0.0.1#953
May 21 13:15:25 bulldog named[4601]: command channel listening on ::1#953
May 21 13:15:25 bulldog named[4601]: zone 0.in-addr.arpa/IN: loaded serial 1
May 21 13:15:25 bulldog named[4601]: zone 127.in-addr.arpa/IN: loaded serial 1
May 21 13:15:25 bulldog named[4601]: /etc/bind/zones/rev.1.168.192.in-addr.arpa:1: SOA record not at top of zone (N.1.168.192.in-addr.arpa)
May 21 13:15:25 bulldog named[4601]: zone 1.168.192.in-addr.arpa/IN: loading from master file /etc/bind/zones/rev.1.168.192.in-addr.arpa failed: not at top of zone
May 21 13:15:25 bulldog named[4601]: zone 255.in-addr.arpa/IN: loaded serial 1
May 21 13:15:25 bulldog named[4601]: /etc/bind/zones/example.com.db:1: unknown RR type 'replace'
May 21 13:15:25 bulldog named[4601]: zone example.com/IN: loading from master file /etc/bind/zones/example.com.db failed: unknown class/type


Top
   
 Post subject:
PostPosted: Fri May 21, 2010 3:10 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
Looks like it's choking on line 1 of the zonefile:

Quote:
May 21 13:15:25 bulldog named[4601]: /etc/bind/zones/example.com.db:1: unknown RR type 'replace'


I wonder if that line is a comment, missing its semicolon... if not, paste what's in that file and someone will surely speculate further.


Top
   
 Post subject:
PostPosted: Fri May 21, 2010 5:38 pm 
Offline
Senior Newbie

Joined: Sun Mar 28, 2010 2:27 am
Posts: 7
Exactly right! I didn't realize how picky the conf files were. I have a running BIND now.

Next, I'm wondering if anybody has experience creating a delegated subdomain DNS. I found a decent document here http://www.zytrax.com/books/dns/ch9/delegate.html but it's sort of far from my use.

Can anyone offer experience or advice for creating a delegated DNS like this?


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group