Skip to content

Tim-Zhang/gitdns

Repository files navigation

   ____________________  _   _______
  / ____/  _/_  __/ __ \/ | / / ___/
 / / __ / /  / / / / / /  |/ /\__ \
/ /_/ // /  / / / /_/ / /|  /___/ /
\____/___/ /_/ /_____/_/ |_//____/

#What is GitDNS GitDNS is an awesome DNS manange service.

Git(Manage) ➩ GitDNS(middle ware)  ➩ DNSPod(resolve)

#Features

  • you can do everything in command line
  • you can rollback DNS Record as you wish
  • secure and stable guarantee by DNSPod
  • you can switch to GitDNS easily by "github repo generator" from DNSPod

#Get Started

  1. Sign Up a DNSPod account and modify your domain ns record to DNSPod at registrar.
  2. GitHub configure (you can use "github repo generator" to replace this step)
  • Login GitDNS with DNSPod account.
  • Create a GitHub repo.
  • Set Git repository on GitDNS.
  • Add WebHook (url is displayed on GitDNS index when you login) on GitHub.
  1. Create Domain-File and Record-Line.
  2. git push to apply your configuration.

Yum !

Bravo !!

Excellent !!!

WOO HOO HOO !

#Concept & Syntax

Domain-File

file named by domain name.

##Record-Line one record mapping one line in domain file.

Syntax:

-- @type[required]  = record type(A, CNAME, MX, NS ...)
-- @name[required]  = relative name
-- @value[required] = record value(ipadress, domain ...)
-- @ttl[optional]   = TTL (default: user default TTL)
-- @mx[optional]    = MX Priority (default: 5)

type(name, value, ttl, mx)

Example:

A(@, 1.1.1.1, 默认, 600)
CNAME(gitdns, gitdns.cc, 默认, 600)
MX(@, mxdomain.qq.com., 默认, 600, 10)

#Upcoming

  • Notification with WeChat and SMS
  • Event log on website

#Powered by

Links

License

BSD license Copyright (c) GitDNS