代码拉取完成,页面将自动刷新
同步操作将从 wl4g/dopaas-coredns 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
package xcloud_dopaas_coredns
import "net"
type Zone struct {
Name string
Locations map[string]*Record
}
type Record struct {
A []A_Record `json:"a,omitempty"`
AAAA []AAAA_Record `json:"aaaa,omitempty"`
TXT []TXT_Record `json:"txt,omitempty"`
CNAME []CNAME_Record `json:"cname,omitempty"`
NS []NS_Record `json:"ns,omitempty"`
MX []MX_Record `json:"mx,omitempty"`
SRV []SRV_Record `json:"srv,omitempty"`
CAA []CAA_Record `json:"caa,omitempty"`
SOA SOA_Record `json:"soa,omitempty"`
}
type A_Record struct {
Ttl uint32 `json:"ttl,omitempty"`
Ip net.IP `json:"ip"`
}
type AAAA_Record struct {
Ttl uint32 `json:"ttl,omitempty"`
Ip net.IP `json:"ip"`
}
type TXT_Record struct {
Ttl uint32 `json:"ttl,omitempty"`
Text string `json:"text"`
}
type CNAME_Record struct {
Ttl uint32 `json:"ttl,omitempty"`
Host string `json:"host"`
}
type NS_Record struct {
Ttl uint32 `json:"ttl,omitempty"`
Host string `json:"host"`
}
type MX_Record struct {
Ttl uint32 `json:"ttl,omitempty"`
Host string `json:"host"`
Preference uint16 `json:"preference"`
}
type SRV_Record struct {
Ttl uint32 `json:"ttl,omitempty"`
Priority uint16 `json:"priority"`
Weight uint16 `json:"weight"`
Port uint16 `json:"port"`
Target string `json:"target"`
}
type SOA_Record struct {
Ttl uint32 `json:"ttl,omitempty"`
Ns string `json:"ns"`
MBox string `json:"MBox"`
Refresh uint32 `json:"refresh"`
Retry uint32 `json:"retry"`
Expire uint32 `json:"expire"`
MinTtl uint32 `json:"minttl"`
}
type CAA_Record struct {
Flag uint8 `json:"flag"`
Tag string `json:"tag"`
Value string `json:"value"`
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。