Documentation
¶
Index ¶
- type RuleSet
- func (s *RuleSet) Exchange(r *dns.Msg) (*dns.Msg, error)
- func (s *RuleSet) FindRecord(name string, quesType uint16) *model.Record
- func (s *RuleSet) FindRecords(name string, quesType uint16) []model.Record
- func (s *RuleSet) Recursion() bool
- func (s *RuleSet) RefreshRecords()
- func (s *RuleSet) ShouldHandle(ip net.IP, port int, zone, network string) bool
- type Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RuleSet ¶
func (*RuleSet) FindRecord ¶ added in v1.8.6
func (*RuleSet) FindRecords ¶ added in v1.8.6
func (*RuleSet) RefreshRecords ¶
func (s *RuleSet) RefreshRecords()
type Server ¶
func (*Server) MatchHandler ¶ added in v1.2.0
func (s *Server) MatchHandler(w dns.ResponseWriter) *RuleSet
Click to show internal directories.
Click to hide internal directories.