Bug 285058 - [new port] dns/zns: CLI tool for querying DNS records with readable and colored output
Summary: [new port] dns/zns: CLI tool for querying DNS records with readable and color...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Koichiro Iwao
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-26 19:50 UTC by Yusuf Yaman
Modified: 2025-03-01 14:28 UTC (History)
2 users (show)

See Also:


Attachments
www/zns.patch (2.63 KB, patch)
2025-02-26 19:55 UTC, Yusuf Yaman
no flags Details | Diff
dns/zns.patch (2.73 KB, patch)
2025-03-01 13:09 UTC, Yusuf Yaman
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yusuf Yaman 2025-02-26 19:50:49 UTC

    
Comment 1 Yusuf Yaman 2025-02-26 19:55:57 UTC
Created attachment 258002 [details]
www/zns.patch

zns is a command-line utility for querying DNS records,
displaying them in a human-readable, colored format
that includes type, name, TTL, and value.

Features:

- Supports various DNS record types
- Colorized and tabular output for easy reading
- Concurrent queries for improved performance
- JSON output format for machine-readable results
- Option to write output to a file
- Option to query a specific DNS server

WWW:	https://github.com/znscli/zns

Poudriere testport passes on 142amd64-default.

Pet port{clippy,fmt,lint}.

Thanks in advance.
Comment 2 Koichiro Iwao freebsd_committer freebsd_triage 2025-03-01 11:38:07 UTC
I don't think the appropriate category for this port is www. I think it must be dns. Is there something about this port that makes it a www port?
Comment 3 Yusuf Yaman 2025-03-01 12:56:51 UTC
(In reply to Koichiro Iwao from comment #2)
Sorry, I forgot about the "dns" category. I will update the patch. Thanks.
Comment 4 Yusuf Yaman 2025-03-01 13:09:53 UTC
Created attachment 258156 [details]
dns/zns.patch
Comment 5 commit-hook freebsd_committer freebsd_triage 2025-03-01 14:21:35 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b4ec7306d64ca113c83db5c9dd80a497a16567d2

commit b4ec7306d64ca113c83db5c9dd80a497a16567d2
Author:     Yusuf Yaman <nxjoseph@protonmail.com>
AuthorDate: 2025-02-26 19:54:28 +0000
Commit:     Koichiro Iwao <meta@FreeBSD.org>
CommitDate: 2025-03-01 14:07:43 +0000

    dns/zns: New port: CLI tool for querying DNS records with readable and colored output

    zns is a command-line utility for querying DNS records,
    displaying them in a human-readable, colored format
    that includes type, name, TTL, and value.

    WWW:    https://github.com/znscli/zns

    PR:     285058

 dns/Makefile            |  1 +
 dns/zns/Makefile (new)  | 26 ++++++++++++++++++++++++++
 dns/zns/distinfo (new)  |  5 +++++
 dns/zns/pkg-descr (new) | 12 ++++++++++++
 4 files changed, 44 insertions(+)
Comment 6 Koichiro Iwao freebsd_committer freebsd_triage 2025-03-01 14:22:07 UTC
Perfect! Thank you for your contribution.
Comment 7 Yusuf Yaman 2025-03-01 14:28:25 UTC
(In reply to Koichiro Iwao from comment #6)
You are welcome and thank you for your interest.