Skip to content

Instantly share code, notes, and snippets.

View kordewiner's full-sized avatar

Heinrich Kordewiner kordewiner

View GitHub Profile
@philpennock
philpennock / dns-email.sh
Last active November 20, 2023 16:34
Bash script, using dig & curl, for reporting DNS and a few HTTPS policy files for everything email about a domain
#!/usr/bin/env bash
#
# Copyright 2020,2021,2022 Pennock Tech, LLC
# No warranty, this is a proof-of-concept not a final product.
# MIT-style license.
set -euo pipefail
# This might need to switch to another language for concurrency and handling
# the queries which are rarer, but this is a decent start as a proof-of-concept.