Ticket #56 (closed enhancement: fixed)

Opened 7 years ago

Last modified 7 years ago

Bonjour compatibility, please implement DNSServiceUpdateRecord(...)

Reported by: olemd Owned by: lennart
Milestone: Avahi 0.6.13 Component: avahi-compat-libdns_sd
Keywords: DNSServiceUpdateRecord Cc:

Description

I'm currently working on a project where cross-platform (at least windows and linux) source would be a huge advantage. Currently we're using Bonjour and avahi-compat-libdns_sd to achieve this. Unfortunately the compatibility layer doesn't yet support DNSServiceUpdateRecord().

Hopefully someone who knows avahi a bit better than I do could implement it, otherwise I might be able to get a patch of sorts together myself.

Change History

Changed 7 years ago by lennart

  • status changed from new to assigned
  • milestone set to Avahi 0.6.13

Changed 7 years ago by lennart

olemd: could you point me to an example application which I could use to test my DNSServiceUpdateRecord work with?

Changed 7 years ago by lennart

I assume you need that function for changing TXT records and not for other records, correct?

(If you needed it for other records you'd have probably request addition of DNSServiceAddRecord(), too. That's why I came to that conclusion)

Changed 7 years ago by olemd

Yes, I primarily need it for changing TXT records. The only "real" application I know that uses it is Apples iChat which uses the TXT record to indicate status. However dns-sd.c that comes with the Bonjour sources compiles nicely with avahi-compat-libdns_sd and does have a test for updating/changing TXT records.

Changed 7 years ago by lennart

ah, thanks for the pointer to the test tool.

Changed 7 years ago by lennart

  • status changed from assigned to closed
  • resolution set to fixed

(In [1270]) implement DNSServiceUpdateRecord() for updating existing TXT records (closes #56)

Note: See TracTickets for help on using tickets.