DNS server example #1278
jschlyter
started this conversation in
Show and tell
Replies: 2 comments 3 replies
|
Just my point of view. I'm sure other people will have different opinions. I can see the value because I had to write something similar several times already, but at the same time it is too much and too little because use-cases vary. Perhaps we could start very minimal. Perhaps provide a class which can easily listen on UDP/TCP/DoT/DoH and calls a method every time a message comes in and nothing else? I guess that might be a minimal useful base which can be reused often. In other words, the logic how to handle packets is very different in different use-cases. Example where IMHO it is going too far:
|
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I've written a simple DNS server example. Would it be useful to include as an example or perhaps even a start of a server class?
Features:
anyio(supporting bothasyncioandtriobackends)All reactions