Live data from Hacker News

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

doggo.mrkaran.dev

51–60 of 138 posts

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

#51
post #12

Earlier quoted context omitted.

TIL there's also dog[1] Which is probably also common typo for "dig" [1] https://github.com/ogham/dog

I went to switch over to "dog" last week but it looks abandoned. I couldn't get a download to work because of outdated dependencies, and IIRC I couldn't get it to build, so I just gave up on it after seeing the latest release is 4 years old.

Upgrade the openssl dependencies if you are on new Ubuntu:

    ubuntu $ (new) target/release/dog google.com
     A google.com.               2m13s   142.250.189.206
    NS                       15h15m07s A "i.root-servers.net."
    NS                       15h15m07s A "d.root-servers.net."
    NS                       15h15m07s A "a.root-servers.net."
    NS                       15h15m07s A "b.root-servers.net."
    NS                       15h15m07s A "c.root-servers.net."
    NS                       15h15m07s A "f.root-servers.net."
    NS                       15h15m07s A "e.root-servers.net."
    NS                       15h15m07s A "h.root-servers.net."
    NS                       15h15m07s A "m.root-servers.net."
    NS                       15h15m07s A "j.root-servers.net."
    NS                       15h15m07s A "k.root-servers.net."
    NS                       15h15m07s A "g.root-servers.net."
    NS                       15h15m07s A "l.root-servers.net."
     A a.root-servers.net. 2d10h37m14s + 198.41.0.4
    ubuntu $ (new) git status
    On branch master
    Changes not staged for commit:
      (use "git add ..." to update what will be committed)
      (use "git restore ..." to discard changes in working directory)
      modified:   Cargo.lock
      modified:   dns-transport/Cargo.toml

    no changes added to commit (use "git add" and/or "git commit -a")
    ubuntu $ (new) git diff dns-transport/Cargo.toml
    diff --git a/dns-transport/Cargo.toml b/dns-transport/Cargo.toml
    index 67552c3..d68d542 100644
    --- a/dns-transport/Cargo.toml
    +++ b/dns-transport/Cargo.toml
    @@ -19,6 +19,8 @@ log = "0.4"

     # tls networking
     native-tls = { version = "0.2", optional = true }
    +openssl-sys = ">=0.9.102"
    +openssl = ">=0.10.64"

     # http response parsing
     httparse = { version = "1.3", optional = true }

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

#52
post #42

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

I guess not using one of the proxies? for some reason their v1.0.0 commit isn't attached to anything... https://github.com/mr-karan/doggo/commit/fe3958594df46c000ef...

Just pushed a minor patch release. Tagged on main: https://github.com/mr-karan/doggo/commit/8f60428f6ae154918d9...

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

#53
post #49

Another shameless plug for my website, you can use ipkitten.com to get your public IP address from your terminal: $ curl ipkitten.com 27.44.144.144 And if you visit it in a browser, you get your IP address and a kitten GIF!: https://ipkitten.com

icanhazip.com is another service which does this.

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

#54

Congrats for the 1.0 release! doggo has been my main DNS tool for a while, now. Love it!

Very kind of you, thanks!

Was just mentioning on my other comment[1] about your contributions to the tool.

[1]: https://news.ycombinator.com/item?id=40848420

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

#55
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).

Would this be something close to what you're looking for?

  alias doggo-all='doggo $1 A AAAA AFSDB APL CAA CDNSKEY CDS CERT CNAME CSYNC DHCID DLV DNAME DNSKEY DS EUI48 EUI64 HINFO HIP HTTPS IPSECKEY KEY KX LOC MX NAPTR NS NSEC NSEC3 NSEC3PARAM OPENPGPKEY RRSIG RP SIG SMIMEA SOA SRV SSHFP SVCB TLSA TSIG TXT URI ZONEMD ${2:+@$2}'

  doggo-all example.com @1.1.1.1

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

#56
post #49

Another shameless plug for my website, you can use ipkitten.com to get your public IP address from your terminal: $ curl ipkitten.com 27.44.144.144 And if you visit it in a browser, you get your IP address and a kitten GIF!: https://ipkitten.com

icanhazip.com is another service which does this.

And the easy-to-remember-for-Unix-nerds:

    ifconfig.me/ip

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

#58

We developed "geodns" for situations where you want to do DNS lookups from different regions around the world. For example, ycombinator.com returns different IPs depending on your location: $ geodns ycombinator.com 108.156.133.117 Singapore 108.156.133.21 Singapore 108.156.133.25 Singapore 108.156.133.59 Singapore 108.156.39.26 London 108.156.39.61 London 108.156.39.62 London 108.156.39.64 London 13.32.27.123 Frankfu…

Is that because it's behind cloudflare? I'm pretty sure it still runs primarily on a single server in a Colo (i.e. except in times of hardware failure or other physical realities).

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

#59
post #45

Earlier quoted context omitted.

So like dig but I have to compile build, configure, audit and trust instead of just having it packaged in my OS, nice.

1. You have to audit/trust any software whether or not it’s distributed as part of your OS 2. What is there to configure? 3. It’s a Go program, so compilation happens transparently on installation provided the developers don’t release broken code. This isn’t the C/C++ world where you have complex bespoke build systems that only seem to work on the developers’ machines.

1- If you are claiming you are auditing all your OS parts, not even your own mother believes you, are you delving into tcp.c and ps2.c? delusional

2- I meant run the configure file. Typically configures in what folder you install the program, under what user, that kind of stuff. I'm just alluding to the whole open source installation process, which is more complex than installing an .msi on Windows, or installing an apt distributed .deb package on debian.

3- oh, ok sure. Btw, now I have to install a go compiler. In order to install a program that's been done 100 times by first year Comp Sci students. I'd rather kill myself.

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

#60
post #47

I have a silly question I guess... why does it print everything out twice? ~ doggo google.com NAME TYPE CLASS TTL ADDRESS NAMESERVER google.com. A IN 296s 142.250.67.14 127.0.2.2:53 google.com. A IN 296s 142.250.67.14 127.0.2.3:53 ~ doggo news.ycombinator.com NAME TYPE CLASS TTL ADDRESS NAMESERVER news.ycombinator.com. A IN 1s 209.216.230.207 127.0.2.2:53 news.ycombinator.com. A IN 1s 209.216.230.207 127.0.2.3:53

Looks like once per nameserver that you're configured to use. I guess just in case they give different answers, which is uncommon in practice.
Post reply on HN