Files
realDynDNS/pkg/dnsProvider/dnsProvider.go
2024-04-01 11:44:53 +02:00

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)
}