Skip to content
Browse files

fix documentation

  • Loading branch information...
1 parent 81300dc commit b75184019cf0c2efa990f74520da684afe8f3ba6 @miekg committed
Showing with 4 additions and 1 deletion.
  1. +4 −1 lookup.go
View
5 lookup.go
@@ -137,7 +137,10 @@ func (u *Unbound) LookupTXT(name string) (txt []string, err error) {
return
}
-// LookupTLSA returns the DNS DANE records for the given domain name.
+// LookupTLSA returns the DNS DANE records for the given domain service, protocol
+// and domainname
+// LookupTLSA constructs the DNS name to look up following RFC 6698. That
+// is, it looks up _port._proto.name.
func (u *Unbound) LookupTLSA(service, proto, name string) (tlsa []*dns.RR_TLSA, err error) {
tlsaname := dns.TLSAName(name, service, proto)
if tlsaname == "" {

0 comments on commit b751840

Please sign in to comment.
Something went wrong with that request. Please try again.