Re: [Dnsmasq-discuss] Question about behaviour of '#' symbol

2024-03-19 Thread Elias LA via Dnsmasq-discuss
Thanks again. I will rephrase my question one last time: Considering that I have the rule `address=/*.firebaseio.com/`, how can I allow only the domain `firebaseio.com` without having to use the instruction `server=/firebaseio.com/8.8.8.8`? (How can I block all the subdomains except the main

Re: [Dnsmasq-discuss] Question about behaviour of '#' symbol

2024-03-18 Thread Matus UHLAR - fantomas
On 18.03.24 14:21, Elias LA via Dnsmasq-discuss wrote: Thanks. I see. So the rule `server=/firebaseio.com/#` is sent to local server 127.0.0.1 which then blocks it because it has the rule `address=/*.firebaseio.com/` I don't think the request is sent anywhere, why would dnsmasq send it to

Re: [Dnsmasq-discuss] Question about behaviour of '#' symbol

2024-03-18 Thread Elias LA via Dnsmasq-discuss
Thanks. I see. So the rule `server=/firebaseio.com/#` is sent to local server 127.0.0.1 which then blocks it because it has the rule `address=/*.firebaseio.com/` A rephrase of my question is: How can I route `firebaseio.com` to resolve using default address (the standard server defined by

Re: [Dnsmasq-discuss] Question about behaviour of '#' symbol

2024-03-18 Thread Matus UHLAR - fantomas
On 18.03.24 12:29, Elias LA via Dnsmasq-discuss wrote: Yes, I am aware about the documentation which you quoted (and which I quoted). But how do you explain that the domain `firebaseio.com` is being blocked by set 1 and NOT by set 2? As you mentioned, we should expect

Re: [Dnsmasq-discuss] Question about behaviour of '#' symbol

2024-03-18 Thread Elias LA via Dnsmasq-discuss
Thanks Matus. Yes, I am aware about the documentation which you quoted (and which I quoted). But how do you explain that the domain `firebaseio.com` is being blocked by set 1 and NOT by set 2? As you mentioned, we should expect `server=/firebaseio.com/#` to lookup the domain from `8.8.8.8`.

Re: [Dnsmasq-discuss] Question about behaviour of '#' symbol

2024-03-18 Thread Matus UHLAR - fantomas
On 18.03.24 09:41, Elias LA via Dnsmasq-discuss wrote: In mydnsmasq.conffile, I have either one of two sets of rules: # Set 1: no-resolv server=8.8.8.8 server=/firebaseio.com/# address=/*.firebaseio.com/ # Set 2: no-resolv server=8.8.8.8 server=/firebaseio.com/8.8.8.8