|
Hello! I have successfully setup my Airport Extreme to work with Custom DNS, along with my MacBook as well. Additionally, I have a Time Capsule (not acting as router) which also registers itself to my domain. It seems the pairs of SRV & TXT records are all correctly setup, and my various devices seem to accurately remove the records as well if I turn them off nicely (but if I just turn my Time Capsule off, the records seem to remain… but I can live with that). Also, the A records for the various device names are also created correctly. HOWEVER… I come across two main problems (and one minor):
I don't pretend to be a DNS expert, but I have read quite extensively around the internet and experimented with my setup, and I don't seem able to get it to work in the fashion that I would like (or expect, given that Custom DNS is advertised as supporting Bonjour). Many thanks in advance for any help. Nic. |
|
0) Wide-area Bonjour uses DNS Update Leases to remove services in the event of a client disconnecting prior to being able to remove them itself. Using Update Leases the records still hang around for the length of the lease before being removed but that's still quite an improvement over having services dangle forever. Unfortunately DynDNS doesn't support this DNS extension. 1) The PTR records are used to find the services available for a given service type. Doing a PTR lookup for http://_afpovertcp._tcp.mydomain.com should return a list like http://service1._afpovertcp._tcp.mydomain.com, service2._afpovertcp._tcp.mydomain, etc. The information stored in the SRV and TXT records found at http://service1._afpovertcp._tcp.mydomain.com are then used to actually connect to the service. If your services are uniquely named this won't pose a problem, however if your services all have the same name they will clobber each other (last update wins) as Wide-Area Bonjour doesn't currently detect and automatically rename services the way regular Bonjour does. 2) It's up to each piece of software as to whether a service gets registered in all available domains or just the local one. iTunes for instance only registers in the .local domain. Finding the services available in a domain is called a meta-query and is done using a PTR lookup for http://_services._dns-sd._udp.mydomain.com which should return a list like http://_ssh._tcp.mydomain.com, http://_http._tcp.mydomain.com, etc. This list is not updated by WAB clients so you'll need to add the records manually to get discovery-software that relies on meta-queries to work. 3) This was raised in another question here. In so far as I'm aware duplicate records (that is records that are identical when comparing their names case-insensitively and excluding their TTLs) shouldn't be created via a DNS Update request. The person who raised this here was advised otherwise by Dyn support. This behaviour shouldn't cause any problems for WAB clients. Going back to the main issue — the clash with the http://_afpovertcp._tcp.mydomain.com services — are the devices all explicitly configured with different names? Thank you so much for your response. Due to my verbosity and the limited number of characters in a comment, I have replied to you in another answer below. Thanks again. Nic.
Oct 17 at 01:23 PM
Nic
|
|
I'm going to check and see if it possible to do what you are interested in (point 1). I will let you know when I have more information. Thank you. I have since been able to confirm that if I create manual records (multiple PTR records with their [multiple] pairs of PTR & TXT records) for the same service type, then there is no problem… and bonjour clients can see the multiple instances of the same service type and connect just fine. But as soon as any bonjour client "advertises" a new instance of that service type, then all my other (triplets of) records disappear, and I am left with just the new single instance. Finally, a comment on my point 3. I realise now it is an issue, because Custom DNS has a limit of 70 records!
Nov 02 at 10:53 AM
Nic
|
|
Update, as promised: I received the following email from support on the 14th November:
For reference, the case / ticket number is #1359550. So, I guess the question will have to remain unanswered for the time being. If (hopefully when, but it's been a while, and it appears DynDNS see Bonjour only as a hobby) I get a response from DynDNS and / or get it fully working, I will let you know. Once again, it will work as long as you only register ONE service instance per service… but that flies against all about Bonjour… I mean even a small office can have more than one printer or one file share!!!! |
|
Hello Nic, Do you have any follow-up info on the problem you're having (point 1)? I'm seeing exactly the same issue and have yet to find a way to sort this out :-( Yes, but not encouraging. If I manually create triplets of records for each instance all works OK. I could get round this for my home NW since my port nos don't change & I don't need to advertise a service - at least the IP address will be accurate (A record). But I can't benefit from mobile devices on difference NWs with auto port forwarding. Sadly, support told me: The Bonjour updates were a lab project some developers did so I'm sure they would appreciate the feedback." I have replied with link to https://www.dyndns.com/services/wizard/free-domain-name.html where they advertise Bonjour!
Nov 02 at 11:04 AM
Nic
I will keep this thread updated as I get answers.
Nov 02 at 11:05 AM
Nic
Ah, thanks for your reply! Oh, yes, that's really no encouraging, since it basically means that DynDNS's implementation of Wide-Area Bonjour is actually inherently broken :-( Yes, I also "fell" for the page you linked to: While I can live without LLQ and Update Leases (even though it nowhere mentions on the ad page that those aren't implemented), I'd really like to actually register services – fortunately I don't need to either, but it's one of the main points of WAB that you don't have to remember any port numbers etc. I've contacted them via email and twitter too, let's see...
Nov 02 at 12:29 PM
gkaindl
oh, by the way, if you're in an email conversation with the dev team, would you mind including me in CC? My email address is at http://gkaindl.com/contact (for anti-spam reasons). I would appreciate it and could possibly help in the discussion (I'm a tech person as well).
Nov 02 at 03:17 PM
gkaindl
|
|
I am writing a response to Andrew's answer here, as there are not enough characters in a comment (sorry if I am too verbose, but I just want to be clear). Firstly, thank for your a complete and fast response… it is much appreciated.
Once again, thanks for your response. I have written to DynDNS support asking them to look at this question. I also noted one other user who claims as recently as the 4th of this month that everything seems to work perfectly for him with an airport extreme (which, if one only has ONE printer and ONE share disk or ONE shared screen, would work for me too)! I will keep the community updated on my progress in getting this to work. Nic. Sorry for leaving you hanging. You're understanding of the use of PTR records for advertising services and of the removal of records is accurate. As I don't use DynDNS's service or work for them I can't speak to whether there's any issue with their system that would cause this. I'm not aware of any bugs in the Apple firmware and Bonjour software releases that would cause this behaviour and I don't have any of the issues you describe with my own equipment and another service.
Oct 27 at 11:46 AM
Andrew TJ
|