[Dnsmasq-discuss] Need help on configuring dnsmasq

Matus UHLAR - fantomas uhlar at fantomas.sk
Mon May 8 16:26:52 UTC 2023


On 09.05.23 00:57, Gary R. Schmidt wrote:
>I will re-state all of this, to see if I have it right:
>
>The OP wants example.com to return 1.2.3.4, but *.example.com to go up 
>the DNS tree and return the actual IP address.
>
>Using -A/--address doesn't do this, it replies with 1.2.3.4 for 
>*.example.com as well as example.com, as documented (and presumably as 
>intended).
>
>Setting example.com to be 1.2.3.4 in /etc/hosts or similar, and not 
>fiddling around with -A/--address should give the OP the required 
>behaviour.
>
>Is that an accurate summation?

yes.

-- 
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.
Micro$oft random number generator: 0, 0, 0, 4.33e+67, 0, 0, 0...



More information about the Dnsmasq-discuss mailing list