System administration

wig – simple and lightweight DNS client

wig is a lightweight command-line DNS client written in C. It provides a straightforward way to perform DNS lookups without the extensive options and complexity of more comprehensive utilities such as dig.

The application focuses on individual DNS queries rather than advanced diagnostics or DNS server administration. Its compact command syntax makes it useful for checking domain name resolution, investigating DNS configuration problems and querying specific nameservers.

wig is designed for Linux systems that comply with the POSIX.1-1995 standard. The project provides a simple build process using GCC and make.

This is free and open source software.

Key Features

  • Simple command-line syntax for performing DNS lookups without an interactive interface.
  • Queries different DNS record types, including A records for IPv4 addresses and AAAA records for IPv6 addresses.
  • Defaults to an A record when no record type is specified, allowing lookups with a command such as wig example.com.
  • Specify a custom DNS server by prefixing its IP address or hostname with @, for example @1.1.1.1 or @ns1.google.com.
  • Supports querying DNS servers on non-standard ports using the -p option.
  • Can force DNS queries to use TCP instead of the default UDP transport with the -t option.
  • Allows the record type, nameserver and transport options to be combined in a single command.
  • Provides make targets for compiling, installing and uninstalling the utility.
  • Designed for POSIX.1-1995-compliant Linux systems.

Website: g.freya.cat/wig/tree
Support:
Developer: Freya Murphy
License: GNU General Public License v3.0

wig options

wig is written in C. Learn C with our recommended free books and free tutorials.


Related Software

Alternatives to dig
dogDNS client with colorful output, DNS-over-TLS and DNS-over-HTTPS support
doggoCommand-line DNS client for humans
drillPerform DNS lookups and display answers returned from the name server(s)
dnslookupSupports plain DNS, DoH, DoT, DoQ, and DNSCrypt
dugGlobal DNS propagation checker
qSupport for UDP, TCP, DoT, DoH, DoQ and ODoH
DNS Clients
dogColourful output, understands normal command-line argument syntax
doggoCommand-line DNS client for humans
qTiny command line DNS client supporting UDP, TCP, DoT, DoH, DoQ and ODoH
ddclientUpdate dynamic DNS entries
GoDNSDynamic DNS (DDNS) client tool
digDNS lookup utility
awlDNS lookup tool
ZDNSHigh-speed DNS resolver and command line utility
dnslookupMake DNS lookups
dugGlobal DNS propagation checker
drillPerform DNS lookups
dnessDynamic DNS client
znsFast DNS lookup tool with DNSSEC validation and delegation tracing
In-a-DynSmall and simple Dynamic DNS, DDNS, client
dohQuery multiple DNS-over-HTTPS resolvers with JSON output
dnsupdateModern and flexible dynamic DNS client
ch4Dig-compatible DNS client with UDP, TCP and EDNS support
wigSimple and lightweight DNS client
dyndnscDynamic DNS update client

Read our verdict in the software roundup.


Best Free and Open Source Software 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.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted