pdns: head fixes

Closes #33601.