package
0.0.0-20240312085907-bb19556550bc
Repository: https://github.com/titan098/go-dns.git
Documentation: pkg.go.dev
# Functions
GetIPv6ForName constructs an IPv6 name for a passed dns name.
GetNameForIPv6 constructs a dns name for a passed IPv6 prefix.
IPv6ToNibble converts an IPv6 address to a bind nibble.
NibbleToIPv6 will convert a bind nibble format string to an net.IP object.
SplitPrefix splits an IPv6 prefix into an address and a prefix mask.
StartServer starts the DNS server in a go routine, returnings a reference to the server.
# Variables
ResponseFunctions contains the mapptings between the response type config options and the response function.
# Structs
Server is the top-level structure containing a reference to the dns server that was constructed.
# Type aliases
QueryFunc is a handling function for a domain prefix.