The guide was changes recently to suggest 5335
. Previously it was 5353
, but this port is assigned and used by mDNS - this could potentially lead to issues.
It is important to have the same port set in your /etc/unbound/unbound.conf.d/pi-hole.conf
as well as in the upstream server you specify in pihole's web GUI. I would recommend to use 5335
.