12 lines
278 B
Go
12 lines
278 B
Go
package dnsProvider
|
|
|
|
import (
|
|
"net"
|
|
"realdnydns/model/common"
|
|
)
|
|
|
|
type DNSProvider interface {
|
|
UpdateRecord(tld string, subdomain string, ip net.IP, ttl int, prio int, disabled bool) (*common.ARecord, error)
|
|
GetRecord(tld string, subdomain string) (*common.ARecord, error)
|
|
}
|