Corrected patch for pdns