An open API service indexing awesome lists of open source software.

https://github.com/tim-zhang/gitdomain-demo

GitDNS Demo
https://github.com/tim-zhang/gitdomain-demo

Last synced: 4 months ago
JSON representation

GitDNS Demo

Awesome Lists containing this project

README

          

#A Demo for GitDNS

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

#What is GitDNS
[GitDNS](https://gitdns.cc) is an awesome DNS manange service.

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

#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)

```