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

Fixes to DNS lookups #2191

Merged
merged 5 commits into from
Jan 15, 2023
Merged

Fixes to DNS lookups #2191

merged 5 commits into from
Jan 15, 2023

Conversation

kiekerjan
Copy link
Contributor

This pull request is one of a series of three I created after chasing some dns lookup issues (e.g. here and here but there are more reports of dns issues on github and on the forum).

  1. (This pull request) Basic changes
  2. Changes to dns request timeout handling
  3. Replace bind9 with unbound

This pull request fixes the following:

  • Set dns resolver lifetime
    In addition to timeout, set the value of lifetime to the same value. The difference between those values as documented seems to be that the timeout value is per server, while the lifetime entails the complete dns question (could be multiple servers are involved).
  • query_dns returns either none, an answer or the strings [Not Set] or [timeout]. Several places do not take the handling of these strings into account.
  • (timeout) Exception handling

@kiekerjan kiekerjan changed the title Dnspatches Fixes to DNS lookups Nov 3, 2022
@JoshData JoshData merged commit 0fc5105 into mail-in-a-box:main Jan 15, 2023
@JoshData
Copy link
Member

TY.

@kiekerjan kiekerjan deleted the dnspatches branch January 5, 2024 12:33
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