From 800048935b8e36520e46142bc9620495962d248f Mon Sep 17 00:00:00 2001 From: Corentin Barreau Date: Thu, 26 Sep 2024 13:35:05 +0200 Subject: [PATCH] fix: DNS records WARC-Target-URI --- dns.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dns.go b/dns.go index fbc300c..64af4e0 100644 --- a/dns.go +++ b/dns.go @@ -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 {