Documentation ¶
Overview ¶
Package whoami implements a plugin that returns details about the resolving querying it.
Index ¶
- Constants
- func ParseSOA(rr *dns.SOA, line string) bool
- func WildcardMatch(s1, s2 string) bool
- type PowerDNSGenericSQLBackend
- func (self PowerDNSGenericSQLBackend) AutoMigrate() error
- func (self PowerDNSGenericSQLBackend) GetDB() *gorm.DB
- func (self PowerDNSGenericSQLBackend) Name() string
- func (self PowerDNSGenericSQLBackend) SearchWildcard(qname string, qtype uint16) (redords []*pdnsmodel.Record, err error)
- func (self 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 ¶
type PowerDNSGenericSQLBackend struct { *gorm.DB Debug bool DbDialect string DbArg string Next plugin.Handler sync.Mutex // contains filtered or unexported fields }
func (PowerDNSGenericSQLBackend) AutoMigrate ¶
func (self PowerDNSGenericSQLBackend) AutoMigrate() error
func (PowerDNSGenericSQLBackend) GetDB ¶
func (self PowerDNSGenericSQLBackend) GetDB() *gorm.DB
func (PowerDNSGenericSQLBackend) Name ¶
func (self PowerDNSGenericSQLBackend) Name() string
func (PowerDNSGenericSQLBackend) SearchWildcard ¶
Click to show internal directories.
Click to hide internal directories.