I
I
Igor2015-12-30 14:25:46
Domain Name System
Igor, 2015-12-30 14:25:46

Why doesn't dnsmasq resolve domains when the internet is off?

Hello! On mac OS (El Capitan) there is a virtual machine vagrantdeployed via homestead. There are several dev sites, on one of them I needed to make dynamic subdomains. Googled about dnsmasq, configured it, everything works. On the local network, I configured it so that dns resolves from /etc/resolver/dev, it is written there servername 192.168.10.10(the address of the virtual machine), it is /usr/local/etc/dnsmasq.confwritten in address=/dev/192.168.10.10. In the virtual machine itself (Ubuntu 14.04) /etc/dnsmasq.conf, address=/.dev/192.168.10.10. So, everything works only when the Internet connection is on. As soon as I turn off the network, immediately everything stops working. Question - how to make dnsmasq work with the internet disconnected? Thank you.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question