Re: [Dnsmasq-discuss] How to Add max-ttl in DNSMASQ

2021-10-11 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
On 11.10.21 13:13, OMair Siddiquii wrote: I am trying to add the max-ttl= parameter within the DNSMASQ config file but unfortunately when I'm starting the dnsmasq service it fails to start the dnsmasq process. I am following the document mention in the link below. I am using DNSMASQ version

Re: [Dnsmasq-discuss] unittests

2021-10-11 Thread Dominik Derigs
Hey Petr, On Tue, 2021-10-12 at 04:40 +0200, Petr Menšík wrote: > Hi Dominik, > > those tests look great. Something like that is exactly what I had > on > mind for dnsmasq itself. Would you mind if I borrow few things > and try > to make some dnsmasq-only parts, not dependent on pihole? Go

Re: [Dnsmasq-discuss] How to Add max-ttl in DNSMASQ

2021-10-11 Thread john doe
On 10/11/2021 6:01 PM, OMair Siddiquii wrote: Even after upgrading to version 2.85 it didn't work. Please provide the following: - Line that is not working - Output of error message -- John Doe ___ Dnsmasq-discuss mailing list

[Dnsmasq-discuss] How to provide DHCP for WiFi hotspot?

2021-10-11 Thread Chris Green
I am running dnsmasq on my xubuntu 21.04 laptop, I haven't changed the configuration from default at all yet. I have a WiFi hotspot configuration that brings up the WiFi as a server with IP confuguration:- inet 10.42.0.1 netmask 255.255.255.0 broadcast 10.42.0.255 Do I just need to add a

Re: [Dnsmasq-discuss] How to provide DHCP for WiFi hotspot?

2021-10-11 Thread Alex Morris
On Mon, 11 Oct 2021, at 21:22, Chris Green wrote: > > Do I just need to add a DHCP range line such as:- > > dhcp-range=10.42.0.100,10.42.0.200 > > to /etc/dnsmasq.conf to get IP addresses for systems that connect to > the WiFi hotspot or is there more needed? > Depends what you want the

Re: [Dnsmasq-discuss] [PATCH] DHCPv6 - network booting 'address in use'

2021-10-11 Thread Petr Menšík
Could I make a point to this change those changes again for a recorsideration, please? Cheers, Petr On 9/22/21 16:33, Petr Menšík wrote: > > I made error in patch2. Fixed it and added patch3, adding support for > client-arch also for IPv6. > > I have used following configuration for dnsmasq on

Re: [Dnsmasq-discuss] [PATCH] Re: pxe-service entries in dnsmasq conf seem to fail non-proxy EFI boot

2021-10-11 Thread Petr Menšík
Okay, sorry for omitting others. On 10/9/21 11:49, Shrenik Bhura wrote: > Adding Alkis and Jigish back to the thread via cc. > > On Sat, 9 Oct 2021 at 15:18, Shrenik Bhura > wrote: > > Hey Petr, > > I have read your post a few times but am only partially able to > understand

Re: [Dnsmasq-discuss] Bug while using address=//::

2021-10-11 Thread Dominik Derigs
Hey Petr and Simon, On Mon, 2021-10-11 at 12:59 +0200, Petr Menšík wrote: > I cannot consider current implementation of filter-a and filter- > useful. I did not look into the code before and was naively assuming it would be in fact per-domain and not kill-'em-all style. And yes, I do agree

[Dnsmasq-discuss] truely filter AAAA

2021-10-11 Thread Geert Stappers via Dnsmasq-discuss
Previous-Subject: Re: [Dnsmasq-discuss] Bug while using address=//:: In-Reply-To: <787c6505417aa8b8047df15c616fc3cbd117f9b5.ca...@dl6er.de> On Mon, Oct 11, 2021 at 07:39:07PM +0200, Dominik Derigs wrote: > Hey Petr and Simon, > > On Mon, 2021-10-11 at 12:59 +0200, Petr Menšík wrote: > > I

