41
you are viewing a single comment's thread
view the rest of the comments
[-] tal@kbin.social 7 points 1 year ago

make dig’s output a little more friendly. If I were better at C programming, I might try to write a dig pull request that adds a +human flag to dig that formats the long form output in a more structured and readable way, maybe something like this:

Okay, fair enough.

One quick note on dig: newer versions of dig do have a +yaml output format which feels a little clearer to me, though it’s too verbose for my taste (a pretty simple DNS response doesn’t fit on my screen)

Man, that is like the opposite approach to what you want. If YAML output is easier to read, that's incidental; that's intended to be machine-readable, a stable output format.

[-] outcide@lemmy.world 2 points 1 year ago

just use host or dog.

❯ host www.google.com
www.google.com has address 142.250.204.4
www.google.com has IPv6 address 2404:6800:4006:814::2004
❯ dog reddit.com TXT
TXT reddit.com. 1h00m00s   "614ac4be-8664-4cea-8e29-f84d08ad875c"
TXT reddit.com. 1h00m00s   "MS=ms71041902"
...
this post was submitted on 29 Jul 2023
41 points (82.5% liked)

Selfhosted

39057 readers
237 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS