[krbdev.mit.edu #1383] SRV record support

Tom Yu via RT rt-comment at krbdev.mit.edu
Thu Oct 7 18:48:29 EDT 2004


>>>>> "Ken" == Ken Raeburn via RT <rt-comment at krbdev.mit.edu> writes:

Ken> I think (but can't quite confirm, yet) that the target name is
Ken> supposed to be a complete name.  So if a hostname is returned without
Ken> a trailing ".", we might want to add one before looking it up.

I checked a little bit of the source code of dn_expand() and
ns_name_uncompress(), and neither returns a trailing dot unless the
root domain is what's being expanded.  Even though a SRV record is
supposed to have a complete domain name as the target, and would
logically be represented with a trailing dot, the resolver API doesn't
show us the trailing dot.  This means that we'll have to explicitly
append a trailing dot so that further lookups will bypass the local
domain search.

---Tom



More information about the krb5-bugs mailing list