snapshot-nsset: take a snapshot of a domain's nameserver set
Description
Query domain for its name server set.
This is the second tool in the respdiff query filter toolchain. It's purpose is to provide a current name server set for each domain as obtained by a <DOMAIN> NS
query.
Example
respdiff-rs [--lmdb <ENVDIR>] snapshot-nsset [DOMAIN...]
Input
- domain name(s)
Output
nssets
LMDB - Write value
<NS1_domain><NS2_domain>...<NS3_domain>
for keydomain
Operation
- for each domain:
- query
domain NS
- sort and serialize name server domain names
- write
domain: <NS1_domain><NS2_domain>...<NS3_domain>
to LMDBnssets
- query
Future
- also write LMDB
nameservers
:NS_domain: <IP1><IP2>...<IPn>
-
probe-nsip
utility to get IPset for name server domain
Edited by Nicki Křížek