Indeed, the RPiOS underlying network infrastructure has completely changed, and doesn't use dnsmasq
any more. We use now NetworkManager.
What was the purpose of your changes in dnsmasq
configuration? Maybe we could help to achieve the same functionality with NetworkManager.