How long does a registration last before I have to renew it?

It depends on the type of domain that you are registering.

for .com, .info, etc
Currently the initial registration period is 1 year. The maximum registration period is 10 years,.

.com.au, .net.au
Have a set period of 2 years registration. Currently it is not possible to register the .au domain name for longer than that.