Live data from Hacker News

Show HN: Doggo – A powerful, human-friendly DNS client for the command line

doggo.mrkaran.dev

21–30 of 138 posts

Re: Show HN: Doggo – A powerful, human-friendly DNS client for the command line

#21
post #19

Love this, thank you! Is there a way to query all DNS records? (I was surprised to learn that isn't the default.) This would be really helpful for troubleshooting people's Caddy questions (which are actually DNS problems).

You can't really query all DNS records these days anymore by using the ANY query type. The closest alternative is to run dig across all record types.

At Andrew McWatters & Co., we use a small internal utility called digany(1)[1][2] that does this for you.

[1]: https://github.com/andrewmcwattersandco/digany

[2]: https://github.com/andrewmcwattersandco/digany/blob/main/dig...

    andrewmcwatters@Andrews-MacBook-Pro digany % ./digany andrewmcwatters.com
    andrewmcwatters.com. 1799 IN A 107.172.29.10
    andrewmcwatters.com. 1800 IN NS dns1.registrar-servers.com.
    andrewmcwatters.com. 1800 IN NS dns2.registrar-servers.com.
    andrewmcwatters.com. 3601 IN SOA dns1.registrar-servers.com. hostmaster.registrar-servers.com. 1719805485 43200 3600 604800 3601
    andrewmcwatters.com. 1800 IN MX 20 eforward5.registrar-servers.com.
    andrewmcwatters.com. 1800 IN MX 15 eforward4.registrar-servers.com.
    andrewmcwatters.com. 1800 IN MX 10 eforward1.registrar-servers.com.
    andrewmcwatters.com. 1800 IN MX 10 eforward2.registrar-servers.com.
    andrewmcwatters.com. 1800 IN MX 10 eforward3.registrar-servers.com.
    andrewmcwatters.com. 1799 IN TXT "google-site-verification=39W1-Db36mrNNekPXww8TUdo7LcrmEUfv-gBmVTT1Dk"
    andrewmcwatters.com. 1799 IN TXT "v=spf1 include:spf.efwd.registrar-servers.com a:andrewmcwatters-17ce78.andrewmcwatters.com ~all"
    ...

Re: Show HN: Doggo – A powerful, human-friendly DNS client for the command line

#23
post #20

[flagged]

What's stupid about it?

Dig was an early and widespread DNS CLI tool. "dog" is a logical name for a next-gen dns cli, and of course that exists. "Doggo" is both a pretty standard linguistic drift pattern of English slang (random -> rando, weird -> weirdo), a common internet term of endearment for "dog", and a logical derivation of *-go for go-based tools and software.

Re: Show HN: Doggo – A powerful, human-friendly DNS client for the command line

#25
post #17

Reminds me of https://github.com/ogham/dog

And dog seems unmaintained, sadly

Yea a lot of lingering PRs to fix building with OpenSSL or update packages in some way. Last change was ~3 years ago.

Re: Show HN: Doggo – A powerful, human-friendly DNS client for the command line

#26

Earlier quoted context omitted.

[flagged]

> "doggo is a modern command-line DNS client (like dig) written in Golang. It outputs information in a neat concise manner and supports protocols like DoH, DoT, DoQ, and DNSCrypt as well. It's totally inspired from dog which is written in Rust. I wanted to add some features to it but since I don't know Rust, I found it as a nice opportunity to experiment with writing a DNS Client from scratch in Go myself. Hence the…

That's pretty cool :) It makes a great visualizer for bbs-over-dns.com

Re: Show HN: Doggo – A powerful, human-friendly DNS client for the command line

#27

go: downloading github.com/mr-karan/doggo v0.5.7 go: github.com/mr-karan/doggo/cmd@latest: module github.com/mr-karan/doggo@latest found (v0.5.7), but does not contain package github.com/mr-karan/doggo/cmd

Hit the same issue, but it goes fine if you just clone the repo, cd down into the cmd directory and 'go build -o doggo'.

Re: Show HN: Doggo – A powerful, human-friendly DNS client for the command line

#28

go: downloading github.com/mr-karan/doggo v0.5.7 go: github.com/mr-karan/doggo/cmd@latest: module github.com/mr-karan/doggo@latest found (v0.5.7), but does not contain package github.com/mr-karan/doggo/cmd

Hit the same issue, but it goes fine if you just clone the repo, cd down into the cmd directory and 'go build -o doggo'.

Does this install in a way I can upgrade it with topgrade?

Re: Show HN: Doggo – A powerful, human-friendly DNS client for the command line

#29
Shameless plug for folks looking for something similar, but on the web: I was fed up with Google's slow/janky dig webface, so built my own. (Still very WIP, but already works better as a daily driver than Google's!)

https://www.shovel.report/ycombinator.com

Re: Show HN: Doggo – A powerful, human-friendly DNS client for the command line

#30
post #29

Shameless plug for folks looking for something similar, but on the web: I was fed up with Google's slow/janky dig webface, so built my own. (Still very WIP, but already works better as a daily driver than Google's!) https://www.shovel.report/ycombinator.com

Did you use DNS over HTTPS (DoH)? I love how easy it is to perform DNS lookups in web apps too through this.

  curl -H "accept: application/dns-json" "https://cloudflare-dns.com/dns-query?name=ycombinator.com&type=A"
Post reply on HN