zns is a command-line client for querying DNS records. It presents query results in a concise, readable form while also providing more advanced facilities such as DNSSEC validation and delegation tracing.
A basic query displays the record type, domain name, TTL and returned value in an aligned format. Individual record types can be requested, or several types can be queried together. zns supports the full range of DNS record types rather than concentrating only on common A and AAAA lookups.
The client can perform reverse DNS lookups when given an IP address. It can also trace a DNS delegation iteratively from the root nameservers, showing the nameservers encountered as resolution progresses. This is useful when investigating how a particular domain is delegated.
DNSSEC support goes beyond simply requesting DNSSEC records. zns can validate responses against the DNSSEC chain of trust and identify records as secure, insecure, bogus or unknown. This makes the application useful for diagnosing DNSSEC configuration as well as ordinary name resolution.
A specific resolver can be supplied when you do not want to use the default DNS server. For scripting, zns offers JSON output together with a short-output mode that prints only record values. Failed queries return a non-zero exit status, allowing shell scripts to respond to errors reliably.
Queries can be performed concurrently, and output can also be written to a file. Taken together, these features make zns suitable for both interactive DNS investigation and automated workflows.
This is free and open source software.
Key Features
- Queries all DNS record types.
- Provides readable tabular and coloured output.
- Supports DNSSEC records and chain-of-trust validation.
- Performs reverse DNS lookups.
- Traces DNS delegation from the root nameservers.
- Can query a specific DNS resolver.
- Provides JSON and values-only output modes.
- Supports concurrent queries and file output.
Website: github.com/znscli/zns
Support:
Developer: znscli
License: MIT License
zns is written in Go. Learn Go with our recommended free books and free tutorials.
Related Software
| DNS Clients | |
|---|---|
| dog | Colourful output, understands normal command-line argument syntax |
| doggo | Command-line DNS client for humans |
| q | Tiny command line DNS client supporting UDP, TCP, DoT, DoH, DoQ and ODoH |
| ddclient | Update dynamic DNS entries |
| GoDNS | Dynamic DNS (DDNS) client tool |
| dig | DNS lookup utility |
| awl | DNS lookup tool |
| ZDNS | High-speed DNS resolver and command line utility |
| dnslookup | Make DNS lookups |
| dug | Global DNS propagation checker |
| drill | Perform DNS lookups |
| dness | Dynamic DNS client |
| zns | Fast DNS lookup tool with DNSSEC validation and delegation tracing |
| In-a-Dyn | Small and simple Dynamic DNS, DDNS, client |
| doh | Query multiple DNS-over-HTTPS resolvers with JSON output |
| dnsupdate | Modern and flexible dynamic DNS client |
| ch4 | Dig-compatible DNS client with UDP, TCP and EDNS support |
| wig | Simple and lightweight DNS client |
| dyndnsc | Dynamic DNS update client |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |



Please read our Comment Policy before commenting.