I am pretty sure that the answer is NO but I want to make sure before I go down another route.
We want to build a DNS service on CF Workers which will resolve a requested URL to a local IP address. Here is a simple example.
The browser (client) requests the resolution of a URL. For example browser requests a DNS resolution of 192-168-1-105.mydomain.com.
Assume that the DNS of the client/browser is configured to use the WebWorker DNS service as the DNS service
The DNS request triggers the WebWorks which using basic JS will return the IP address of 192.168.1.105
The reason we want this is we want the client browser to see the local as a trusted destination and not issue that horrible security warning like Chrome browser does.