6 ms·
Quite like using dog too https://github.com/ogham/dog https://github.com/ogham/dog
by disintegrator 5y ago
Quite like using dog too
https://github.com/ogham/dog https://github.com/ogham/dog
- InvaderFizz 5y ago> dog is a command-line DNS client, like dig. It has colourful output, understands normal command-line argument syntax, supports the DNS-over-TLS and DNS-over-HTTPS protocols, and can emit JSON. I especially like that last part.
- moderation 5y agodog is great. You can build a static Rust binary leveraging rustls with: cargo build --release --verbose --target x86_64-unknown-linux-musl --no-default-features --features=with_idna,with_tls,with_https,with_rustls and... alias dog "dog --edns=show --https --nameserver https://mozilla.cloudflare-dns.com/dns-query"
- kbrazil 5y agoYou can also convert dig output to JSON with jc. (I’m the author) $ jc dig example.com | jq -r '.[].answer[].data' 93.184.216.34 https://github.com/kellyjonbrazil/jc https://github.com/kellyjonbrazil/jc
- FPGAhacker 5y agoMissed an opportunity to call it dug [1]. Well, maybe not “missed.” [1] https://en.m.wikipedia.org/wiki/Dig_Dug https://en.m.wikipedia.org/wiki/Dig_Dug