I came back. These two solutions worked for me:
- addn-hosts=/etc/dnsmasq-hosts
- host-record=example.com,1.2.3.4
Hopefully it would help someone.
--- Original Message ---
On Tuesday, May 9th, 2023 at 3:14 AM, Elisamuel Resto wrote:
> What I do, which seems to work (for me):
>
> host-r
Use host-record=example.com,IP instead. Use host-record=example.com,::
if that name does not have IPv6 address. Do you need to override any
records queries for that name, not just addresses?
On 5/8/23 08:23, public1020 via Dnsmasq-discuss wrote:
I want dnsmasq to do exact match, e.g "address=/
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
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
I want dnsmasq to do exact match, e.g "address=/example.com/IP" should only
match example.com, not *.example.com.
Does dnsmasq support that?
--- Original Message ---
On Monday, May 8th, 2023 at 1:49 PM, Monthly Posting
wrote:
> On Mon, May 08, 2023 at 03:45:29AM +, public1020 wro
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 also hijacks *.example.com to this IP address.
> Now how can I h
I'm trying to use dnsmasq to hijackexample.com, but notapi.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?__
13 matches
Mail list logo