Re: [Dnsmasq-discuss] How to Add max-ttl in DNSMASQ

2021-10-11 Thread OMair Siddiquii
Even after upgrading to version 2.85 it didn't work. From: Dnsmasq-discuss on behalf of Matus UHLAR - fantomas via Dnsmasq-discuss Sent: Monday, October 11, 2021 7:23 PM To: dnsmasq-discuss@lists.thekelleys.org.uk Subject: Re: [Dnsmasq-discuss] How to Add

Re: [Dnsmasq-discuss] How to Add max-ttl in DNSMASQ

2021-10-11 Thread OMair Siddiquii
1. I stopped DNSMASQ service. 2. I ran "dnsmasq --max-ttl=30" 3. Got this error "dnsmasq: bad command line options: try --help" 4. Tried to manually add max-ttl= in dnsmasq.conf 5. Got this error "Starting dnsmasq: dnsmasq: bad option at line 56 of /etc/dnsmasq.conf [FAILED]"

Re: [Dnsmasq-discuss] How to Add max-ttl in DNSMASQ

2021-10-11 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
On 11.10.21 16:01, OMair Siddiquii wrote: Even after upgrading to version 2.85 it didn't work. what exactly does "didn't work" mean? does dnsmasq still refuse to start? do you have any error message? did you try to stop it before starting? On 11.10.21 13:13, OMair Siddiquii wrote: I am

Re: [Dnsmasq-discuss] How to Add max-ttl in DNSMASQ

2021-10-11 Thread john doe
On 10/11/2021 7:41 PM, OMair Siddiquii wrote: 1. I stopped DNSMASQ service. 2. I ran "dnsmasq --max-ttl=30" 3. Got this error "dnsmasq: bad command line options: try --help" 4. Tried to manually add max-ttl= in dnsmasq.conf 5. Got this error "Starting dnsmasq: dnsmasq: bad

Re: [Dnsmasq-discuss] filter-AAAA is breaking dnsmasq

2021-10-11 Thread E
Now that's what I need. Thanks for another useful reply. # vi /usr/local/etc/dnsmasq.conf ( No File - I did not use this. I use only /etc/dnsmasq.conf ) # vi /etc/dnsmasq.conf --- --- --- --- --- interface=lo listen-address=127.0.0.1 bind-interfaces ## testver server=1.2.3.4#53

[Dnsmasq-discuss] filter-AAAA is breaking dnsmasq

2021-10-11 Thread E
Here's my build log if this helps. :~# mkdir ok :~# cd ok :~/ok# git clone http://thekelleys.org.uk/git/dnsmasq.git Cloning into 'dnsmasq'... warning: redirecting to https://thekelleys.org.uk/git/dnsmasq.git/ remote: Enumerating objects: 11964, done. remote: Counting objects: 100%

Re: [Dnsmasq-discuss] filter-AAAA is breaking dnsmasq

2021-10-11 Thread Neal P. Murphy
Good. The binary *claims* to support the options. Try 'od -c /etc/dnsmasq.conf' to see if there are any 'alien' characters in the config file (like '\r' or formfeed, etc.) And try 'dnsmasq --filter-' to see if it works from the command line. If this fails, dnsmasq is likely to be the

Re: [Dnsmasq-discuss] filter-AAAA is breaking dnsmasq

2021-10-11 Thread Hamish Moffatt
On 11/10/21 17:58, E wrote: --- --- --- --- --- interface=lo listen-address=127.0.0.1 bind-interfaces ## testver server=1.2.3.4#53 server=1.2.3.4#53 server=1.2.3.4#53 server=1.2.3.4#53 rev-server=1.2.3.4/24,1.2.3.4 bogus-priv cache-size=1337 dnssec-check-unsigned=no dnssec-no-timecheck

Re: [Dnsmasq-discuss] filter-AAAA is breaking dnsmasq

