[Dnsmasq-discuss] Unqualified names and default nameserver configuration

Matus UHLAR - fantomas uhlar at fantomas.sk
Tue Nov 9 07:43:57 UTC 2021


On 08.11.21 14:04, Omer Ozarslan wrote:
>I am trying to redirect example.com and unqualified names to standard
>server, and everything else to a different one.

you have logical error there.
the "default server" is the server where "everything else" is sent.

if you want to send "example.com" and unqualified names to server X and
everything else to standard server Y, try specifying:

server=Y
server=/example.com/X
server=//X

alternatively you can specify server Y in resolv.conf

-- 
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
"The box said 'Requires Windows 95 or better', so I bought a Macintosh".



More information about the Dnsmasq-discuss mailing list