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 option to do a zone transfer via TLS #1533

Merged
merged 3 commits into from
Feb 14, 2024
Merged

Conversation

cesarkuroiwa
Copy link
Contributor

Add a new helper func InTLS to start a zone transfer using a TLS connection

Cesar Kuroiwa added 2 commits January 31, 2024 10:43
Perform zone transfer via TLS
@miekg
Copy link
Owner

miekg commented Jan 31, 2024 via email

@cesarkuroiwa
Copy link
Contributor Author

[ Quoting @.***> in "Re: [miekg/dns] New func InTLS: sta..." ]
@cesarkuroiwa requested your review on: #1533 New func InTLS: start a zone transfer via TLS as a code owner.
Thanks, this is nice to have, but I feel this should not be a new function, but be folded into the current In function. I.e. add a *tls.Config to *Transfer structure and then rework In() a bit. Regards, Miek

Actually I kind of thought of something like that too. Maybe add a *tls.Config to Transfer, and check if it's not nil, then call DialTimeoutTLS

Would that be better?

@cesarkuroiwa cesarkuroiwa changed the title New func InTLS: start a zone transfer via TLS Add option to do a zone transfer via TLS Jan 31, 2024
@miekg
Copy link
Owner

miekg commented Jan 31, 2024 via email

@miekg miekg merged commit 57dcd27 into miekg:master Feb 14, 2024
4 checks passed
@cesarkuroiwa cesarkuroiwa deleted the xfr-tls branch February 14, 2024 16:34
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 this pull request may close these issues.

None yet

2 participants