Use params for dns transaction not global vars