Update cheatsheets

This commit is contained in:
ivuorinen
2024-07-15 00:15:38 +00:00
parent 66ef864f25
commit 080980ecf4
2 changed files with 31 additions and 1 deletions

30
tldr/doggo Normal file
View File

@@ -0,0 +1,30 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# doggo
> DNS client for Humans.
> Written in Golang.
> More information: <https://doggo.mrkaran.dev>.
- Perform a simple DNS lookup:
`doggo {{example.com}}`
- Query MX records using a specific nameserver:
`doggo MX {{codeberg.org}} @{{1.1.1.2}}`
- Use DNS over HTTPS:
`doggo {{example.com}} @{{https://dns.quad9.net/dns-query}}`
- Output in the JSON format:
`doggo {{example.com}} --json | jq '{{.responses[0].answers[].address}}'`
- Perform a reverse DNS lookup:
`doggo --reverse {{8.8.4.4}} --short`

View File

@@ -14,4 +14,4 @@ source: https://github.com/tldr-pages/tldr.git
- View network traffic on specific interfaces (use the arrow keys to switch interfaces):
`nload device {{interface_one}} {{interface_two}}`
`nload devices {{interface_one}} {{interface_two}}`