First, hope you didn’t keep settings when change firmware. If you did pls try reset the firmware.
Second, tor firmware doesn’t need to set custom dns. Pls give what you found in detail, e.g. dnsleaktest result and tor check