Skip to content

Instantly share code, notes, and snippets.

@blofeldthefish
blofeldthefish / BIND-Subdomain-Delegation.md
Last active July 23, 2018 04:26 — forked from magnetikonline/README.md
BIND - delegate a sub domain for a zone.

BIND - delegate a sub domain for a zone

The scenario:

  • DNS zone myzone.com defined in BIND.
  • Authoritative name server at 123.16.123.1.
  • Subzone sub.myzone.com with an authoritative name server at 123.16.123.10.
  • Wishing to forward sub-zone to authoritative name server.

Config

$ORIGIN myzone.com.
#Requires -Version 3.0
# Configure a Windows host for remote management with Ansible
# -----------------------------------------------------------
#
# This script checks the current WinRM (PS Remoting) configuration and makes
# the necessary changes to allow Ansible to connect, authenticate and
# execute PowerShell commands.
#
# All events are logged to the Windows EventLog, useful for unattended runs.

Keybase proof

I hereby claim:

  • I am blofeldthefish on github.
  • I am stuartknight (https://keybase.io/stuartknight) on keybase.
  • I have a public key ASBi9mYHHd81p-Y8alVlPYxZ88VqTXAB_ZiT8vV46OZejwo

To claim this, I am signing this object: