fix(quic): A workaround for adguard not working over QUIC
All checks were successful
Mirror Push / mirror (push) Successful in 6s
Test / test (stable) (push) Successful in 41s
Test / test (oldstable) (push) Successful in 52s

Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
Sam Therapy 2024-03-15 18:17:41 +01:00
parent 835cb8c950
commit 21047275bf
Signed by: sam
GPG key ID: 4D8B07C18F31ACBD
3 changed files with 3 additions and 3 deletions

View file

@ -132,7 +132,7 @@ func ParseMiscArgs(args []string, opts *util.Options) error {
case opts.HTTPS:
opts.Request.Server = "https://dns.cloudflare.com"
case opts.QUIC:
opts.Request.Server = "dns.adguard.com"
opts.Request.Server = "dns.froth.zone"
default:
var err error
resolv, err := conf.GetDNSConfig()

View file

@ -90,7 +90,7 @@ func TestDefaultServer(t *testing.T) {
{"DNSCrypt", "sdns://AQMAAAAAAAAAETk0LjE0MC4xNC4xNDo1NDQzINErR_JS3PLCu_iZEIbq95zkSV2LFsigxDIuUso_OQhzIjIuZG5zY3J5cHQuZGVmYXVsdC5uczEuYWRndWFyZC5jb20"},
{"TLS", "dns.google"},
{"HTTPS", "https://dns.cloudflare.com"},
{"QUIC", "dns.adguard.com"},
{"QUIC", "dns.froth.zone"},
}
for _, test := range tests {

View file

@ -96,7 +96,7 @@ func TestCreateQ(t *testing.T) {
QUIC: true,
Request: util.Request{
Server: "dns.adguard.com",
Server: "dns.froth.zone",
Port: 853,
Type: dns.TypeA,
Name: "example.com.",