Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add customizable DOT /DOH support #774

Closed
cbjn opened this issue Feb 22, 2024 · 9 comments · Fixed by #841
Closed

Add customizable DOT /DOH support #774

cbjn opened this issue Feb 22, 2024 · 9 comments · Fixed by #841

Comments

@cbjn
Copy link

cbjn commented Feb 22, 2024

Designed to protect user privacy by preventing man-in-the-middle attacks and controlling DNS data.

@Chilledheart
Copy link
Owner

Give a look at c-ares/c-ares#612

@Chilledheart
Copy link
Owner

And for iOS, you can apply the profile for the whole system. See DigitaleGesellschaft/DNS-Resolver@08386e6

@cbjn cbjn changed the title Add DOT /DOH support Add customizable DOT /DOH support Feb 23, 2024
@Chilledheart
Copy link
Owner

Chilledheart commented Mar 11, 2024

curl has doh builtin https://github.com/curl/curl/blob/cd937651448b0176dcda544eb6720cfe894573fb/lib/doh.h and https://github.com/curl/curl/blob/cd937651448b0176dcda544eb6720cfe894573fb/lib/doh.c. we can start from it.

     --dns-interface <interface> Interface to use for DNS requests
     --dns-ipv4-addr <address> IPv4 address to use for DNS requests
     --dns-ipv6-addr <address> IPv6 address to use for DNS requests
     --dns-servers <addresses> DNS server addrs to use
     --doh-cert-status Verify the status of the DoH server cert via OCSP-staple
     --doh-insecure Allow insecure DoH server connections
     --doh-url <URL> Resolve host names over DoH

@Chilledheart
Copy link
Owner

@Chilledheart
Copy link
Owner

Chilledheart commented Mar 12, 2024

@Chilledheart
Copy link
Owner

@Chilledheart
Copy link
Owner

@Chilledheart
Copy link
Owner

Chilledheart commented Mar 15, 2024

DoH will be added in #832 and available in commandline "--doh_url URL".

@Chilledheart
Copy link
Owner

iOS Support is added in #833.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants