Documentation
¶
Index ¶
- func BuildDNSMessage(record *config.LocalDNSRecord) ([]byte, error)
- func CreateLocalRecords(conf *config.Configuration) (map[string][]byte, error)
- func GetAddressFromResource(resource dnsmessage.Resource) string
- func HashMessageFields(msgSerial *[]byte) (string, error)
- func SetResponseId(serial []byte, Id uint16) ([]byte, error)
- func StartDNSService(c *net.UDPConn, conf *config.Configuration)
- type Operation
- type StateOperation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildDNSMessage ¶
func BuildDNSMessage(record *config.LocalDNSRecord) ([]byte, error)
func CreateLocalRecords ¶
func CreateLocalRecords(conf *config.Configuration) (map[string][]byte, error)
func GetAddressFromResource ¶
func GetAddressFromResource(resource dnsmessage.Resource) string
func HashMessageFields ¶
func StartDNSService ¶
func StartDNSService(c *net.UDPConn, conf *config.Configuration)
Types ¶
Click to show internal directories.
Click to hide internal directories.