Documentation ¶
Overview ¶
Package pdsql implements a plugin that query powerdns database to resolve the coredns query
Index ¶
- Constants
- func ParseSOA(rr *dns.SOA, line string) bool
- func WildcardMatch(s1, s2 string) bool
- type PowerDNSGenericSQLBackend
- func (pdb PowerDNSGenericSQLBackend) AutoMigrate() error
- func (pdb PowerDNSGenericSQLBackend) Name() string
- func (pdb PowerDNSGenericSQLBackend) SearchWildcard(qname string, qtype uint16) (records []*pdnsmodel.Record, err error)
- func (pdb PowerDNSGenericSQLBackend) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Msg) (int, error)
Constants ¶
View Source
const Name = "pdsql"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PowerDNSGenericSQLBackend ¶
func (PowerDNSGenericSQLBackend) AutoMigrate ¶
func (pdb PowerDNSGenericSQLBackend) AutoMigrate() error
func (PowerDNSGenericSQLBackend) Name ¶
func (pdb PowerDNSGenericSQLBackend) Name() string
func (PowerDNSGenericSQLBackend) SearchWildcard ¶
Click to show internal directories.
Click to hide internal directories.