My router uses dnsmasq. In my dnsmasq.conf, I write: address=/#/ in order to resolv any domain to my local server. It works.

Now I'd like to make possible to join www.google.com. Any other domain is "redirected" to my local.

is this correct ?


Or should I do elsehow, or should I provide the google.com IP ?

Thanks a lot


You're close. Your second line should be server= instead.


Whereas address means "Resolve this domain and its subdomains as this address", server means "Ask this nameserver to resolve this domain and its subdomains." The server directive supports # in the second position to mean "the default upstream server".

For more info, see the dnsmasq man page. Search for --server or --address.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.