frequency varies with the rate the magnets pass by the windings. There is no fundamental reason why they shouldn't take dc, but most of the better designs take the AC component into account.
I think I posted upthread that dynos will only put out .5amp, and the lights probably don't have any protection against a battery's ability to source far more than that. They just don't need it. DC supply should be a current source, not a voltage source.