doggo/internal/app
Maximilian Bosch 88c63d6b41 Support literal IPv6 nameservers
This effectively means that `doggo @2001:DB8::53 example.org` works just
like we know it from `dig(1)`. This already works for IPv4 because
`url.Parse` accepts a literal IPv4 address, but not a literal IPv6
address (due to parsing ambiguities with strings that look like an IPv4
address I guess).

This is implemented by checking if the nameserver argument is a valid IP
if the URL validation failed. If that's the case, `ns` is returned
directly with the `[2001:DB8::53]:53` as address (from
`net.JoinHostPort` with the default DNS port) and UDP as protocol (also
the default if not specified).
2022-12-14 11:29:55 +05:30
..
app.go feat: refactor app in a separate package 2021-03-02 18:59:55 +05:30
nameservers.go Support literal IPv6 nameservers 2022-12-14 11:29:55 +05:30
output.go fix: Correctly print colored text on Windows 2022-07-13 16:52:59 +05:30
questions.go feat: Add support for reverse DNS lookups 2021-06-25 17:25:04 +05:30