Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
equals215 committed Sep 26, 2024
2 parents 0f5deaf + 8000489 commit b09abca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dns.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func (d *customDialer) lookupIP(address string, recordType uint16) (net.IP, erro
recordTypeStr = "AAAA"
}

d.client.WriteRecord(fmt.Sprintf("dns:%s:%s", address, recordTypeStr), "resource", "text/dns", r.String())
d.client.WriteRecord(fmt.Sprintf("dns:%s?%s", address, recordTypeStr), "resource", "text/dns", r.String())

for _, answer := range r.Answer {
switch recordType {
Expand Down

0 comments on commit b09abca

Please sign in to comment.