Update README.md for new config format

This commit is contained in:
George Tankersley 2020-05-24 21:43:46 -04:00
parent 4313ef4778
commit bba9f4436e
1 changed files with 11 additions and 3 deletions

View File

@ -10,14 +10,22 @@ TODO
### CoreDNS configuration
A sample Corefile that configures `mainnet.seeder.yolo.money` and `testnet.seeder.yolo.money` using two local Zcash nodes:
A sample Corefile that configures seeders on a domain for each network, backed by two local Zcash nodes:
```
mainnet.seeder.yolo.money {
dnsseed yolo.money mainnet 127.0.0.1:8233
dnsseed {
network mainnet
crawl_interval 30m
bootstrap_peers 127.0.0.1:8233
}
}
testnet.seeder.yolo.money {
dnsseed yolo.money testnet 127.0.0.1:18233
dnsseed {
network testnet
crawl_interval 30m
bootstrap_peers 127.0.0.1:18233
}
}
```