pdns: add --HEAD

Closes #27114.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>