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
> wrote:
>
>
> I'm trying to use dnsmasq to hijack example.com, but not api.example.com, so
> I used the following configuration:
>
> address=/
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.co
Sent from my iPhone. Please excuse typos and autocorrection errors.
From: Dnsmasq-discuss on
behalf of Gary R. Schmidt
Sent: Monday, May 8, 2023 11:47 AM
To: dnsmasq-discuss@lists.thekelleys.org.uk
Subject: Re: [Dnsmasq-discuss] Need help on configuring dnsm
On 09/05/2023 00:10, Buck Horn wrote:
On 08.05.2023 15:00:22, "public1020" wrote:
Thanks, dnsmasq does not support this feature.
Why would you think so when you have been pointed to the correct answer
from the docs?
Matus UHLAR even quoted the decisive sentence for you:
it does and the
On 08.05.2023 15:00:22, "public1020" wrote:
Thanks, dnsmasq does not support this feature.
Why would you think so when you have been pointed to the correct answer
from the docs?
Matus UHLAR even quoted the decisive sentence for you:
it does and the answer is listed in dnsmasq manual pag
On 08/05/2023 23:00, public1020 via Dnsmasq-discuss wrote:
Thanks, dnsmasq does not support this feature. I will match all
subdomains regardless.
Case closed :-)
The man page says that it does what you've described:
-A, --address=/[/...]/[]
...
/etc/hosts and DHCP leases override this f
Thanks, dnsmasq does not support this feature. I will match all subdomains
regardless.
Case closed :-)
--- Original Message ---
On Monday, May 8th, 2023 at 4:50 PM, Matus UHLAR - fantomas
wrote:
> > On Monday, May 8th, 2023 at 1:49 PM, Monthly Posting
> > dnsmasq-discuss@lists.theke
On Monday, May 8th, 2023 at 1:49 PM, Monthly Posting
wrote:
On Mon, May 08, 2023 at 03:45:29AM +, public1020 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