Fix PDNS call