x
all questions login
General DNS & Domains Dyn Email Update Clients Dyn Developer

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):

  1. My understanding is that multiple PTR records should be set up. In my case, I have configured three http://_afpovertcp._tcp.mydomain.com services (each service with a host, but since they are all going through one internet router, they resolve to the same IP address). But it seems that only ONE PTR records is created for each service, so it's the last record that updates that seems to get it. And occasionally, I've seen a record disappear altogether (probably a result of closing down the last device that used it). So, I cannot BROWSE for these services.

  2. If I use something like Bonjour Browser, for some reason it only seems to show up AFP, Printing, and Airport Basestations, but not Samba or other services (which is strange, since it shows the Samba services on the local network). HOWEVER… just like using dns-sd in point one above, it only shows ONE device for each service. AND, if I use it's equivalent on the iphone (Discovery), I get NOTHING if I search for my own domain. But if I search for an example domain such as http://dns-sd.org, it shows up all their example services, so it can't be my router (either at home or via 3G). Why will these utilities browse other domains so easily and fully but show NOTHING for mine?

  3. The final small problem is that for some reason there a multiple DUPLICATE records for _airport._sub._adisk._tcp being created.

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.

more ▼

asked Oct 15 at 12:04 PM

Nic\'s gravatar image

Nic
51 1 1 5

10|600 characters needed characters left

5 answers:

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?

more ▼

answered Oct 15 at 10:47 PM

Andrew TJ\'s gravatar image

Andrew TJ
806 3 17

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
10|600 characters needed characters left

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.

more ▼

answered Nov 01 at 07:05 PM

cgonyea\'s gravatar image

cgonyea ♦
2.4k 8 13 53

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

@cgonyea — any news?

Nov 05 at 11:28 PM Andrew TJ
10|600 characters needed characters left

Update, as promised:

I received the following email from support on the 14th November:

it will be worked on, but we have no ETA at this time. I have escalated this to management to look into for you though.

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

more ▼

answered Nov 16 at 12:55 PM

Nic\'s gravatar image

Nic
51 1 1 5

10|600 characters needed characters left

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 :-(

more ▼

answered Nov 01 at 06:11 PM

gkaindl\'s gravatar image

gkaindl
1

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
10|600 characters needed characters left

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.

  • Point 2 in your answer is fully answered and it works perfectly. I created a http://_services._dns-sd._udp.mydomain.com record for each service I wanted to browse and it works with my iPhone apps (although not with BB on the Mac, but that may be due to it using the Mac's own Bonjour services). Thanks.

  • Point 0 is disappointing. Are you saying that a PTR record created by my router will NEVER get deleted if the router is just switched off? I guess if DynDNS don't do leasing on router-created records, then that must be the case.

  • Point 1 (the main point): I'm not sure if I fully understand. Am I right in saying I should have multiple PTR records starting with http://_afpovertcp._tcp.mydomain.com and with the values being exactly as you describe above (service1._afpovertcp._tcp.mydomain.com, http://service2._afpovertcp._tcp.mydomain.com, etc)?

    Because that is my problem… I don't get this. It seems that whichever device last sent an update is there (more often than not my macbook, since I often open and close it). But no other records. Just one! (But note, I do get the pairs of SVR 7 TXT records accurately. And if my IP address changes that is also updated correctly).

    Before I wrote the original question, I tried to create additional records manually, but they just seemed to overwrite (and then would eventually get overwritten by the router or mac anyway). Today, I did manage to create four records, but they didn't seem to show up in a client and within 3-4 minutes they had disappeared again, leaving only the original record. I also used 4500 second TTL, so not related to that.

    This seems to defeat the whole object, and if I understand Andrew's reply correctly, is a fault / bug at DynDNS?

  • Point 3: I agree this doesn't cause any real issues for me or any clients I use, but it just looks so strange when I get a long long list on the screen… and even more annoying if there are records I need to check / read after them (although after my first day, they seem to stay at the end of the list now). But it MUST SURELY BE A DynDNS bug / fault?

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.

more ▼

answered Oct 17 at 01:22 PM

Nic\'s gravatar image

Nic
51 1 1 5

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
10|600 characters needed characters left
Your answer
osqa.question.ask.tags.preview.show

© 1998-2012  Dynamic Network Services Inc.  -  Legal Notices  -  Privacy Policy  -  Contacts     

Powered by AnswerHub - Enterprise Social Q&A