Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
git push origin master -f

Hunter Lannon kindlehl

💭
git push origin master -f
  • Tag1 Consulting
  • La Grande, OR
View GitHub Profile
@kindlehl
kindlehl / checkzone.sh
Created Feb 19, 2019
Script to check zones. PUT THIS IN THE SCRIPTS FOLDER TO RUN SUCCESSFULLY
View checkzone.sh
#!/bin/bash
if [ -z $1 ] || [ -z $2 ]; then
echo Hey you, use proper syntax!
echo 'checkzone.sh <zone name> <path/to/zonefile>'
echo Example: ./checkzone.sh 0.1.0.3.0.8.c.b.5.0.6.2.ip6.arpa db.0.1.0.3.0.8.c.b.5.0.6.2.ip6.arpa
exit 1
fi
expandIP() {