Allowing a docker machine created with hyper-v to access the host network

I have created a docker machine using hyper-v as follows:

docker-machine create --driver hyperv --hyperv-virtual-switch ““my switch”” ““manager””

I then setup a swarm:

docker swarm init --advertise-addr IPADDRESS

Lastly, I installed a .net core service on the swarm that runs a restful web api. The restful web api needs to pull data from a database that is on a server on my host network. I can access the endpoint of the web api, but it generates an error that it can’t connect to the database.

How do I configure the docker-machine to be able to access the server on my host network?

So I’ve figured out that I can access other machines by IP address, but not by their name. That’s not the end of the world, but is there a way to access them by their DNS name?