Skip to content

Instantly share code, notes, and snippets.

View usommer's full-sized avatar

Uwe Sommer usommer

  • NetCon Unternehmensberatung GmbH
  • Greven, Germany
View GitHub Profile
@usommer
usommer / ansible-summary.md
Created November 4, 2018 09:15 — forked from andreicristianpetcu/ansible-summary.md
This is an ANSIBLE Cheat Sheet from Jon Warbrick

An Ansible summary

Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)

Configuration file

intro_configuration.html

First one found from of

@usommer
usommer / gist:0407cff827f3b9d36e0b410fcd4182c9
Last active December 26, 2017 10:11
dns domain analysis
#!/bin/bash
## This script creates a table for SOA and MX Records for a given domainlist
domainlist=path/to/domainlist
( printf "DOMAIN SOA EMAIL SERIAL REFRESH RETRY EXPIRE TTL PRIO MX PRIO MX\n" ; cat $domainlist | xargs -n1 -I_domain -- sh -c 'echo "_domain" $(dig +short soa _domain) $(dig +short mx _domain)' )| column -t