|
My first attempt at Wide Area Bonjour is not working well. Setup • Custom domain level • Read and Re-read the tutorial on setup for Wide Area Bonjour and http://Dyndns.com • Generated my TSIG Key (after setting up the DNS zone) • Enable one machine and one time capsule with wide area names and the TSIG information • Enabled a second machine (MAcBook Pro, via Airport Express in bridge, to a Linksys with UPNP enabled) The first machine is able to update the DNS zone and created the hostname http://smacsback.servicemacs.com. In the DNS record the IP A record was created and 3 PTR records were created. Ports are working right on that machine through it's Time Capsule router. Meaning I haven't mapped any ports open to the machine, but services like SSH, ARD, and SFTP are working dynamically. On my second machine on a completely separate network I am unable to browse the bonjour domain via Bonjour Browser, the Finder, or the terminal using: dns-sd -B _ssh._tcp http://servicemacs.com (I used this as there is a PTR record for SSH that was auto created by the only host that is communicating to the DNS server) The second machine has http://servicemacs.com in the search domains field but is not currently set to use a wide area name. All machine are using Snow Leopard, both networks are from the same ISP with different IPs and in different cities. Help? |
|
Bonjour Browser isn't going to work out of the box. You can verify that the second machine has found the Browse domain by running "dns-sd -F". Assuming that shows up, it's most likely that the records for the services have been negatively cached. The http://servicemacs.com SOA's minimum field is currently 1800 seconds (30 minutes). You might want to consider dropping that to 60 seconds so you don't have to wait as long if a lookup fails. EDIT: Also, at time of writing I can't see any http://_ssh._tcp.servicemacs.com PTR records. Secondly, I deleted the Wide Area bonjour settings in all my test machines, flushed the cache and rebooted. Only one machine will register with Dyn Dns and it creates an A record with a hard IP address and two PTR records: http://_services._dns-sd._udp.servicemacs.com 4500 PTR http://_sftp-ssh._tcp.servicemacs.com. and http://_services._dns-sd._udp.servicemacs.com 4500 PTR http://_ssh._tcp.servicemacs.com. No SRV records, or TXT records. I don't understand why my laptop wont' register. It's a stock 10.6.5 MacBook Pro with no third party addons. I use the same TSIG info and create a valid DNS name. No crazy firewall.?
Feb 12 at 07:30 PM
servicemacs
It's quite odd that one machine can create the PTR records but not the SRV or TXT records. To verify everything is ok on Dyn's end try https://gist.github.com/6549902774ce9b8f09d1. Regarding the MBP, does it have a public IP or is it NAT'd behind a NAT-PMP or uPnP forwarding enabled firewall?
Feb 12 at 11:02 PM
Andrew TJ
Cool, worked but here is the interesting thing. It blew out the other bonjour bookmarks I had made. They are still in the DNS fields but do not show up in Safari, only the bookmark I made via nsupdate. I wonder if this service is limited to only one device? Doesn't seem likely. Yes the MBP is behind NAT with UPnP enabled, linksys WRT310N with airport express in bridge mode for wireless. I'm at a loss. I have a variety of OSX servers I can test but they are all behind fire walls defeating the purpose of wide area. As a mac consulting firm we were excited to have this work. bummer
Feb 12 at 11:33 PM
servicemacs
I'd consider that a server-side bug. A DNS update add is only ever destructive if there's a record that is otherwise identical except for the TTL or if the record being added is a CNAME and there's already a CNAME at that name. I think it'd be an exercise in frustration to do anything further till that's resolved. Not to shill, but as it happens I'm writing a DNS server geared towards WAB. I should have an open-source release out this month and it'll be available as SaaS some months later. Drop me an email or keep an eye on my GitHub account if it's of interest.
Feb 13 at 12:44 AM
Andrew TJ
Update for anyone reading this: The Wide Are Bonjour Implementation here is buggy at best and is not working from support configurations in spite of expert assistance from one Andrew TJ
Feb 15 at 09:01 PM
servicemacs
|