pdns run script & prep for consul query