Setting up a BIND server for Dynamic DNS and zero-conf

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.

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

2 Replies

Looks like it's choking on line 1 of the zonefile:

> 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.

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?

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct