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: