Re: [Bitcoin-development] testnet-seed.bitcoin.petertodd.org is up again

2014-05-30 Thread Gregory Maxwell
On Fri, May 30, 2014 at 8:40 AM, Andreas Schildbach wrote: > I maybe have made this suggestion in the past, but why don't we teach > the seeder (or maybe even plain bitcoind) how to write a zone file and > then use matured DNS servers to serve this zone? > > I admit I never ran my own DNS so I'm n

Re: [Bitcoin-development] testnet-seed.bitcoin.petertodd.org is up again

2014-05-30 Thread Pieter Wuille
On Fri, May 30, 2014 at 5:40 PM, Andreas Schildbach wrote: > I maybe have made this suggestion in the past, but why don't we teach > the seeder (or maybe even plain bitcoind) how to write a zone file and > then use matured DNS servers to serve this zone? > > I admit I never ran my own DNS so I'm n

Re: [Bitcoin-development] testnet-seed.bitcoin.petertodd.org is up again

2014-05-30 Thread Robert McKay
A simple hack would be to crontab up a couple of dig scripts that every minute 'dig' (dig's output is in bind zonefile format) the bitcoin-seed and write the results to two zonefiles that bind can then serve. Basically dig @127.0.0.1 -p 5353 > zonefile1.zone dig @127.0.0.1 -p 5354 > zonefile2.z

Re: [Bitcoin-development] testnet-seed.bitcoin.petertodd.org is up again

2014-05-30 Thread Andreas Schildbach
I maybe have made this suggestion in the past, but why don't we teach the seeder (or maybe even plain bitcoind) how to write a zone file and then use matured DNS servers to serve this zone? I admit I never ran my own DNS so I'm not sure if that can work -- but to me it sounds like the easiest appr

Re: [Bitcoin-development] testnet-seed.bitcoin.petertodd.org is up again

2014-05-30 Thread Pieter Wuille
I don't think it would be too hard to add support for a option to the seeder "for non-matching requests, forward to other DNS server at IP:PORT", so you could cascade them. On Fri, May 30, 2014 at 4:51 PM, Robert McKay wrote: > No, I don't think so. The problem is the 'aa' flag is missing (see th

Re: [Bitcoin-development] testnet-seed.bitcoin.petertodd.org is up again

2014-05-30 Thread Robert McKay
No, I don't think so. The problem is the 'aa' flag is missing (see the 'flags' section in dig). Perhaps if you could suppress the authority records the recursor would give up and just accept the non-authorative answer, but that isn't a good solution even if it might work for some resolvers. Ro

Re: [Bitcoin-development] testnet-seed.bitcoin.petertodd.org is up again

2014-05-30 Thread Alex Kotenko
Hmm, you might be right, as queries dig @node.alexykot.me testnet-seed.alexykot.me ​and dig @node.alexykot.me -p 18353 testnet-seed.alexykot.me​ ​are giving different authority sections. Hmm, but if I setup custom SOA record for it - it should work, right? What SOA name should it be actually, ass

Re: [Bitcoin-development] testnet-seed.bitcoin.petertodd.org is up again

2014-05-30 Thread Robert McKay
Hi Alex, I think the problem is with my suggestion to use bind forwarding.. basically bind is stripping off the authorative answer bit in the reply.. this causes the recursor to go into a loop chasing the authority server which again returns a non-authoritve answer with itself as the authority

Re: [Bitcoin-development] testnet-seed.bitcoin.petertodd.org is up again

2014-05-30 Thread Alex Kotenko
Hi Peter I've setup DNS seeds myself a week ago, at testnet-seed.alexykot.me and bitcoin-seed.alexykot.me, but there is a problem with DNS settings that we with Andreas couldn't sort out quickly. The problem itself is that I can reach my nameserver and get dnsseed response if I query it directly

Re: [Bitcoin-development] testnet-seed.bitcoin.petertodd.org is up again

2014-05-30 Thread Peter Todd
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 27 May 2014 02:19:39 GMT+03:00, Andreas Schildbach wrote: >> Hey, really sorry I don't have the time to fix this issue, been >> travelling for a few weeks for my consulting job. If you want to >> step up and volunteer please feel free. > >I'm