Setting up a BIND server for Dynamic DNS and zero-conf
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
> 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.
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
Can anyone offer experience or advice for creating a delegated DNS like this?