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.
Show HN: Doggo – A powerful, human-friendly DNS client for the command line
81–90 of 138 posts
Re: Show HN: Doggo – A powerful, human-friendly DNS client for the command line
#82I 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.
Re: Show HN: Doggo – A powerful, human-friendly DNS client for the command line
#83BTW, the "visit demo" link in the docs returns 404.
Re: Show HN: Doggo – A powerful, human-friendly DNS client for the command line
#84Is this related to Dog [1]? They look almost identical in functionality. Both ask for the specific query to run (A, AAAA, etc.). Why not default to query all records? (at least when querying a single domain). -- 1: https://github.com/mr-karan/doggo
Re: Show HN: Doggo – A powerful, human-friendly DNS client for the command line
#85Is there a way to run the web interface locally? BTW, the "visit demo" link in the docs returns 404.
Yes, you can run the web server locally: https://github.com/mr-karan/doggo/tree/main/web
cd web
go run .Re: Show HN: Doggo – A powerful, human-friendly DNS client for the command line
#86Earlier quoted context omitted.
> "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
I liked the output of: doggo @bbs-over-dns.com txt bbs-over-dns.com | sort | less
Re: Show HN: Doggo – A powerful, human-friendly DNS client for the command line
#87Earlier quoted context omitted.
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).
You’re thinking about news.ycombinator.com, run on a single server from M5, which is not the same as ycombinator.com. > dig +short news.ycombinator.com 209.216.230.207 > ipinfo 209.216.230.207 { "ip": "209.216.230.207", "hostname": "news.ycombinator.com", "city": "San Diego", "region": "California", "country": "US", "loc": "32.7157,-117.1647", "org": "AS21581 M5 Computer Security", "postal": "92101", "timezone": "Ame…
Re: Show HN: Doggo – A powerful, human-friendly DNS client for the command line
#88Love 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).
However, each lookup happens serially right now, I'll take a look at making it concurrent per resolver atleast.
Edit: I just pushed the concurrent version of lookups in each resolver. Speed up is quite good around 70-80% on most domains. Will test this more before releasing to main!
https://github.com/mr-karan/doggo/pull/128#issuecomment-2202...