bitcoin-seeder
bitcoin-seeder copied to clipboard
DNSSEC setup for dnsseed
Documentation to run a bind9 with DNSSEC in front of the bitcoin-seeder
@ysangkok thank you for the review. Very appreciated. I'm still learning to use Github. So I hope I did it all right.
@Emzy just noticed this PR :-) Can you rebase the PR on top of master, and also squash the commits with duplicate names?
Just did that. Looks like it was already rebased to master.
@Emzy after a rebase there shouldn't be a commit [Merge branch 'sipa:master' into master]
left though.
Sorry, I'm still try to master git. I think I got it now into the right state.
That worked. But to further improve your mastery, try git rebase -i HEAD~5
, and then replace pick
with fixup
for the second line (it should run hourly
). That'll squash it into the first commit. You can also try Github Desktop which just lets you drag one commit into another.
Did exactly that. As a console user I prefer the git command line.
Ok, might as well also squash 2bf3b632db6f0a63e81f158c2b1699766be59179 in it, because:
- it touch a file that is new in this PR
- having it as a separate commit doesn't aid review, nor does it help later in debugging
b7b80ac4159f2285d0f0d346fafab39d8d00e064 makes (slightly) more sense as it's own commit, because the commit message explains the purpose of that line (which shows up in git blame
)
I would squash 2d6a09c069810c9aa5459379ac56477215644cf9 into the first commit, because the end result is more readable than the initial thing. So if I review a PR one commit at a time, I have to study the grep stuff, only to see it disappear a few commits later.
(I'd probably just squash this entire PR into one commit, but the above illustrates my thinking on commits)
I agree, it makes sense to have it as just one commit. Your guidance is very appreciated.
I also noticed that compared to the tutorial you're not adding a Zone Signing Key(ZSK). (nvm, you are, but not using the terminology)
Update: I think it works now, I had to use the hostname in one place - see above.
It was a bit of a struggle to get all the key files in the right place. Not sure if I did it correctly, but at least this looks good:
I ended up putting all the keys in /etc/bind
and also set key-directory "/etc/bind";
to that. All files there are owned by root:bind
. Otherwise I kept getting errors that it wasn't finding this or that (private) key.
I used some cron-hack to make it update every 15 seconds, which is hopefully good enough for now.