Skip to content

Instantly share code, notes, and snippets.

@alister
Created December 31, 2012 11:40
Show Gist options
  • Save alister/4419224 to your computer and use it in GitHub Desktop.
Save alister/4419224 to your computer and use it in GitHub Desktop.
-- File: abulman.co.uk.lua
-- Zone: abulman.co.uk
-- SOA record is automatically generated
-- Variable _a is replaced with zone name
-- _a = "abulman.co.uk" (from the filename)
-- _webserverIP & _longTTL are variables
-- A records -
std_a(_a, _webserverIP)
a('blog', _webserverIP, _longTTL)
-- CNAME records
cname("pages", 'ghs.google.com')
-- Templates (see templates.lua)
google_app(_a, 'ghs.google.com', _longTTL)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment