|
|
|
@ -0,0 +1,38 @@ |
|
|
|
/* |
|
|
|
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 --zone ./domain.zone |
|
|
|
|
|
|
|
Full command usage: |
|
|
|
|
|
|
|
NAME: |
|
|
|
realm - A new cli application |
|
|
|
|
|
|
|
USAGE: |
|
|
|
realm [global options] command [command options] [arguments...] |
|
|
|
|
|
|
|
VERSION: |
|
|
|
0.1.0 |
|
|
|
|
|
|
|
COMMANDS: |
|
|
|
help, h Shows a list of commands or help for one command |
|
|
|
|
|
|
|
GLOBAL OPTIONS: |
|
|
|
--zone, -z location to DNS zone file [required] [$REALM_ZONE] |
|
|
|
--bind, -b ':53' '[<host>]:<port>' to bind too [$REALM_BIND] |
|
|
|
--help, -h show help |
|
|
|
--version, -v print the version |
|
|
|
*/ |
|
|
|
package realm |