dnslib
A Python library to encode/decode DNS wire-format packets (by paulc)
dnslib | tiny-resolver | |
---|---|---|
2 | 1 | |
295 | 184 | |
- | - | |
6.8 | 1.8 | |
3 months ago | about 2 years ago | |
Python | Go | |
BSD 2-clause "Simplified" License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
dnslib
Posts with mentions or reviews of dnslib.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-07-20.
-
Python Networking: TCP and UDP
In the last installment we looked at IP headers. One thing you might have seen missing is the port numbers. That's pretty important for making an internet connection. Well it turns out that IP tends to encapsulate other protocols (which is why it has protocol as part of the header). In this article we'll be looking at two popular protocols for internet traffic: TCP and UDP. Before we begin though install scapy which we'll be using to make things easier, and dnslib that will be used during the UDP section:
- A DNS resolver in 80 lines of Go
tiny-resolver
Posts with mentions or reviews of tiny-resolver.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-02-01.
-
A DNS resolver in 80 lines of Go
> That the author got this recursive lookup so small that it broke everyone's brains is just more reason to be interested in this article.
https://github.com/jvns/tiny-resolver/blob/main/resolver.sh - the recursive lookup is 16 lines for + switch.
I'm sorry to say this, but if the recursive lookup can be implemented with a for and a 3-way switch that a CS 101 student can write, it's really not doing the heavy lifting. It may be interesting to know about it, it may be the case that multiple resolves don't have the implementation, but it's a trivial piece of code, let's not idolize it.
What are some alternatives?
When comparing dnslib and tiny-resolver you can also consider the following projects:
nsupdate.info - Dynamic DNS service
DoNotSend - Sending messages by hacking the DNS protocol. See website for demo server usage instructions
FreeIPA - Mirror of FreeIPA, an integrated security information management solution