pi-hole/dnsblast là dự án C với 54 sao. A simple and stupid load testing tool for DNS resolvers
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
randomly chosen two letter domains + ".com" for generating > 65,000 unique domains
mixture of 50% A and 50%AAAA queries
target-rate query rate is 2500 requests per second
querying localhost (::1)
Original description below (partially invalid for the modified version)
========
dnsblast is a simple and really stupid load testing tool for DNS resolvers.
Give it the IP address of a resolver, the total number of queries you
want to send, the rate (number of packets per second), and dnsblast
will tell you how well the resolver is able to keep up.
What it is:
a tool to spot bugs in DNS resolvers.
a tool to help you tune and tweak DNS resolver code in order to
improve it in some way.
a tool to help you tune and tweak the operating system so that it
can properly cope with a slew of UDP packets.
a tool to test a resolver with real queries sent to the real and
scary interwebz, not to a sandbox.
What it is not:
a tool for DoS'ing resolvers. There are way more efficient ways to
achieve this.
a benchmarking tool.
a tool for testing anything but how the server behaves under load.
If you need a serious test suite, take a look at what Unbound
provides.
What it does:
It sends queries for names like
<random char><random char><random char><random char>.com.
Yes, that's 4 random characters dot com. Doing that achieves a
NXDOMAIN vs "oh cool, we got a reply" ratio that is surprisingly close
to the one you get from real queries made by real users.
That's the number of packets that have been sent, how many have been
received (if everything is fine, both values should be the same), how
fast the server replies, and the ratio between received and sent
queries.
Different query types are sent. Namely SOA, A, AAAA, MX and TXT, and
the probability that a query type gets picked is also close to its
probability in the real world.
Names are occasionally repeated, also to get closer to what happens in
the real world. That triggers resolver code responsible for queuing
and merging queries.
The test is deterministic: the exact same sequence of packets is sent
every time you fire up dnsblast. The magic resides in the power of
the rand() function with a fixed seed.
What it does not:
It doesn't support DNSSEC, it doesn't send anything using TCP, it
doesn't pay attention to the content the resolver sents.
Fuzzing:
In addition, dnsblast can send malformed queries.
Most resolvers just ignore these, so don't expect a high
replies/queries ratio. But this feature can also help spotting bugs.
The fuzzer is really, really, really simple, though. It just changes
some random bytes. It doesn't even pay attention to the server's
behavior.
How do I compile it?
Type: make.
The code it trivial and should be fairly portable, although it only
gets tested on OSX and OpenBSD.
How do I use it?
To send a shitload of queries to 127.0.0.1:
dnsblast 127.0.0.1
To send 50,000 queries to 127.0.0.1:
dnsblast 127.0.0.1 50000
To send 50,000 queries at a rate of 100 queries per second:
dnsblast 127.0.0.1 50000 100
To send 50,000 queries at a rate of 100 qps to a non standard-port, like 5353:
pi-hole/dnsblast có 54 sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/pi-hole/dnsblast. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
pi-hole/dnsblast có tag gì không?
Bản đồng bộ chưa ghi nhận topic GitHub nào cho pi-hole/dnsblast. GitHub topics hiển thị ở thanh bên phải trang repo — đó là nơi đáng kiểm tra nhất.
pi-hole/dnsblast còn đang phát triển không?
Commit gần nhất trên pi-hole/dnsblast là 9.4 năm trước (theo timestamp GitHub). Repo có 8 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
pi-hole/dnsblast là gì?
pi-hole/dnsblast (pi-hole/dnsblast) là dự án C trên GitHub. Theo mô tả gốc: A simple and stupid load testing tool for DNS resolvers
pi-hole/dnsblast viết bằng ngôn ngữ gì?
pi-hole/dnsblast chủ yếu viết bằng C. Trường "language" của GitHub dựa trên phần lớn byte ở nhánh mặc định.
Đọc đầy đủ README ở tab phía trên.
Chưa chắc dnsblast có hợp với bạn?
Để ChatGPT, Claude hoặc Perplexity tìm hiểu giúp — bấm bên dưới và xem AI nói gì về dnsblast.