I will try to write about:
- Building with Golang
- Running dnsseeder with verbose flags
- Testing with "dig" or "drill"
- Monitor with "links"
- Explain a little about DNS
- How to create a systemd service file
- Follow the packets with wireshark
Code: Select all
dig @localhost -p 5353 subdomain.example.org a
Code: Select all
dig @localhost -p 5353 subdomain.example.org aaaa
Code: Select all
tcp port 8334
Code: Select all
tcp port 8336
Code: Select all
bitcoin.addr
Code: Select all
bitcoin.addr.count
bitcoin.string.value
bitcoin.version.version
Code: Select all
sudo lsof -i
Code: Select all
seed.example.org. IN NS ns4seed.example.org.
Code: Select all
seed.example.org.
________________^
dot, please get me the NS for org
org, please get me the NS for example
example, please get me the ip of seed
im sorry, dont have that, ask ns4seed
ns4seed, please get me ips of seed
Jeremy found the weird behavior,
Code: Select all
// Bitcoin nodes typically return two Addr messages: one with
// only one peer, and another with many peers. This is
// probably because ancient protocol versions (pver < 209) only
// allowed one peer per Addr mesage, so returning a one-peer
// Addr message first improves backward-compatibility. Anyway,
// this means we need to wait for the second Addr message.