mirror of
https://git.mills.io/saltyim/saltyim.git
synced 2024-06-24 07:48:19 +00:00
update doh providers to those that work with cors (#86)
remove google from doh.Use() and add dnspod Co-authored-by: mlctrez <mlctrez@gmail.com> Reviewed-on: https://git.mills.io/saltyim/saltyim/pulls/86 Reviewed-by: James Mills <james@mills.io> Co-authored-by: mlctrez <mlctrez@noreply@mills.io> Co-committed-by: mlctrez <mlctrez@noreply@mills.io>
This commit is contained in:
parent
07d28ba5d4
commit
ada098f80d
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3993ef96ba29864566693172b304fe0599b2fa43064f8dada732de38cd9adaa8
|
||||
size 26729214
|
||||
oid sha256:203104689169ee0e9df6851211fd83b8d125b71390e952a80b724245484708d0
|
||||
size 26708290
|
||||
|
@ -57,7 +57,7 @@ func (r *DNSOverHTTPResolver) LookupSRV(service, proto, domain string) (string,
|
||||
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second)
|
||||
defer cancel()
|
||||
|
||||
c := doh.Use(doh.CloudflareProvider, doh.GoogleProvider)
|
||||
c := doh.Use(doh.CloudflareProvider, doh.DNSPodProvider)
|
||||
|
||||
res, err := c.Query(ctx, dns.Domain(name), dns.Type("SRV"))
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user