No description
Find a file
2023-04-17 22:49:49 -04:00
src first 2023-04-17 22:49:49 -04:00
.gitignore first 2023-04-17 22:49:49 -04:00
LICENSE first 2023-04-17 22:49:49 -04:00
Makefile first 2023-04-17 22:49:49 -04:00
readme.md first 2023-04-17 22:49:49 -04:00

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