DNS完善实现SRV和CAA记录

This commit is contained in:
刘祥超
2022-12-15 16:17:54 +08:00
parent 67473c2dcf
commit f3e3824b7d

View File

@@ -12,6 +12,11 @@ type NSRecord struct {
Type string `field:"type"` // 类型 Type string `field:"type"` // 类型
Value string `field:"value"` // 值 Value string `field:"value"` // 值
MxPriority uint32 `field:"mxPriority"` // MX优先级 MxPriority uint32 `field:"mxPriority"` // MX优先级
SrvPriority uint32 `field:"srvPriority"` // SRV优先级
SrvWeight uint32 `field:"srvWeight"` // SRV权重
SrvPort uint32 `field:"srvPort"` // SRV端口
CaaFlag uint8 `field:"caaFlag"` // CAA Flag
CaaTag string `field:"caaTag"` // CAA TAG
Ttl uint32 `field:"ttl"` // TTL Ttl uint32 `field:"ttl"` // TTL
Weight uint32 `field:"weight"` // 权重 Weight uint32 `field:"weight"` // 权重
RouteIds dbs.JSON `field:"routeIds"` // 线路 RouteIds dbs.JSON `field:"routeIds"` // 线路
@@ -29,6 +34,11 @@ type NSRecordOperator struct {
Type any // 类型 Type any // 类型
Value any // 值 Value any // 值
MxPriority any // MX优先级 MxPriority any // MX优先级
SrvPriority any // SRV优先级
SrvWeight any // SRV权重
SrvPort any // SRV端口
CaaFlag any // CAA Flag
CaaTag any // CAA TAG
Ttl any // TTL Ttl any // TTL
Weight any // 权重 Weight any // 权重
RouteIds any // 线路 RouteIds any // 线路