forked from lightningnetwork/lnd
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
DNS Seeder
https://github.com/BTCGPU/lseed.git
Instructions
- Run a LND instance with
macaroonsenabled. See also: Technical Preview 2 #2 - Download and install
lseed
git clone https://github.com/BTCGPU/lseed.git $GOPATH/src/github.com/cdecker/lseed
cd $GOPATH/src/github.com/cdecker/lseed
glide install
go install
- Run lseed in LND mode with BTG root domain and listen to udp:10053 (optional)
lseed -debug -listen 0.0.0.0:10053 -root-domain lseed.testnet.bitcoingold.org
Deploy as DNS Seeder
LND registers a DNS Seeder by two domains: the root domain of the seeder, and the hostname of the name server. For example, the configuration of BTG lightning network testnet is:
lseed.testnet.bitcoingold.org: Root domain hosted by ourlseedname server.soa.testnet.bitcoingold.org: A/AAAA record pointing to our name server.
The name server must accept tcp dns queries in case the routers may drop long dns query result. However dns over tcp is not supported by lseed. We suggest to run lseed as a internal service and point a dns server like BIND to lseed as its upstream name server.
LND related Command flags
(TBD: check lseed --help and lncli --help)
Test
dig lseed.test.bitcoingold.org @127.0.0.1 -p 10053
Metadata
Metadata
Assignees
Labels
No labels