grpc: Index | Files

package dns

import ""

Package dns implements a dns resolver to be installed as the default resolver in grpc.


Package Files

dns_resolver.go go113.go


var EnableSRVLookups = false

EnableSRVLookups controls whether the DNS resolver attempts to fetch gRPCLB addresses from SRV records. Must not be changed after init time.

func NewBuilder Uses

func NewBuilder() resolver.Builder

NewBuilder creates a dnsBuilder which is used to factory DNS resolvers.

Package dns imports 16 packages (graph) and is imported by 6 packages. Updated 2020-06-28. Refresh now. Tools for package owners.