Skip to content

Commit

Permalink
fix: DNS records WARC-Target-URI
Browse files Browse the repository at this point in the history
  • Loading branch information
CorentinB committed Sep 26, 2024
1 parent 035ffce commit 8000489
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 8000489

Please sign in to comment.