{"repo":"zmap/zdns","free":true,"listed":false,"github":"https://github.com/zmap/zdns","clone":"git clone https://github.com/zmap/zdns.git","description":"Fast DNS Lookup Library and CLI Tool","language":"Go","stars":1131,"topics":["dns","research","scanner"],"license":"Apache-2.0","category":"networking-infra","readme_excerpt":"ZDNS ==== ZDNS is a high-speed DNS resolver and command line utility for performing large-scale DNS measurements. ZDNS is written in Go and contains its own recursive resolution code and a cache optimized for performing lookups of a diverse set of names. We use https://github.com/zmap/dns to construct and parse raw DNS packets. For more information about ZDNS's architecture and performance, check out the following paper appearing at ACM's Internet Measurement Conference '22. [!TIP] The ZDNS Wiki contains additional information on ZDNS and walks thru use-cases and examples. Install ======= ZDNS can be installed by checking out the repository and running make install . Usage ===== ZDNS consists of a recursive resolver library and CLI wrapper. The library consists of a ResolverConfig struct which will contain all config options for all lookups made. The ResolverConfig is used to create 1+ Resolver struct(s) which will make all lookups. A Resolver should only make a single lookup at a time (it is not thread-safe) and multiple Resolver structs should be used for parallelism. See our examples for how to use the library. Modules are used to define the behavior of the lookups. ZDNS provides several types of modules: - Raw DNS modules provide the raw DNS response from the server similar to dig, but in JSON. There is a module for (nearly) every type of DNS record - Lookup modules provide more helpful responses when multiple queries are required (e.g., completing additional A lookup for","default_branch":null,"files":null,"tree":[],"storefront":"/r/zmap","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/zmap/zdns/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}