record.go 593 B

12345678910111213141516171819202122232425262728
  1. package dns
  2. //
  3. //you can read doc at https://docs.aliyun.com/#/pub/dns/api-reference/enum-type&record-format
  4. const (
  5. ARecord = "A"
  6. NSRecord = "NS"
  7. MXRecord = "MX"
  8. TXTRecord = "TXT"
  9. CNAMERecord = "CNAME"
  10. SRVRecord = "SRV"
  11. AAAARecord = "AAAA"
  12. RedirectURLRecord = "REDIRECT_URL"
  13. ForwordURLRecord = "FORWORD_URL"
  14. )
  15. type RecordType struct {
  16. DomainName string
  17. RecordId string
  18. RR string
  19. Type string
  20. Value string
  21. TTL int32
  22. Priority int32
  23. Line string
  24. Status string
  25. Locked bool
  26. }