Skip to content

Instantly share code, notes, and snippets.

View vitalie's full-sized avatar

Vitalie Cherpec vitalie

View GitHub Profile

Keybase proof

I hereby claim:

  • I am vitalie on github.
  • I am vitalie (https://keybase.io/vitalie) on keybase.
  • I have a public key whose fingerprint is F90D F094 981A C57C 55FA 756A 48DA B8F7 A6F3 2C34

To claim this, I am signing this object:

@vitalie
vitalie / example.com.bind
Created August 27, 2012 15:46
LuaDNS - Tumblr Configuration Example (Bind)
; Create CNAME for www.example.com
www CNAME domains.tumblr.com.
; Create A records for root/naked domain (example.com)
@ A 66.6.44.4
@vitalie
vitalie / example.com.lua
Created August 27, 2012 15:44
LuaDNS - Tumblr Configuration Example (Lua)
-- File: example.com.lua
-- Variable _a is replaced with zone name
-- _a = example.com
-- Call tumblr template with domain name as parameter
tumblr(_a)
@vitalie
vitalie / example.com.bind
Last active October 9, 2015 10:28
LuaDNS - GitHub Pages Configuration Example (Bind)
; Create CNAME for www.example.com
; replace user with your GitHub username
www CNAME user.github.com.
; Create A records for root/naked domain (example.com)
@ A 204.232.175.78
@vitalie
vitalie / example.com.lua
Last active October 9, 2015 10:28
LuaDNS - GitHub Pages Configuration Example (Lua)
-- File: example.com.lua
-- Variable _a is replaced with zone name
-- _a = example.com
-- replace github-username with your username
github_pages(_a, "github-username")
@vitalie
vitalie / example.com.bind
Created August 27, 2012 14:14
LuaDNS - dotCloud Configuration Example (Bind)
; Create CNAME for www.example.com
www CNAME gateway.dotcloud.com.
@vitalie
vitalie / example.com.lua
Created August 27, 2012 14:10
LuaDNS - dotCloud Configuration Example (Lua)
-- File: example.com.lua
-- Variable _a is replaced with zone name
-- _a = example.com
-- Call dotcloud template with domain name as parameter
dotcloud(_a)
@vitalie
vitalie / example.com.bind
Created August 27, 2012 13:48
LuaDNS - AppFog/PhpFog Configuration Example (Bind)
; Create CNAME for www.example.com
www CNAME cname01.phpfog.com.
; Add A records for root/naked domain (example.com)
@ A 50.19.115.173
@ A 184.72.222.30
@ A 107.22.161.126
@vitalie
vitalie / example.com.lua
Created August 27, 2012 13:32
LuaDNS - AppFog/PhpFog Configuration Example (Lua)
-- File: example.com.lua
-- Variable _a is replaced with zone name
-- _a = example.com
-- Call appfog template with domain name as parameter
appfog(_a)
@vitalie
vitalie / example.com.bind
Created August 27, 2012 13:07
LuaDNS - Heroku Configuration Example (Bind)
; Replace heroku-app-name with application name
www CNAME heroku-app-name.herokuapp.com.
; Usage of A records for naked domains is highly discouraged by Heroku
; here we are using A records only for redirection
; example.com will be redirected to www.example.com
; using "rack-canonical-host" or other method
@ A 75.101.163.44
@ A 75.101.145.87
@ A 174.129.212.2