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@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@lists.thekelleys.org.uk
> https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss
_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Reply via email to