This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# NOTE: This gist includes the '.sh' extension to enable syntax highlighting | |
# on the gist web viewer. However, it is NOT intended to be run as a script. | |
# These are just notes I took. | |
################################################################################ | |
# | |
# CentOS 7 - Simple IPv4 NAT Router | |
# | |
# This gist provides a brief walkthough on setting up a simple NAT router on | |
# CentOS 7 that will allow multiple machines on an internal network to share |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is very much a WIP! | |
# Set up cobbler on CentOS 7 | |
# TODO: Set up chroot BIND | |
# TODO: Enable IPv6 support | |
# Install EPEL | |
yum install \ | |
https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# | |
# Searches a Google Cloud DNS record set | |
# Author: William Albert (@walbert947) | |
# (NOTE: The program depends on the Google Cloud SDK.) | |
# | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: 'Test the Google Cloud DNS module' | |
hosts: localhost | |
gather_facts: no | |
connection: local | |
vars: | |
#- test_zone: 'testing.example.com.' # <--- MUST include trailing dot | |
#- test_zone_id: 'testing-example-com' | |
#- gcp_project_id: 'test-project' |