Search and commands

↑ ↓ to select · Enter to open · Esc to close

Type to search packages.

dns

v1.51.4
github.com/lfch/grpc/internal/resolver/dns

Documentation

pkg.go.dev ↗

Table of contents

↓ to select · Enter to jump· Shift+Enter for source

4 matches

Top ↑

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

Variables

EnableSRVLookups

var EnableSRVLookups = false

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

Functions

NewBuilder

func NewBuilder() resolver.Builder

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

Dependency graph