package
0.3.1
Repository: https://github.com/moomerman/phx-dev.git
Documentation: pkg.go.dev

# README

package dns

This package provides an installer and an implementation of a DNS server that can serve requests for a given list of tlds.

If you configure the server to work with test then any DNS lookup that ends with .test will resolve to localhost. Eg. example.test.

Credits

The majority of the code for this package was extracted from https://github.com/puma/puma-dev.

# Functions

ConfigureResolver configures the system to resolve the domains.

# Constants

DefaultAddress is the default address for the DNS server.

# Structs

Responder holds the configuration for the DNS server.