
* [NOD-176] Moved daghash from dagconfig to util * [NOD-176] Fixed order of includes with gofmt
dnsseeder
Requirements
Go 1.10 or newer.
Getting Started
- dnsseeder will now be installed in either
$GOROOT/bin
or$GOPATH/bin
depending on your configuration. If you did not already add the bin directory to your system path during Go installation, we recommend you do so now.
Build from source (all platforms)
Building or updating from source requires the following build dependencies:
-
Go 1.10 or 1.11
Installation instructions can be found here: https://golang.org/doc/install. It is recommended to add
$GOPATH/bin
to yourPATH
at this point. -
Vgo (Go 1.10 only)
The
GO111MODULE
experiment is used to manage project dependencies and provide reproducible builds. The module experiment is provided by the Go 1.11 toolchain, but the Go 1.10 toolchain does not provide any module support. To perform module-aware builds with Go 1.10, vgo (a drop-in replacement for the go command) must be used instead.
To build and install from a checked-out repo, run go install
in the repo's
root directory. Some notes:
-
Set the
GO111MODULE=on
environment variable if using Go 1.11 and building from withinGOPATH
. -
Replace
go
withvgo
when using Go 1.10. -
The
dnsseeder
executable will be installed to$GOPATH/bin
.GOPATH
defaults to$HOME/go
(or%USERPROFILE%\go
on Windows) if unset.
For more information about Daglabs and how to set up your software please go to our docs page at docs.daglabs.org.
To start dnsseeder listening on udp 127.0.0.1:5354 with an initial connection to working testnet node 192.168.0.1:
$ ./dnsseeder -n nameserver.example.com -H network-seed.example.com -s 192.168.0.1 --testnet
You will then need to redirect DNS traffic on your public IP port 53 to 127.0.0.1:5354
Issue Tracker
The integrated github issue tracker is used for this project.
License
dnsseeder is licensed under the copyfree ISC License.