pihole.toml contains those parameters.
It is fully documented, and beyond editing it, there are quite a few ways to change configurations options, as detailed in Introducing Pi-hole v6 :
You'd had the choice to manually edit files in either case.
With Pi-hole 5, there have been two files to edit, one for A/AAAA and for CNAME records, whereas you only have to edit one file (pihole.toml) in Pi-hole 6.
And just as Pi-hole 5, Pi-hole's UI has a panel for changing Local DNS records, via Settings | Local DNS records.
That could suggest that your teleporter backup contains those exclusions.
You could check your backup file yourself, or upload it and provide the token for us to take a look: