To list all files installed by dnf package:

rpm -ql dnf