A simple non-recursive DNS server written in Go.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

30 lines
734 B

/*
Package realm implements a simple non-recursive DNS server.
INSTALLATION
To install realm:
go get -u github.com/brettlangdon/realm/cmd/...
USAGE
Realm will parse your server configuration from a DNS zone file see https://en.wikipedia.org/wiki/Zone_file for more information.
To start a server:
realm ./domain.zone
realm --bind "127.0.0.1:1053" ./first.domain.zone ./second.domain.zone
Full command usage:
usage: realm [--bind BIND] [ZONE [ZONE ...]]
positional arguments:
zone DNS zone files to serve from this server
options:
--bind BIND [<host>]:<port> to bind too [default: :53]
--help, -h display this help and exit
*/
package realm