Skip to content
This repository has been archived by the owner on Nov 13, 2019. It is now read-only.

orz-memories/dnsgit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#A GitHub Repo for DnsGit

    ____     _   __   _____    ______   ____   ______
   / __ \   / | / /  / ___/   / ____/  /  _/  /_  __/
  / / / /  /  |/ /   \__ \   / / __    / /     / /   
 / /_/ /  / /|  /   ___/ /  / /_/ /  _/ /     / /    
/_____/  /_/ |_/   /____/   \____/  /___/    /_/ 

#What is DnsGit DnsGit is an awesome DNS manange service use Git

#Quick Start

git clone @this-rep-url

edit your domain file

git add @change-file
git commit -m "say something here"
git push origin master -u

now your DNS records has modified successful!

#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(dnsgit, dnsgit.com, 默认, 600)
MX(@, mxdomain.qq.com., 默认, 600, 10)

About

GitHub Rrepository for DNSGIT

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published