On 01/02/2010 6:51 PM, Adam Katz wrote:
> Karsten Bräckelmann wrote:
> The DNS entries for this channel lack version noting as well:

People shouldn't be just adding channels at whim.  They should read the
documentation.  If they try to use a channel that's not going to work
sa-update won't install the update.  If they don't bother to check that
it works right the first time... well, they're probably going to do
something dumb eventually anyway.

> $ host -t txt 0.0.2.90_2tld.cf.sare.sa-update.dostech.net
> 0.2.90_2tld.cf.sare.sa-update.dostech.net descriptive text "200912211500"
> 
> So it's apparently okay to use that channel for SA version 2.0.0...

These rules won't work of course, but some of the other channels could
be used for 2.xx, I suppose, if you hacked sa-update to work with 2.xx
or wrote your own 2.xx version.  I don't know why you'd want to anymore
or why we're concerned that somebody might and that a particular ruleset
won't work for them.

> This is easily solved by changing the wildcard entry in BIND (assuming
> you're using BIND), e.g.

No, not really...

> 4.2.3.90_2tld.cf.sare.sa-update IN TXT "200912211500"
> 5.2.3.90_2tld.cf.sare.sa-update IN TXT "200912211500"
> 6.2.3.90_2tld.cf.sare.sa-update IN TXT "200912211500"
> *.3.3.90_2tld.cf.sare.sa-update IN TXT "200912211500"
> *.4.3.90_2tld.cf.sare.sa-update IN TXT "200912211500"

...that requires manually intervention in a currently completely
automated process.  I don't see the value add for adding in the time and
delay of the manual intervention.  Quite simply, don't add channels that
don't work for your version of SA, or if you do, sa-update is not going
to install them anyway.

BTW, a much easier way to do this sort of stuff if we wanted to that
would not require changes if, say, we released a 3.2.7, would be
exclude, rather than include, versions (not tested, subject to typos):

*.1.3.90_2tld.cf.sare.sa-update IN A 127.0.0.1
0.2.3.90_2tld.cf.sare.sa-update IN A 127.0.0.1
1.2.3.90_2tld.cf.sare.sa-update IN A 127.0.0.1
2.2.3.90_2tld.cf.sare.sa-update IN A 127.0.0.1
3.2.3.90_2tld.cf.sare.sa-update IN A 127.0.0.1
*.*.3.90_2tld.cf.sare.sa-update IN TXT "200912211500"

Daryl

Reply via email to