Pass dns action for logger as a string rather than a boolean