make ResourceRecordSet work when iterated through multiple times