mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-25 17:16:00 +03:00
[PR #1748] [MERGED] Add DNS traffic recorder plugin #4511
Labels
No labels
expected: maybe someday
expected: next release
expected: release after next
expected: unlikely unless contributed
good first ticket
help wanted
pull-request
scope: all users
scope: windows users
size: easy
size: hard
size: medium
size: medium
status: backlog
status: blocked
status: done
status: idea-phase
status: needs followup
status: wip
status: wontfix
touches: API/CLI/Spec
touches: configuration
touches: data/schema/architecture
touches: dependencies/packaging
touches: docs
touches: js
touches: views/replayers/html/css
why: correctness
why: functionality
why: performance
why: security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ArchiveBox#4511
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ArchiveBox/ArchiveBox/pull/1748
Author: @pirate
Created: 12/31/2025
Status: ✅ Merged
Merged: 12/31/2025
Merged by: @pirate
Base:
dev← Head:claude/dns-traffic-recorder-plugin-dNbxC📝 Commits (6)
13148fdAdd DNS traffic recorder pluginf2c20f1Refactor dns plugin to use chrome_utils.js5d8c93eConsolidate CDP connection logic into chrome_utils.js47d9874Merge remote-tracking branch 'origin/dev' into claude/dns-traffic-recorder-plugin-dNbxC2a68248Update all Chrome plugins to use shared chrome_utils.js4839293Fix test assertions to fail properly and add NXDOMAIN deduplication📊 Changes
18 files changed (+616 additions, -748 deletions)
View changed files
📝
archivebox/plugins/chrome/chrome_utils.js(+174 -0)📝
archivebox/plugins/consolelog/on_Snapshot__21_consolelog.bg.js(+23 -118)➕
archivebox/plugins/dns/config.json(+21 -0)➕
archivebox/plugins/dns/on_Snapshot__22_dns.bg.js(+240 -0)➕
archivebox/plugins/dns/templates/icon.html(+0 -0)➕
archivebox/plugins/dns/templates/thumbnail.html(+0 -0)📝
archivebox/plugins/dom/on_Snapshot__53_dom.js(+4 -23)📝
archivebox/plugins/headers/on_Snapshot__55_headers.js(+9 -29)📝
archivebox/plugins/modalcloser/on_Snapshot__15_modalcloser.bg.js(+14 -46)📝
archivebox/plugins/pdf/on_Snapshot__52_pdf.js(+4 -23)📝
archivebox/plugins/pip/tests/test_pip_provider.py(+4 -1)📝
archivebox/plugins/redirects/on_Snapshot__31_redirects.bg.js(+27 -114)📝
archivebox/plugins/responses/on_Snapshot__24_responses.bg.js(+24 -123)📝
archivebox/plugins/screenshot/on_Snapshot__51_screenshot.js(+4 -23)📝
archivebox/plugins/seo/tests/test_seo.py(+6 -5)📝
archivebox/plugins/ssl/on_Snapshot__23_ssl.bg.js(+22 -115)📝
archivebox/plugins/ssl/tests/test_ssl.py(+14 -11)📝
archivebox/plugins/staticfile/on_Snapshot__31_staticfile.bg.js(+26 -117)📄 Description
Records hostname → IP resolutions during page load using Chrome CDP.
Uses Network.responseReceived events to capture DNS resolution data
and writes one JSON line per record to dns.jsonl.
Features:
Summary by cubic
Adds a DNS traffic recorder plugin that logs hostname → IP resolutions during page load via Chrome CDP and writes to dns.jsonl. Also refactors Chrome CDP-based plugins to use shared utilities, reducing duplicate code and standardizing navigation waits.
New Features
Migration
Written for commit
483929391d. Summary will update on new commits.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.