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

set_ub_dns_transport() not working #54

Closed
johndickinson opened this issue Aug 8, 2014 · 0 comments
Closed

set_ub_dns_transport() not working #54

johndickinson opened this issue Aug 8, 2014 · 0 comments
Labels

Comments

@johndickinson
Copy link
Contributor

I have been checking some stuff with wireshark and everything appears to go over UDP regardless of the the transport set in getdns_context_set_dns_transport();

This appears to be due to missing :'s in the six calls to set_ub_string_opt() in set_ub_dns_transport.
The current code reads:
set_ub_string_opt(context, "do-tcp", "yes");
it should read
set_ub_string_opt(context, "do-tcp:", "yes");

See http://unbound.net/documentation/libunbound.html

I will do a PR once I figure out a nice way to test the actual transport used. Please shout if this is me doing something stupid!

@glenwiley glenwiley added the bug label Aug 8, 2014
johndickinson pushed a commit to johndickinson/getdns that referenced this issue Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants