961 B
961 B
Wig
A simple and lightweight dns client written in C
How to
usage: wig [@server] [options] domain [qtype]
For simple usage, just type the domain name followed by the record type: example.com AAAA
. Or you can just type the domain, example.com
, and it will default to the A record.
If you want to use a custom dns server, just specify the ip or domain after the @ like @1.1.1.1
or @ns1.google.com
.
If you want to specify a port, you can add -p port_num
.
Finally, if you want to force tcp, you can add -t
.
License
This project is Licensed under the GPLv3
Compilation
Wig only runs on Linux systems that are Posix 1995 compliant
Make sure to have gcc
and make
installed, and then run
$ make # compiles the program
$ sudo make install # installs the binary
If you wish to remove the program, you can run
$ sudo make uninstall # removes the binary