An example to work around this would be to run a validating resolver (for example unbound) on localhost of each host and have it forward to whatever DNS server you use today.
If you're on Ubuntu, you most likely have a local resolver running already.