View definition

func PackDomainName

Defined in github.com/miekg/dns/msg.go

Description

PackDomainName packs a domain name s into msg[off:]. If compression is wanted compress must be true and the compression map needs to hold a mapping between domain names and offsets pointing into msg.

PackDomainName is referenced in 2 repositories

github.com/miekg/dns github.com/miekg/unbound