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

Recursive DNS implementation #286

Merged
merged 10 commits into from
Feb 7, 2022
Merged

Recursive DNS implementation #286

merged 10 commits into from
Feb 7, 2022

Conversation

ekoby
Copy link
Member

@ekoby ekoby commented Feb 3, 2022

No description provided.

@ekoby ekoby requested a review from a team February 3, 2022 19:01
@@ -31,7 +31,8 @@ typedef int (*dns_fallback_cb)(const char *name, void *ctx, struct in_addr* addr

int ziti_dns_setup(tunneler_context tnlr, const char *dns_addr, const char *dns_cidr);

void ziti_dns_set_fallback(struct uv_loop_s *l, dns_fallback_cb fb, void *ctx);
int ziti_dns_set_upstream(uv_loop_t *l, const char *host, uint16_t port);

void ziti_dns_set_manager(dns_manager *mgr);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we also remove ziti_dns_set_manager (and the dns_manager types) now?

@@ -31,7 +31,8 @@ typedef int (*dns_fallback_cb)(const char *name, void *ctx, struct in_addr* addr

int ziti_dns_setup(tunneler_context tnlr, const char *dns_addr, const char *dns_cidr);

void ziti_dns_set_fallback(struct uv_loop_s *l, dns_fallback_cb fb, void *ctx);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The dns_fallback_cb typedef (on line 30) is no longer referenced - should it be removed?

@ekoby ekoby merged commit 55af716 into main Feb 7, 2022
@ekoby ekoby deleted the recursive-dns branch February 7, 2022 17:48
@ekoby ekoby linked an issue Feb 8, 2022 that may be closed by this pull request
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.

DNS: support query recursion
2 participants