Documentation ¶
Index ¶
- func DirectedQuery(servers []string, rd bool, q dns.Question, ctx context.Context) (*dns.Msg, error)
- func FindZoneApex(name string, ctx context.Context) (apex string, zoneSOA *dns.SOA, err error)
- func LookupSOA(name string, ctx context.Context) (*dns.SOA, error)
- func Query(q dns.Question, ctx context.Context) (*dns.Msg, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DirectedQuery ¶
func FindZoneApex ¶
Given a domain name, find the apex for the zone enclosing the name. e.g. if example.com. is a zone, and "www.example.com." is not delegated, given "www.example.com.", returns "example.com." If a zone SOA was found during the process, return that too (not guaranteed).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.