andrewtj/dnsxd — Issue #1: error while setting dynamic global hostname on osx
Author: benoitc
Created: 2011-12-22 16:31:44+00:00
State: open

I'm trying to set a dynamic global hostname in macosx , but so far it doesn't work.

In log after adding the informations, I get :

Dec 22 17:15:56 benoitc mDNSResponder[12]: mDNS_SetSecretForDomain: ERROR: Could not convert shared secret from base64: domain example.dev. key benoitc.example.dev.
Dec 22 17:15:56 benoitc configd[16]: network configuration changed.

and later:

Dec 22 17:24:58 benoitc mDNSResponder[12]: Permission denied (NOAUTH): _services._dns-sd._udp.example.dev.
Dec 22 17:24:58 benoitc mDNSResponder[12]: hndlRecordUpdateReply: Registration of record _services._dns-sd._udp.example.dev. type 12 failed with error -65537
Dec 22 17:24:58 benoitc mDNSResponder[12]: hndlRecordUpdateReply: Will retry update of record _services._dns-sd._udp.example.dev. without lease option
Dec 22 17:24:58 benoitc mDNSResponder[12]: Permission denied (NOAUTH): _services._dns-sd._udp.example.dev.
Dec 22 17:24:58 benoitc mDNSResponder[12]: hndlRecordUpdateReply: Registration of record _services._dns-sd._udp.example.dev. type 12 failed with error -65537
Dec 22 17:24:58 benoitc mDNSResponder[12]: hndlRecordUpdateReply: Will retry update of record _services._dns-sd._udp.example.dev. without lease option

WHat could be the problem?

What I did:
===========

1) Created a zone

$ ./bin/dnsxd-admin zone example.dev -c -e
$ ./bin/dnsxd-admin tsig example.dev -c admin -e admin

2) added needed hostname:

zone-bootstrap.txt

server localhost
zone example.dev
update delete ns.example.dev. A
update add ns.example.dev. 300 IN A 127.0.0.1
update delete example.dev. A
update add example.dev. 300 IN A 127.0.0.1
key admin.example.dev yY27ighuq00ruL6M+PXzbSrRePY=
show
send
answer

used nspupdate :

$ nsupdate zone-bootstrap.txt

3) boostrap dnssd

dnssd.txt :

server ns.example.dev
zone example.dev
update add _dns-update._tcp.example.dev 60 IN SRV 0 0 53 ns.example.dev
update add _dns-llq._udp.example.dev 60 IN SRV 0 0 53 ns.example.dev
update add _dns-update._udp.example.dev 60 IN SRV 0 0 53 ns.example.dev
update add b._dns-sd._udp.example.dev 60 PTR example.dev
update add db._dns-sd._udp.example.dev 60 PTR example.dev
update add r._dns-sd._udp.example.dev 60 PTR example.dev
update add dr._dns-sd._udp.example.dev 60 PTR example.dev
key admin.example.dev yY27ighuq00ruL6M+PXzbSrRePY=
show
send
answer

used nspupdate :

$ nsupdate zone-bootstrap.txt

4) Created a user:

$ ./bin/dnsxd-admin tsig example.dev -c benoitc -e benoitc --lock benoitc

5) Setup dynamic host