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 the possibility to use DoT #53

Closed
ZeroDot1 opened this issue Nov 10, 2019 · 6 comments
Closed

Add the possibility to use DoT #53

ZeroDot1 opened this issue Nov 10, 2019 · 6 comments

Comments

@ZeroDot1
Copy link
Contributor

Is your feature request related to a problem? Please describe.
It is not possible to use DoT.

Describe the solution you'd like
I would like to use DoT to protect my DNS requests.
Using the DNS of the host system with DoT often leads to problems because some applications simply don't work anymore.

This is why DoT should be implemented in PyFunceble.
I recommend to provide a way to configure the DoT settings in the configuration file, so that you don't have to enter everything manually every time you need to use it.

https://developers.cloudflare.com/1.1.1.1/dns-over-tls/

Additional context
It should be possible to specify the URL and server for DoT.

Example:

#Configfile

DoTurl = Your_ID.dns.nextdns.io
Server 1= ip.ip.ip.ip
Server 2= ip.ip.ip.ip
Server 3= ipv6:ipv6:1pv6:ipv6
Server 4= ipv6:ipv6:1pv6:ipv6
@funilrys funilrys self-assigned this Nov 11, 2019
@funilrys funilrys added this to the __future__ milestone Feb 1, 2020
@funilrys funilrys modified the milestones: __future__, 4.0.0 Nov 22, 2020
@funilrys funilrys added this to Todo in 4.0.0: Follow - Up via automation Dec 20, 2020
@funilrys funilrys moved this from Todo to In progress in 4.0.0: Follow - Up Dec 20, 2020
@funilrys
Copy link
Owner

@ZeroDot1, if you get a bit of a time for us, can you test 4.0.0 ? It implements this.

Thanks in advance.

@spirillen
Copy link
Contributor

What is the syntax he should be using??

@funilrys
Copy link
Owner

@spirillen there is 1 new argument:

--dns-protocol {UDP,TCP,HTTPS,TLS}
                        Set the protocol to use for the DNS queries. 
                        Configured value: 'UDP'

Setting it to TLS and giving your list of servers to the following argument (not changed) should be sufficient.

--dns DNS__SERVER [DNS__SERVER ...]
                        Set one or more DNS server(s) to use during testing. Separated by spaces.
                        
                        To specify a port number for the DNS server you append it as :port [ip:port].
                        
                        If no port is specified, the default DNS port (53) is used. 
                        Configured value: None

@funilrys
Copy link
Owner

funilrys commented Dec 20, 2020

Also forgot: For those playing with the configuration file (.PyFunceble.yaml), it is also possible through the dns -> server and dns -> protocol indexes.

@spirillen
Copy link
Contributor

I'm sure looking forward to the new doc branch to start working on it 😃 📜 📃

@funilrys funilrys moved this from In progress to Done in 4.0.0: Follow - Up Dec 22, 2020
@funilrys
Copy link
Owner

Also documented.

Closing. Feel free to test and reopen if not fixed or if necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

No branches or pull requests

3 participants