forked from shupp/VegaDNS-API
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrecords_format.json
118 lines (108 loc) · 1.86 KB
/
records_format.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
SOA
{
"record_id": 1,
"domain_id": 1,
"record_type": "SOA",
"ttl": 86400,
"refresh": 86400,
"retry": 2048,
"expire": 1048576,
"minimum": 2560,
"serial": "",
"contact": "hostmaster.example.com",
"server": "ns1.example.com"
}
NS
{
"record_id": 1,
"domain_id": 1,
"record_type": "NS",
"name": "example.com",
"value": "ns1.example.com",
"ttl": 3600
}
A
{
"record_id": 1,
"domain_id": 1,
"record_type": "A",
"name": "www.example.com",
"value": "1.2.3.4",
"ttl": 3600
}
MX
{
"record_id": 1,
"domain_id": 1,
"record_type": "MX",
"name": "example.com",
"value": "mail.example.com",
"distance": 10,
"ttl": 3600,
}
CNAME
{
"record_id": 1,
"domain_id": 1,
"type": "CNAME",
"name": "www.example.com",
"value": "example.com",
"ttl": 3600
}
TXT
{
"record_id": 1,
"domain_id": 1,
"type": "TXT",
"name": "example.com",
"value": "v=spf1 mx a ip4:1.2.3.0/24",
"ttl": 3600
}
PTR
{
"record_id": 1,
"domain_id": 1,
"type": "PTR",
"name": "4.3.2.1.in-addr.arpa",
"value": "www.example.com",
"ttl": 3600
}
AAAA
{
"record_id": 1,
"domain_id": 1,
"type": "AAAA",
"name": "ipv6.example.com",
"value": "0000:0000:0000:0000:0000:ffff:c0a8:11",
"ttl": 3600
}
AAAA+PTR
{
"record_id": 1,
"domain_id": 1,
"type": "AAAA+PTR",
"name": "ipv6.example.com",
"value": "0000:0000:0000:0000:0000:ffff:c0a8:11",
"ttl": 3600
}
SRV
{
"record_id": 1,
"domain_id": 1,
"type": "SRV",
"name": "_xmpp-client._tcp.example.com",
"value": "mac.office.example.com",
"distance": 0,
"weight": 10,
"port": 5222,
"ttl": 60
}
SPF
{
"record_id": 1,
"domain_id": 1,
"type": "PTR",
"name": "example.com",
"value": "v=spf1 mx a ip4:1.2.3.0/24",
"ttl": 3600
}