2021-10-11 Thread Mufasa
A few things still outstanding and more observations. From Geert Stappers: @E Consider to subscribe to this mailinglist Fixing your email program so it honors 'In-Reply-To: ‘ would also solve a problem you are emmitting. Doing this would make it easier to reply to your

Re: [Dnsmasq-discuss] filter-AAAA is breaking dnsmasq

2021-10-11 Thread Geert Stappers via Dnsmasq-discuss
On Mon, Oct 11, 2021 at 02:40:31PM +1100, Hamish Moffatt wrote: > On 11/10/21 14:33, E wrote: > > # dnsmasq --conf-file=/etc/dnsmasq.conf > > dnsmasq: unsupported option at line 12 of /etc/dnsmasq.conf > > What does "where dnsmasq" say? > Are you actually running the binary you just built? That

Re: [Dnsmasq-discuss] filter-AAAA is breaking dnsmasq

2021-10-11 Thread john doe
On 10/11/2021 12:30 PM, Paul Fertser wrote: Hi E, On Mon, Oct 11, 2021 at 02:53:40AM -0700, E wrote: Advice: Go for a good walk Then, at a healthy stress level, I _am_ fine. I just getting tired of unusable DNS service. You're probably fine, but I have to note your behaviour is annoying.

Re: [Dnsmasq-discuss] Bug while using address=//::

2021-10-11 Thread Petr Menšík
Hi Dominik, I cannot consider current implementation of filter-a and filter- useful. On discussion with you, we agreed there are cases where filtering IS useful. But I think it always should be possible only for selected domains, where it brings any advantage. Current form does not allow

Re: [Dnsmasq-discuss] filter-AAAA is breaking dnsmasq

2021-10-11 Thread Petr Menšík
Please ensure path in dnsmasq.service points to installed path. It usually points to /usr/sbin/dnsmasq, which should not be where dnsmasq built from source should be installed. systemctl cat dnsmasq | grep ^Exec Use systemctl edit dnsmasq to change path. On Debian, /etc/init.d/dnsmasq is used

Re: [Dnsmasq-discuss] filter-AAAA is breaking dnsmasq

2021-10-11 Thread Paul Fertser
Hi E, On Mon, Oct 11, 2021 at 02:53:40AM -0700, E wrote: > > Advice: Go for a good walk > > Then, at a healthy stress level, > > I _am_ fine. I just getting tired of unusable DNS service. You're probably fine, but I have to note your behaviour is annoying. > # whereis dnsmasq > dnsmasq:

Re: [Dnsmasq-discuss] filter-AAAA is breaking dnsmasq

2021-10-11 Thread E
> Advice: Go for a good walk > Then, at a healthy stress level, I _am_ fine. I just getting tired of unusable DNS service. > answer to > https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2021q4/015815.html I did that already, didn't I? Please elaborate. > Karma bonus points for

Re: [Dnsmasq-discuss] filter-AAAA is breaking dnsmasq

2021-10-11 Thread Geert Stappers via Dnsmasq-discuss
On Mon, Oct 11, 2021 at 12:14:18AM -0700, E wrote: > Here's my build log if this helps. > big snip Advice: Go for a good walk Then, at a healthy stress level, answer to https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2021q4/015815.html Karma bonus points for using

Re: [Dnsmasq-discuss] filter-AAAA is breaking dnsmasq

2021-10-11 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
On 11.10.21 02:53, E wrote: This is webmail, not a client. webmail is a client too. Many email clients such as Mozilla Thunderbird are spying nowadays. Mozilla telemetry, Windows 10 spying, you name it. you can in many cases (mozilla) turn that off. You also can have telemetry in webmail

[Dnsmasq-discuss] How to Add max-ttl in DNSMASQ

2021-10-11 Thread OMair Siddiquii
Hi, I am trying to add the max-ttl= parameter within the DNSMASQ config file but unfortunately when I'm starting the dnsmasq service it fails to start the dnsmasq process. I am following the document mention in the link below. I am using DNSMASQ version 2.48 "Dnsmasq version 2.48 Copyright