R
R
Roman Kutenko2015-05-08 09:13:25
Debian
Roman Kutenko, 2015-05-08 09:13:25

Why doesn't dnsmasq resolve local sites without internet?

Hello everyone, I set up dnsmasq on the working machine to dynamically add sites for development. But I came across a problem that in the absence of the Internet, local sites do not resolve. Where to dig?
OS Debian 8

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Luponos, 2015-05-08
@Bessome

Option 1: /etc/resolv.conf
should ask the local server first, then the outside world.
cat resolv.conf
nameserver 127.0.0.1
nameserver 8.8.8.8 Tweak
request forwarding in dnsmasq settings

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question