1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

10 lines
191 B
Go
Raw Normal View History

package models
func MakeUnknown(rc *RecordConfig, rtype string, contents string, origin string) error {
rc.Type = "UNKNOWN"
rc.UnknownTypeName = rtype
rc.target = contents
return nil
}