Skip to main content

A CLI tool to dump DNS records into an archive

Project description

DNS Archiver

A Simple DNS lookup tool that dumps all records for archiving.

Useful to run on a schedule to monitor DNS changes which can help if a customer modifies their DNS and breaks their site you can quickly debug and tell what the old (correct) records were.

Install

The recommended way to install is to use pipx:

pipx install dns-archiver

Usage

% dns-archiver --help

 Usage: dns-archiver [OPTIONS] NAME

╭─ Arguments ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ *    name      TEXT  DNS name to lookup [default: None] [required]                                                                                                │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Options ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --record                      [ALL|A|AAAA|CNAME|TXT|NS|MX|SOA]  The DNS record to archive [default: DNSRecord.ALL]                                                │
│ --version             -v                                                                                                                                          │
│ --install-completion          [bash|zsh|fish|powershell|pwsh]   Install completion for the specified shell. [default: None]                                       │
│ --show-completion             [bash|zsh|fish|powershell|pwsh]   Show completion for the specified shell, to copy it or customize the installation.                │
│                                                                 [default: None]                                                                                   │
│ --help                                                          Show this message and exit.                                                                       │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dns_archiver-0.2.0.tar.gz (2.5 kB view hashes)

Uploaded Source

Built Distribution

dns_archiver-0.2.0-py3-none-any.whl (3.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page