Skip to content

Add DNS first-seen and last-seen history#11

Open
JeremyZeng77 wants to merge 1 commit into
codingo:mainfrom
JeremyZeng77:codex/dns-history-tracking
Open

Add DNS first-seen and last-seen history#11
JeremyZeng77 wants to merge 1 commit into
codingo:mainfrom
JeremyZeng77:codex/dns-history-tracking

Conversation

@JeremyZeng77
Copy link
Copy Markdown

Summary

  • adds first-seen, last-seen, and seen metadata to DNS records in JSON output
  • preserves records that disappeared from the latest scan so rotating/load-balanced answers keep their historical last-seen value
  • adds --fs, --ls <days>, and --lsd <MM/DD/YYYY> reporting flags for first-seen and stale last-seen records
  • documents the history fields and reporting flags in the README

Fixes #1.

Verification

  • git diff --check
  • WSL/Ubuntu single-translation-unit compile checks:
    • g++ -std=c++17 -Iinclude -ICLI11/include -Ijson/single_include -Ispdlog/include -c source/cli_preprocessor.cpp -o /tmp/dooked_cli_preprocessor.o
    • g++ -std=c++17 -Iinclude -ICLI11/include -Ijson/single_include -Ispdlog/include -c source/main.cpp -o /tmp/dooked_main.o
    • g++ -std=c++17 -Iinclude -ICLI11/include -Ijson/single_include -Ispdlog/include -c source/utils/io_utils.cpp -o /tmp/dooked_io_utils.o

I also attempted a full CMake build in Ubuntu 24.04; it reaches existing Boost 1.83 compatibility errors in unrelated files before completing.

Bounty payout

If this is selected for the $100 bounty, PayPal payout can be sent to: https://paypal.me/Jeremytsangchina

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Adding first-seen/last-seen to dataset with new flags

1 participant