Live data from Hacker News

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

doggo.mrkaran.dev

41–50 of 138 posts

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

#41

Is there any reason why so many of those tools are written in Go? Is it because of a stdlib or just accidental?

Go is produces (mostly) statically compiled binaries by default. No runtime, no interpreter, no dependencies. Python, Java, JavaScript, C#, etc. can't say the same.

In my experience, I've always had to install Go and it's ecosystem to `go install foo` for Go programs to work. Is anyone distributing binaries?

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

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

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

#43

Earlier quoted context omitted.

Go is produces (mostly) statically compiled binaries by default. No runtime, no interpreter, no dependencies. Python, Java, JavaScript, C#, etc. can't say the same.

In my experience, I've always had to install Go and it's ecosystem to `go install foo` for Go programs to work. Is anyone distributing binaries?

you'll usually find binaries in github releases (see the assets section: https://github.com/mr-karan/doggo/releases )

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

#44
post #43

Earlier quoted context omitted.

In my experience, I've always had to install Go and it's ecosystem to `go install foo` for Go programs to work. Is anyone distributing binaries?

you'll usually find binaries in github releases (see the assets section: https://github.com/mr-karan/doggo/releases )

Oh duh, thanks!

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

#45

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

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

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

#46
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                   Frankfurt am Main
  13.32.27.47                    Frankfurt am Main
  13.32.27.51                    Frankfurt am Main
  13.32.27.80                    Frankfurt am Main
  13.35.93.12                    Clifton
  13.35.93.14                    Clifton
  13.35.93.46                    Clifton
  13.35.93.47                    Clifton
  18.239.94.100                  Amsterdam
  18.239.94.114                  Amsterdam
  18.239.94.33                   Amsterdam
  18.239.94.79                   Amsterdam
  99.86.20.42                    Doddaballapura
  99.86.20.54                    Doddaballapura
  99.86.20.64                    Doddaballapura
  99.86.20.96                    Doddaballapura
https://gitlab.com/shodan-public/geonet-rs

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

#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

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

#48
post #45

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

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.

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

#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

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

#50

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

Does this command not work?

  go install github.com/mr-karan/doggo/cmd@latest
  go: downloading github.com/mr-karan/doggo v1.0.0
Post reply on HN