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
Is coredns support dns over https? Could I use DoH in coredns? #4147
Comments
CoreDNS can serve DoH queries (https://github.com/coredns/coredns#examples). Plugins don't care over which protocol a query was received. Thus, all plugins can process a query received over DoH. As such, Forward also can process a query received over DoH. When processing a request, the forward plugin always sends the query upstream over the protocol configured for that upstream server, regardless of the protocol over which the original request was received. |
[ Quoting <notifications@github.com> in "Re: [coredns/coredns] Is coredns su..." ]
Which plugin supports DoH?
CoreDNS can serve DoH queries (https://github.com/coredns/coredns#examples).
Plugins don't care over which protocol a query was received. Thus, all plugins
can process a query received over DoH. As such, Forward also can process a
query received over DoH. When processing a request, the forward plugin always
sends the query upstream over the protocol configured for that upstream server,
regardless of the protocol over which the original request was received.
/close
/label question
|
I'm sorry. I did not express my thoughts clearly.I want to use an upstream dns like https://dns.google in forward plugin after the word "forward . ". But I don't know how to configure it. |
It's not supported. The forward plugin can forward via DNS or TLS (DoT). Not https (DoH). |
@chrisohaver Thank you very much |
@chrisohaver I wonder why coredns team ignores requests from community to support DoH in forward plugin or create new one. If you are interested I can work on it in spare time. |
Hi v-byte-cpu, maybe it's because we all volunteers here?
|
Hi @miekg, good, I will read CoreDNS contributing guidelines and start working on it. |
[ Quoting <notifications@github.com> in "Re: [coredns/coredns] Is coredns su..." ]
Hi @miekg, good, I will read CoreDNS contributing guidelines and start working
on it.
excellent!
I think code duplication between grpc/forward and this new one is not a concern right now.
I thought we had settled on 'https' as the name for it.
|
@miekg sorry for the delay, I'm almost done with the plugin and will send the PR soon |
@v-byte-cpu I followed this thread and it's embarrassing to see such behaviors in any open source project (and specially in a CNCF project) I'm sorry for that. Right now, I was able to extract the plugin code from your code. However, I think it would be very helpful if you provide your plugin in a separate repo so we would be able to use it as an out-of-tree plugin with our self compiled coredns. |
👋 @m-yosefpor ok, I will extract the plugin code into a separate repo |
@m-yosefpor I extracted the plugin code |
Such as forward plugin, I cannot use DoH in it. Which plugin supports DoH?
The text was updated successfully, but these errors were encountered: