[avahi] Format of rdata in EntryGroup.AddRecord

Lennart Poettering lennart at poettering.net
Wed Jul 16 12:21:35 PDT 2008


On Sun, 06.07.08 12:21, computorist at gmail.com (computorist at gmail.com) wrote:

> I'm tinkering with avahi through dbus using ruby and need some info on the
> format of rdata in the EntryGroup.AddRecord method.
> 
> I originally thought it would just be the canonical name of the host I'd
> like to alias, but not so much.  Looking at an example python script it
> seems to be the host name encoded with some special bits and sent over as a
> byte array.

It's the normal DNS RR format. As described in the DNS or mDNS
RFCs. You also might find the Wikipedia documentation enlightening.

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net         ICQ# 11060553
http://0pointer.net/lennart/           GnuPG 0x1A015CC4


More information about the avahi mailing list