Skip to content

Expose additional ASN fields from iptoasn lookup - #83

Merged
steffenfritz merged 1 commit into
mainfrom
feature/extended-asn-info
Mar 31, 2026
Merged

Expose additional ASN fields from iptoasn lookup#83
steffenfritz merged 1 commit into
mainfrom
feature/extended-asn-info

Conversation

@steffenfritz

Copy link
Copy Markdown
Owner

Summary

  • Displays four additional fields from the existing iptoasn BGP lookup: AS Name, BGP Prefix, AS Registry, and AS Allocated date
  • No new dependency — all fields are already returned by github.com/jamesog/iptoasn but were previously unused
  • TSV output updated to include the new fields

Example output (new fields)

AS Number    : 3320
AS Name      : DTAG, DE
AS Country   : DE
AS Registry  : ripencc
AS Allocated : 1997-03-17
BGP Prefix   : 85.214.0.0/15

Test plan

  • Run mxcheck -s <domain> -n and verify the new ASN fields appear in the output
  • Run mxcheck -s <domain> -n -w and verify the new fields appear in the TSV report
  • go vet ./... and go test -v ./... — all green

Closes #23

🤖 Generated with Claude Code

Display AS Name, BGP Prefix, Registry, and Allocated date alongside the
existing AS Number and Country. All fields are already returned by the
iptoasn package and require no new dependency. TSV output updated accordingly.

Closes #23

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Steffen Fritz <steffen@fritz.wtf>
@steffenfritz steffenfritz self-assigned this Mar 29, 2026
@steffenfritz steffenfritz added enhancement New feature or request LLM labels Mar 29, 2026
@steffenfritz steffenfritz added this to the v2.0.0 milestone Mar 29, 2026
@steffenfritz
steffenfritz merged commit 5bd051a into main Mar 31, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request LLM

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add more provider/ISP information

1 participant