Skip to content

Instantly share code, notes, and snippets.

@dizz
Created June 7, 2012 11:57
Show Gist options
  • Save dizz/2888416 to your computer and use it in GitHub Desktop.
Save dizz/2888416 to your computer and use it in GitHub Desktop.
setting smart proxy variables
$servername = $ipaddress_eth1
# Note: There is a bug in the Ubuntu DHCP directory locations - remove any references of '3' in these paths.
$dhcp = true
$dhcp_interface = 'eth1'
$dhcp_reverse = '56.168.192.in-addr.arpa'
$gateway = '192.168.56.2'
$range = '192.168.56.3 192.168.56.200'
# Enabling DNS is optional but recommended
$dns = true
$dns_interface = 'eth1'
$dns_reverse = '56.168.192.in-addr.arpa'
# You also need to include `Ubuntu` in the section that configures the rndc DNS key. Otherwise only `Debian` is supported and you will get errors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment