[Dnsmasq-discuss] Need help on configuring dnsmasq

Elisamuel Resto sam at samresto.dev
Mon May 8 19:14:57 UTC 2023


What I do, which seems to work (for me):

host-record=example.com/1.2.3.4

Regards,
-Sam

> On May 7, 2023, at 23:01, public1020 via Dnsmasq-discuss <dnsmasq-discuss at lists.thekelleys.org.uk> wrote:
> 
> 
> I'm trying to use dnsmasq to hijack example.com, but not api.example.com, so I used the following configuration:
> 
> address=/example.com/192.168.1.10
> However, dnsmasq also hijacks *.example.com to this IP address. Now how can I hijack only the specific address with dnsmasq?
> 
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20230508/2577f573/attachment.htm>


More information about the Dnsmasq-discuss mailing list