Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogicEngine ¶
type LogicEngine struct {
// contains filtered or unexported fields
}
LogicEngine exposes function to check if a domain is wildcard. All the complexities are handled by it.
func CreateLogicEngineInstance ¶
func CreateLogicEngineInstance(domainName string, resolvers common.DNSServers) *LogicEngine
CreateLogicEngineInstance returns a newly initialized object of LogicEngine.
func (*LogicEngine) IsDomainWildCard ¶
func (l *LogicEngine) IsDomainWildCard(domainRecord common.DomainRecords) (bool, error)
IsDomainWildCard checks if the provided domain is a wildcard. It will check all parent domains, which dnsengine.GetParentDomain returns, starting from smallest domain.The function returns the error, if any, encountered by dnsengine.GetParentDomain.
Click to show internal directories.
Click to hide internal directories.