From 847afc6720aac4c00ce2237353aea9ae82621a7b Mon Sep 17 00:00:00 2001 From: Armon Dadgar Date: Thu, 22 May 2014 10:51:59 -0700 Subject: [PATCH] Re-write the name of the service for correct lookups --- client.go | 1 + 1 file changed, 1 insertion(+) diff --git a/client.go b/client.go index a352706..d8e67ea 100644 --- a/client.go +++ b/client.go @@ -195,6 +195,7 @@ func (c *client) query(params *QueryParam) error { // Get the port inp = ensureName(inprogress, rr.Hdr.Name) + inp.Name = rr.Target inp.Port = int(rr.Port) case *dns.TXT: