mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-02-23 15:12:57 +08:00
10 lines
250 B
Go
10 lines
250 B
Go
package models
|
|
|
|
// MakeUnknown turns an RecordConfig into an UNKNOWN type.
|
|
func MakeUnknown(rc *RecordConfig, rtype string, contents string, origin string) error {
|
|
rc.Type = "UNKNOWN"
|
|
rc.UnknownTypeName = rtype
|
|
rc.target = contents
|
|
|
|
return nil
|
|
}
|