-
Notifications
You must be signed in to change notification settings - Fork 378
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix ANY queries and TCP socket for DNS (#182)
Sets up both TCP and UDP DNS servers, which should allow for the occasional case where a TCP query can make it to the server but UDP can't, and fixes support for ANY queries. ANY queries are deprecated in RFC8482 but this may also provide for additional interaction opportunities. Re-organises the error handling around DNS server creation slightly because 'error' was always returned as nil anyway. Co-authored-by: Michael Fincham <[email protected]>
- Loading branch information
1 parent
cad8f15
commit 96ec574
Showing
2 changed files
with
29 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters