mr-karan / doggo

:dog: Command-line DNS Client for Humans. Written in Golang
https://doggo.mrkaran.dev/
GNU General Public License v3.0
2.91k stars 100 forks source link

[Feature request] Add flag to query ALL possible options -A #21

Closed cocoonkid closed 3 years ago

cocoonkid commented 3 years ago

[Feature request] Add flag to query ALL possible options -A

Thank you for your consideration.

mr-karan commented 3 years ago

Not sure if it's a good idea. The same problems like mentioned here https://blog.cloudflare.com/rfc8482-saying-goodbye-to-any/ can come with an -all option.

You can still query for multiple query types:

doggo github.com A MX
NAME            TYPE    CLASS   TTL     ADDRESS                         NAMESERVER     
github.com.     A       IN      53s     13.234.210.38                   192.168.0.2:53
github.com.     MX      IN      3600s   5 alt2.aspmx.l.google.com.      192.168.0.2:53
github.com.     MX      IN      3600s   1 aspmx.l.google.com.           192.168.0.2:53
github.com.     MX      IN      3600s   10 alt3.aspmx.l.google.com.     192.168.0.2:53
github.com.     MX      IN      3600s   10 alt4.aspmx.l.google.com.     192.168.0.2:53
github.com.     MX      IN      3600s   5 alt1.aspmx.l.google.com.      192.168.0.2:53
cocoonkid commented 3 years ago

Thank you.TIL :+1: