Documentation ¶
Overview ¶
Package dig implements the dig command chain.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResolverForOrg ¶
func ResolverForOrg(ctx context.Context, c *agent.Client, org *api.Organization) (*net.Resolver, string, error)
ResolverForOrg takes a connection to the wireguard agent and an organization and returns a working net.Resolver for DNS for that organization, along with the address of the nameserver.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.