bind/dig are not happy with uncompressed names in Tsrv results. in fact they refuse to process the results. the rfcs are a maze of conflicting requirements. give up and just make bind happy. Reference: /n/sources/patch/maybe/dnssrv Date: Thu Sep 17 02:22:54 CES 2009 Signed-off-by: quanstro@quanstro.net --- /sys/src/cmd/ndb/convDNS2M.c Thu Sep 17 02:21:20 2009 +++ /sys/src/cmd/ndb/convDNS2M.c Thu Sep 17 02:21:18 2009 @@ -260,7 +260,11 @@ USHORT(rp->srv->pri); USHORT(rp->srv->weight); USHORT(rp->port); - STRING(rp->host->name); /* rfc2782 sez no name compression */ + /* + * rfc2782 sez no name compression, but + * but bind (dig) disagree. we'll go with bind. + */ + NAME(rp->host->name); break; case Ttxt: for(t = rp->txt; t != nil; t = t->next)