I refactored my code a bit so it looks better. Please file a ticket if you feel we should refactor the whole BIND provider :-D

All your remarks fixed. Pushing changes. Anyone else to review?