Re: [Dnsmasq-discuss] How to create /etc/resolv.conf after removing systemd-resolved?

2024-06-06 Thread Chris Green
just rm -f /etc/resolv.conf && sudoedit /etc/resolv.conf, manually. > > On 04. 06. 24 11:10, Chris Green wrote: > > I run dnsmasq instead of systemd-resolved on all my systems. > > I have just built a new xubuntu 24.04 system and, having disabled > syste

Re: [Dnsmasq-discuss] How to create /etc/resolv.conf after removing systemd-resolved?

2024-06-04 Thread Chris Green
On Tue, Jun 04, 2024 at 02:01:08PM +0200, Buck Horn via Dnsmasq-discuss wrote: > On 04.06.24 11:10, Chris Green wrote: > > Should I just manually edit /etc/resolv.conf or is there some better > > way of handling this? > > > Your question seems not specific to dns

[Dnsmasq-discuss] Getting odd (IPV6) error on Ubuntu 24.04 system, not on similar 23.10 system

2024-06-04 Thread Chris Green
/no-stub-resolv.conf -- Chris Green ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

[Dnsmasq-discuss] How to create /etc/resolv.conf after removing systemd-resolved?

2024-06-04 Thread Chris Green
as follows:- search zbmc.eu nameserver 127.0.0.1 Should I just create an /etc/resolv.conf like this for the new system? -- Chris Green ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi

Re: [Dnsmasq-discuss] Different behaviour with "interface=" on two almost identical systems

2024-03-30 Thread Chris Green
On Fri, Mar 29, 2024 at 03:45:20PM -0500, Chris Buechler wrote: >On Thu, Mar 28, 2024 at 11:40 AM Chris Green <[1]c...@isbd.net> wrote: > > I did try stopping dnsmasq and then nothing was listening on port > 53. > However, just to prove it:- >

Re: [Dnsmasq-discuss] Different behaviour with "interface=" on two almost identical systems

2024-03-28 Thread Chris Green
On Thu, Mar 28, 2024 at 03:50:57PM +0100, Buck Horn via Dnsmasq-discuss wrote: > On 28.03.24 14:28, Chris Green wrote: > > ... and another system, also running dnsmasq version 2.90:- > > > > chris@t470$ nmap 192.168.1.128 | grep 53 > > 53/tcpopen

[Dnsmasq-discuss] Different behaviour with "interface=" on two almost identical systems

2024-03-28 Thread Chris Green
differently and, possibly more to the point, how do I make dnsmasq listen only on the loopback address? ... and the /run/NetworkManager/no-stub-resolv.conf file is the same on all the systems:- # Generated by NetworkManager search zbmc.eu nameserver 192.168.1.1 -- Chris Green

[Dnsmasq-discuss] How to get dnsmasq to see changes in files in /etc/dnsmasq.d?

2024-03-25 Thread Chris Green
Is there a way (other than restarting dnsmasq) to get it to notice changes to files in /etc/dnsmasq.d? I have a blacklist file which I put in /etc/dnsmasq.d and, obviously, when the file is updated I want dnsmasq to notice any changes in the file. -- Chris Green

[Dnsmasq-discuss] Upgrade to [x]ubuntu 23.10 means dnsmasg can't read /run/NetworkManager

2023-12-14 Thread Chris Green
-standard configuration but it has worked very nicely for me for some years. Can anyone suggest a way to fix this? Obviously /run/NetworkManager/no-stub-resolv.conf is created at every boot so the permissions will revert to 'too strict' every time I start the system. -- Chris Green

Re: [Dnsmasq-discuss] Occasional "communications error", how to diagnose?

2023-12-14 Thread Chris Green
On Wed, Dec 13, 2023 at 08:59:05PM +, Simon Kelley wrote: > > > On 13/12/2023 15:25, Chris Green wrote: > > I run dnsmasq version 2.89 on my laptop which is running [x]ubuntu > > 23.04. > > > > I have systemd.resolvd disabled. > > > > I'm

[Dnsmasq-discuss] Occasional "communications error", how to diagnose?

2023-12-13 Thread Chris Green
? -- Chris Green ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] Syntax for multiple listen addresses

2023-07-17 Thread Chris Green
ough? My problem is entirely DNS. -- Chris Green ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] Syntax for multiple listen addresses

2023-07-17 Thread Chris Green
On Mon, Jul 17, 2023 at 05:34:54PM +0200, Geert Stappers wrote: > On Mon, Jul 17, 2023 at 03:56:42PM +0100, Chris Green wrote: > > I'm sure this must be in the man page somewhere but I can't find it. > > If dnsmasq is to listen on more than one address how do you put this > >

[Dnsmasq-discuss] Very odd sequence of replies to 'host'

2023-07-17 Thread Chris Green
somewhere but I don't really know how to diagnose this. -- Chris Green ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

[Dnsmasq-discuss] Syntax for multiple listen addresses

2023-07-17 Thread Chris Green
Or will either work? -- Chris Green ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] Problem with 127.0.1.1 versus 127.0.0.1

2023-07-17 Thread Chris Green
cquibennett.com" uses server in > /etc/resolv.conf, which may not even contain localhost address at all. > That is why I have asked what is there. > > On 17. 07. 23 9:00, Chris Green wrote: > > On Sun, Jul 16, 2023 at 11:58:38PM +0200, Petr Menšík wrote: >

[Dnsmasq-discuss] Problem with 127.0.1.1 versus 127.0.0.1

2023-07-16 Thread Chris Green
/dnsmasq file just has:- ENABLED=1 CONFIG_DIR=/etc/dnsmasq.d,.dpkg-dist,.dpkg-old,.dpkg-new So why do I get that timeout error from the 'host' coommand? It's as if dnsmasq on the local machine isn't listening on 127.0.0.1. Does it only listen on 127.0.1.1 by default? -- Chris Green

Re: [Dnsmasq-discuss] What does this reply to 'host' mean?

2022-10-16 Thread Chris Green
On Sun, Oct 16, 2022 at 04:10:31PM +0200, Geert Stappers via Dnsmasq-discuss wrote: > On Sun, Oct 16, 2022 at 01:34:26PM +0100, Chris Green wrote: > > I have been moving some domains around on my hosting provider and for > > one I'm getting the following rather strange resp

[Dnsmasq-discuss] What does this reply to 'host' mean?

2022-10-16 Thread Chris Green
Host jacquibennett.com not found: 2(SERVFAIL) Is this just a DNS propagation oddity or have I misconfigured something? -- Chris Green ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin

Re: [Dnsmasq-discuss] dnsmasq has started crashing rather frequently

2022-09-08 Thread Chris Green
On Thu, Sep 08, 2022 at 12:50:53PM +0100, Simon Kelley wrote: > > > On 05/09/2022 20:07, Chris Green wrote: > > I am running dnsmasq version 2.86 on xubuntu 22.04. Just recently (i.e. in > > the past few weeks) it has started crashing with a segfault. The syslog

[Dnsmasq-discuss] dnsmasq has started crashing rather frequently

2022-09-05 Thread Chris Green
with result 'core-dump'. It didn't used to crash like this. I see that dnsmasq was moved from version 2.85 to version 2.86 at the end of July 2022, is there possibly a bug in 2.86 causing these crashes? -- Chris Green ___ Dnsmasq-discuss mailing list

[Dnsmasq-discuss] Can I have a little clarification of -S, --local, --server please

2022-05-30 Thread Chris Green
system is at zbmc.eu and I give the various systems here names like esprimo.zbmc.eu, backup.zbmc.eu and so on. Presumably I could change the above line to:- server=/zbmc.eu/ and everything would work the same. Presumably the -S option is only for use in the dnsmasq command l

Re: [Dnsmasq-discuss] Where does dnsmasq get upstream DNS servers by default?

2022-05-30 Thread Chris Green
uot;resolvconf or > NetworkManager"). > Yes, thanks, on thinking about how it's all supposed to work the above makes sense. -- Chris Green ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] Where does dnsmasq get upstream DNS servers by default?

2022-05-29 Thread Chris Green
there is no 'nameserver' entry pointing at localhost will dnsmasq cache? Or do I have to manually add a 'nameserver 127.0.0.1' somewhere? > Uwe > > Am 29.05.2022 um 16:18 schrieb Chris Green: > > With the default /etc/default/dnsmasq file on Ubuntu it says:- > > > > # If the reso

[Dnsmasq-discuss] Where does dnsmasq get upstream DNS servers by default?

2022-05-29 Thread Chris Green
ers. /etc/resolv.conf is :- # Generated by resolvconf nameserver 127.0.0.1 search zbmc.eu Which is a bit odd since I don't have resolvconf. The system works OK, DNS works, but I'd like to know how. -- Chris Green ___ Dnsmasq-discu

[Dnsmasq-discuss] Is there any way found this "Cannot assign requested address"?

2022-02-13 Thread Chris Green
ult I want? That is dnsmasq running but not actually being visible as a server on the LAN until I do something to "switch it on"? -- Chris Green ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-

Re: [Dnsmasq-discuss] When does dnsmasq read the leases file?

2022-02-11 Thread Chris Green
On Fri, Feb 11, 2022 at 08:32:27PM +0100, Matus UHLAR - fantomas via Dnsmasq-discuss wrote: > > > On 2/10/22 22:33, Chris Green wrote: > > > > As per the subject when does dnsmasq [re]read the leases file? > > > On Fri, Feb 11, 2022 at 12:16:52AM +0100, Petr Menš

Re: [Dnsmasq-discuss] Strange error when running 'host'

2022-02-11 Thread Chris Green
On Fri, Feb 11, 2022 at 04:06:52PM +, Chris Green wrote: > I am setting up my dnsmasq backup system(s) and have just moved to the > 'other' dnsmasq server, now I'm getting odd response to 'host' :- > > chris$ host esprimo > esprimo has address 192.168.1.3 > Host

[Dnsmasq-discuss] Strange error when running 'host'

2022-02-11 Thread Chris Green
;; QUESTION SECTION: ;esprimo. IN A ;; ANSWER SECTION: esprimo.0 IN A 192.168.1.3 ;; Query time: 8 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Fri Feb 11 15:59:11 GMT 2022 ;; MSG SIZE rcvd: 52 So what on earth have I

Re: [Dnsmasq-discuss] Questions about /etc/hosts

2022-02-11 Thread Chris Green
added the 127.0.1.1 so that t470 can 'talk to itself' by name as well as by using localhost. > Cheers, > Petr > > On 2/10/22 20:24, Chris Green wrote: > > When running dnsmasq it (by default) uses /etc/hosts to provide some > > system's addresses. > > >

Re: [Dnsmasq-discuss] Questions about /etc/hosts

2022-02-11 Thread Chris Green
oN fRI, fEB 11, 2022 AT 07:30:51am +0100, gEERT sTAPPERS VIA dNSMASQ-DISCUSS WROTE: > On Fri, Feb 11, 2022 at 12:24:27AM +0100, Petr Menšík wrote: > > On 2/10/22 20:24, Chris Green wrote: > > > When running dnsmasq it (by default) uses /etc/hosts to provide some > &

Re: [Dnsmasq-discuss] When does dnsmasq read the leases file?

2022-02-11 Thread Chris Green
On Fri, Feb 11, 2022 at 12:16:52AM +0100, Petr Menšík wrote: > On 2/10/22 22:33, Chris Green wrote: > > As per the subject when does dnsmasq [re]read the leases file? > > > > I am experimenting with my backup DHCP/DNS strategy and I have just > > stopped my dnsmasq

[Dnsmasq-discuss] Questions about /etc/hosts

2022-02-10 Thread Chris Green
# my desktop system 192.168.1.4 backup.zbmc.eu backup # backup Raspberry Pi, also DNS/DHCP backup As the /etc/hosts file on all of those systems (which have static IP)? -- Chris Green ___ Dnsmasq-discuss mailing list Dnsmasq-discuss

Re: [Dnsmasq-discuss] How to get dnsmasq to forget a changed IP address?

2022-02-05 Thread Chris Green
On Fri, Feb 04, 2022 at 11:57:46PM +0100, Geert Stappers via Dnsmasq-discuss wrote: > On Fri, Feb 04, 2022 at 06:44:17PM +0000, Chris Green wrote: > > I have just changed a system on my LAN to a static IP. I have added > > its address to /etc/hosts on my LAN's DHCP/DNS server

Re: [Dnsmasq-discuss] Copying dnsmasq.leases, any issues to be aware of?

2022-02-05 Thread Chris Green
On Fri, Feb 04, 2022 at 09:28:42PM +, Simon Kelley wrote: > > > On 04/02/2022 18:16, Chris Green wrote: > > I'm looking at ways to provide backup DHCP/DNS with dnsmasq. This is > > on a small, fairly 'quiet' home LAN so there aren't dozens of clients > > connect

[Dnsmasq-discuss] Copying dnsmasq.leases, any issues to be aware of?

2022-02-04 Thread Chris Green
across systems) -- Chris Green ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] How to resolve resolv.conf problems?

2021-12-06 Thread Chris Green
an run dnsmasq and will use whatever DNS is provided by the network it is connected to. -- Chris Green ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] How to resolve resolv.conf problems?

2021-12-04 Thread Chris Green
On Sat, Dec 04, 2021 at 02:55:08PM +, Chris Green wrote: > > As a final question, if one wants dnsmasq to do local cacheing do you > put 'nameserver 127.0.0.1' in the resolv.conf file and then provide > the upstream dns server elsewhere in the configuration? > I think

[Dnsmasq-discuss] Comments, can I add comments on same line as confiuguration?

2021-12-03 Thread Chris Green
It's not explicitly allowed according te the man page but can I add comments to configuration lines in dnsmasq.conf, e.g. :- domain-needed # don't forward plain names dhcp-option=3,192.168.1.1 # default route -- Chris Green

[Dnsmasq-discuss] Is this a reasonable solution to providing DHCP/DNS backup?

2021-12-02 Thread Chris Green
that mean I'll have to do a bit more than the 'ip' command? I'm aiming to synchronise /etc/dnsmasq.conf and /etc/dnsmasq.d (or at least keep them in step manually, it's not as if they change frequently). I may even try and synchronise the dnsmasq lease file. -- Chris Green

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

2021-10-12 Thread Chris Green
On Mon, Oct 11, 2021 at 10:59:01PM +0100, Alex Morris wrote: > 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 ge

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

2021-10-11 Thread Chris Green
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? -- Chris Green ___ Dnsmasq-discuss mailing list Dnsmasq-discuss

Re: [Dnsmasq-discuss] What actually happens when dnsmasq is installed on a system running systemd (with systemd-resolved)?

2021-09-29 Thread Chris Green
On Tue, Sep 28, 2021 at 11:59:09PM +0100, Simon Kelley wrote: > On 28/09/2021 20:28, Chris Green wrote: > > I run xubuntu version 21.04 on several systems. Thus the default DNS > > cache and configuring of /etc/resolv.conf is done by systemd and its > > minions. > >

[Dnsmasq-discuss] What actually happens when dnsmasq is installed on a system running systemd (with systemd-resolved)?

2021-09-28 Thread Chris Green
things in systemd so that dnsmasq gets to do local DNS cacheing and so on? -- Chris Green ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] What's this error in syslog mean?

2021-09-06 Thread Chris Green
On Mon, Sep 06, 2021 at 01:17:52PM +0200, Matus UHLAR - fantomas via Dnsmasq-discuss wrote: > On 05.09.21 22:45, Chris Green wrote: > > I did say what versions I was running. The version which causes the > > problem is 2.80, the version that fixes it is 2.84. > > I don'

Re: [Dnsmasq-discuss] What's this error in syslog mean?

2021-09-05 Thread Chris Green
On Sun, Sep 05, 2021 at 10:34:19PM +0200, Geert Stappers via Dnsmasq-discuss wrote: > On Sun, Sep 05, 2021 at 01:18:18PM +0100, Chris Green wrote: > > On Sun, Sep 05, 2021 at 12:51:54PM +0100, Chris Green wrote: > > [snip] > > > > > > It's the calls to systemd-

Re: [Dnsmasq-discuss] What's the "right" way to specify upstream servers?

2021-09-05 Thread Chris Green
On Sun, Sep 05, 2021 at 01:51:22PM +0200, Matus UHLAR - fantomas via Dnsmasq-discuss wrote: > > > On 03.09.21 17:13, Chris Green wrote: > > > > I know there probably isn't a "right" way to do this but, while I've > > > > been trying to sort out how

Re: [Dnsmasq-discuss] What's this error in syslog mean?

2021-09-05 Thread Chris Green
On Sun, Sep 05, 2021 at 12:51:54PM +0100, Chris Green wrote: [snip] > > It's the calls to systemd-start-resolvconf and systemd-stop-resolvconf that > are causing > the error. For some reason on the Pi it causes this error, but not on my > xubuntu system. > > Looking fu

Re: [Dnsmasq-discuss] What's this error in syslog mean?

2021-09-05 Thread Chris Green
On Sun, Sep 05, 2021 at 10:14:02AM +0100, Chris Green wrote: [snip] > > I'm going to try a dnsmasq installation on a non Raspberry Pi system and > see what happens. > ... and after going round lots of circles I think I have found what causes the problem - it's the systemd c

Re: [Dnsmasq-discuss] What's this error in syslog mean?

2021-09-05 Thread Chris Green
a dnsmasq installation on a non Raspberry Pi system and see what happens. -- Chris Green ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] What's this error in syslog mean?

2021-09-05 Thread Chris Green
dnsmasq being invoked twice, but an error during > the running of the script by the second process which exists to do > exactly that. > I'm not explicitly starting a DHCP script, does it always run even if not explicitly invoked? If not then I need to work out what is running it without

Re: [Dnsmasq-discuss] What's this error in syslog mean?

2021-09-05 Thread Chris Green
On Sat, Sep 04, 2021 at 10:19:09PM +0200, Geert Stappers via Dnsmasq-discuss wrote: > On Sat, Sep 04, 2021 at 08:16:44PM +0100, Chris Green wrote: > > > > > This is with log-queries=extra and log-dhcp set. > > And how is dnsmasq started? What

Re: [Dnsmasq-discuss] What's this error in syslog mean?

2021-09-05 Thread Chris Green
On Sat, Sep 04, 2021 at 09:20:37PM +0100, Simon Kelley wrote: > On 04/09/2021 17:14, Chris Green wrote: > > When [re]starting dnsmasq I see the following in syslog:- > > > > Sep 4 17:01:08 dns systemd[1]: dnsmasq.service: Succeeded. > > Sep 4 17:01:08 dns

Re: [Dnsmasq-discuss] What's this error in syslog mean?

2021-09-04 Thread Chris Green
On Sat, Sep 04, 2021 at 07:09:30PM +0200, john doe wrote: > On 9/4/2021 6:14 PM, Chris Green wrote: > > When [re]starting dnsmasq I see the following in syslog:- > > > > Sep 4 17:01:08 dns systemd[1]: dnsmasq.service: Succeeded. > > Sep 4 17:01:08 dns

Re: [Dnsmasq-discuss] Details of the --dhcp-optsdir= option

2021-09-04 Thread Chris Green
On Sat, Sep 04, 2021 at 03:34:59PM +0100, Ed W wrote: > On 04/09/2021 12:07, Chris Green wrote: > > On Sat, Sep 04, 2021 at 11:29:32AM +0100, Ed W wrote: > >> On 04/09/2021 09:15, Chris Green wrote: > >> > >>> I was aiming to synchronise the lease file in /va

Re: [Dnsmasq-discuss] What's the "right" way to specify upstream servers?

2021-09-04 Thread Chris Green
On Sat, Sep 04, 2021 at 04:33:10PM +0200, Matus UHLAR - fantomas via Dnsmasq-discuss wrote: > On 03.09.21 17:13, Chris Green wrote: > > I know there probably isn't a "right" way to do this but, while I've > > been trying to sort out how to make my dns/dhcp more resilient

[Dnsmasq-discuss] What's this error in syslog mean?

2021-09-04 Thread Chris Green
benYouview What does that error from process 18992 mean "Too few arguments."? Does it indicate any sort of problem? -- Chris Green ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-b

Re: [Dnsmasq-discuss] Details of the --dhcp-optsdir= option

2021-09-04 Thread Chris Green
On Sat, Sep 04, 2021 at 11:29:32AM +0100, Ed W wrote: > On 04/09/2021 09:15, Chris Green wrote: > > >> This works if your DHCP server only hands out static addressing so the host > >> names are all listed in the /etc/hosts or addn hosts location on both > >&g

Re: [Dnsmasq-discuss] Details of the --dhcp-optsdir= option

2021-09-04 Thread Chris Green
On Fri, Sep 03, 2021 at 02:32:06PM -0700, Michael wrote: > On 9/3/21 1:23 PM, Chris Green wrote: > > If I have set dhcp-optsdir in /etc/dnsmasq.conf and add a file to the > > directory it points to I assume any extra configuration in the added > > file will 'just happen

Re: [Dnsmasq-discuss] Details of the --dhcp-optsdir= option

2021-09-04 Thread Chris Green
is that I need to change server B's IP address to that of server A. It might actually be easier/quicker to add the second IP in promiscuous mode (or run dnsmasq in a docker container in macvlan mode, but this adds a whole layer of complexity, especially as the servers will probably be diffe

[Dnsmasq-discuss] Details of the --dhcp-optsdir= option

2021-09-03 Thread Chris Green
system while I fix 192.168.1.2. -- Chris Green ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

[Dnsmasq-discuss] What's the "right" way to specify upstream servers?

2021-09-03 Thread Chris Green
y to do it? etc. The /etc/resolv.conf is written by /etc/init.d/dnsmasq and is, I believe, correct so that dnsmasq does local cacheing. However I'm not sure about the upstream servers in /etc/dhcpcd.conf including the local host as well. -- Chris Green ___

Re: [Dnsmasq-discuss] Questions about DHCP persistence and lease times

2021-09-03 Thread Chris Green
do I configure dnsmasq to give two DNS server addresses? 2 - Will only actually having one listening cause any delay? -- Chris Green ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] Questions about DHCP persistence and lease times

2021-09-03 Thread Chris Green
On Fri, Sep 03, 2021 at 12:08:20PM +0100, Ed W wrote: > On 03/09/2021 11:31, Chris Green wrote: > > Two questions really:- > > > > Is the file /var/lib/misc/dnsmasq.leases the only place where > > dnsmasq keeps DHCP/IP/Name information across restarts? I.e. if

[Dnsmasq-discuss] Questions about DHCP persistence and lease times

2021-09-03 Thread Chris Green
?) If a client's DHCP lease expires and it sends a new DHCP request out, which fails, will it continue to use the old values or will it just die? I realise /var/lib/misc/dnsmasq.leases is not cast in stone and could be a different file but I'm sure it's clear what question I'm asking. -- Chris

Re: [Dnsmasq-discuss] How do others provide backup for their DNS? Ideas wanted

2021-09-02 Thread Chris Green
needed. > Thank you, that's brilliant. The bit I don't quite understand yet is:-     # 1. Join the public network so it's reachable by systems on our LAN     networks:   lan:     ipv4_address: 192.168.101.2 I couldn't see how to do this with docker but you've shown me how. I think we'd better shut-up now as this is drifting away from dnsmasq. -- Chris Green ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] Further thoughts/questions on failover

2021-09-02 Thread Chris Green
off letting my router provide DHCP, and DNS forwarding. No need for dnsmasq at all. -- Chris Green ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] Further thoughts/questions on failover

2021-09-02 Thread Chris Green
upgrade whilst the other continues to provide service. > Yes, I quite agree there. -- Chris Green ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

[Dnsmasq-discuss] Further thoughts/questions on failover

2021-09-02 Thread Chris Green
Pi and turn it on. -- Chris Green ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] How do others provide backup for their DNS? Ideas wanted

2021-09-01 Thread Chris Green
a daily cloned image of the dnsmasq server which can be plugged into backup hardware if the server fails. -- Chris Green ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo

[Dnsmasq-discuss] How do others provide backup for their DNS? Ideas wanted

2021-08-31 Thread Chris Green
Have a 'warm backup' dnsmasq running on another system. There is another Pi on the LAN and also a desktop server both of which are on all the time. How easy is it to replace one dnsmasq system with another on the LAN? Any other obvious ways? Thanks for any ideas. -- C

Re: [Dnsmasq-discuss] Monthly posting, man page

2021-03-06 Thread Chris Green
On Sat, Mar 06, 2021 at 10:42:46PM +0100, Geert Stappers via Dnsmasq-discuss wrote: > On Sat, Mar 06, 2021 at 08:12:30PM +0000, Chris Green wrote: > > On Sat, Mar 06, 2021 at 08:34:26PM +0100, Monthly posting wrote: > > > > > > The dnsmasq manual is feature complete

Re: [Dnsmasq-discuss] Monthly posting

2021-03-06 Thread Chris Green
expect to be able to find it at https://dnsmasq.org/ and (as far as I know) it isn't there. -- Chris Green ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] Can I tell dnsmasq not to use one isolated?address in a DHCP range

2020-12-26 Thread Chris Green
On Sat, Dec 26, 2020 at 03:13:40PM +, Alex Morris wrote: > On Sat, 26 Dec 2020, at 13:57, Chris Green wrote: > > Is it possible to tell dnsmasq not to use one IP address in a > > dhcp-range assignment? I have a user on my LAN who has set > > 192.168.1.121 in their syste

[Dnsmasq-discuss] Can I tell dnsmasq not to use one isolated address in a DHCP range

2020-12-26 Thread Chris Green
it's unlikely to get re-assigned but better safe than sorry) As a follow-up I guess that if I want dnsmasq to return a system name for 192.168.1.121 (which it hasn't assigned itself) I'll need to add it to /etc/hosts on the dnsmasq system. -- Chris Green

Re: [Dnsmasq-discuss] Rather basic question - how do you tell dnsmasq what upstream DNS servers to use?

2020-10-03 Thread Chris Green
On Sat, Oct 03, 2020 at 06:06:56PM +0200, Geert Stappers wrote: > On Sat, Oct 03, 2020 at 03:59:46PM +0100, Chris Green wrote: > > I'm feeling really silly, I've been using dnsmasq for several years > > running it on a dedicated Raspberry Pi on the LAN to provide local DNS. >

[Dnsmasq-discuss] Rather basic question - how do you tell dnsmasq what upstream DNS servers to use?

2020-10-03 Thread Chris Green
in the above configuration, e.g. a Google one and one from my ISP? -- Chris Green ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] DNSMasq slow.

2020-10-01 Thread Chris Green
NS you MUST ask > > for fqdns) your dnsmasq is not accepting as local > > other possibility I can think of is that clients searches for records > while ipv6 addresses aren't in your hosts table I think that was one of the issues I had though it was muddied by systemd-r

Re: [Dnsmasq-discuss] DNSMasq slow.

2020-10-01 Thread Chris Green
esolved, probably in the last 12 months or so. -- Chris Green ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] Howto reclaim all dhcp leases after router reboot

2020-09-25 Thread Chris Green
Technologies Inc. 192.168.1.114 oldbackup xx:xx:xx:xx:xx:xx MICRO-STAR INT'L CO.,LTD 192.168.1.121 DESKTOP-978VD5M xx:xx:xx:xx:xx:xx GIGA-BYTE TECHNOLOGY CO.,LTD. It's basically the output from the program arp-scan (available f

Re: [Dnsmasq-discuss] Is there a way to return an alias in preference to real host name?

2020-08-02 Thread Chris Green
On Sun, Aug 02, 2020 at 07:54:00PM +0200, john doe wrote: > On 8/2/2020 2:39 PM, Chris Green wrote: > > I have a couple of systems on my home LAN which have long, not very > > useful, names, e.g.:- > > > > DESKTOP-978VD5M - An MS Windows machine > >

[Dnsmasq-discuss] Is there a way to return an alias in preference to real host name?

2020-08-02 Thread Chris Green
)? -- Chris Green ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] Still investigating delay on first dns query - more info

2020-03-26 Thread Chris Green
On Thu, Mar 26, 2020 at 12:02:45PM +, Simon Kelley wrote: > On 23/03/2020 13:25, Chris Green wrote: > > > > I'm running dnsmasq version 2.76 on a Raspberry Pi. The systems > > seeing the delay when they send a query are (mostly) running xubuntu > > 19.10. > >

[Dnsmasq-discuss] Still investigating delay on first dns query - more info

2020-03-23 Thread Chris Green
any suggestions or workarounds that might help me fix this issue. I can easily add more debug flags or configuration if they might help. -- Chris Green ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http

Re: [Dnsmasq-discuss] DNS/host lookup delay, how to diagnose?

2020-02-20 Thread Chris Green
On Thu, Feb 20, 2020 at 09:22:05AM +, Chris Green wrote: > > P.S. > > Here is assumed that original poster found in manual page: > > > > --log-queries > > Log the results of DNS queries handled by dnsmasq. > > Yes, thanks, I'll be trying th

Re: [Dnsmasq-discuss] DNS/host lookup delay, how to diagnose?

2020-02-20 Thread Chris Green
On Thu, Feb 20, 2020 at 07:36:02AM +0100, Geert Stappers wrote: > On Wed, Feb 19, 2020 at 10:16:17PM +0000, Chris Green wrote: > > I have a small home LAN with a number of machines running (mostly) > > xubuntu versions 19,10 and 18.04. > > > > I have a local DNS/DHCP

[Dnsmasq-discuss] DNS/host lookup delay, how to diagnose?

2020-02-19 Thread Chris Green
am I getting that five second delay for the first request? How can I diagnose this? -- Chris Green ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] I've lost my ability to resolve local machine names without a domain suffix

2019-10-20 Thread Chris Green
On Sun, Oct 20, 2019 at 12:17:50PM +0200, john doe wrote: > On 10/20/2019 10:15 AM, Chris Green wrote: > > On Sun, Oct 20, 2019 at 08:59:03AM +0200, Geert Stappers wrote: > >> On Sat, Oct 19, 2019 at 10:21:26PM +0100, Chris Green wrote: > > I don't add any command lin

Re: [Dnsmasq-discuss] I've lost my ability to resolve local machine names without a domain suffix

2019-10-20 Thread Chris Green
On Sun, Oct 20, 2019 at 08:59:03AM +0200, Geert Stappers wrote: > On Sat, Oct 19, 2019 at 10:21:26PM +0100, Chris Green wrote: > > > > So why does my laptop have *two* "search zbmc.eu" lines in > > /etc/resolv.conf whereas other machines only have one? >

Re: [Dnsmasq-discuss] I've lost my ability to resolve local machine names without a domain suffix

2019-10-19 Thread Chris Green
On Sat, Oct 19, 2019 at 10:21:21PM +0200, Geert Stappers wrote: > On Sat, Oct 19, 2019 at 09:02:19PM +0100, Chris Green wrote: > > > > > > > > I've suddenly lost the ability to resolve local machine names without > > > > a domain suffix, e.g.:- >

Re: [Dnsmasq-discuss] I've lost my ability to resolve local machine names without a domain suffix

2019-10-19 Thread Chris Green
On Sat, Oct 19, 2019 at 09:00:27PM +0200, Geert Stappers wrote: > On Sat, Oct 19, 2019 at 07:31:49PM +0100, Chris Green wrote: > > I've run dnsmasq for several years on my small home LAN. I'm running > > dnsmasq on a raspberry-pi and most of the client machines on the LAN > &g

[Dnsmasq-discuss] I've lost my ability to resolve local machine names without a domain suffix

2019-10-19 Thread Chris Green
is free software, and you are welcome to redistribute it under the terms of the GNU General Public License, version 2 or 3. chris@newdns$ I don't *think* I've changed anything in /etc/dnsmasq.conf recently. Help!! :-) -- Chris Green ___ Dnsmasq

Re: [Dnsmasq-discuss] Local dnsmasq server not utilized by Ubuntu

2019-08-04 Thread Chris Green
dnsmasq IP server as DNS. systemd-resolve is irrelevant to the OP's question, it provides local 'on the machine' DNS caching. What the OP wants is 'local on his LAN' DNS (at least I'm pretty sure that's what he wants). He needs to turn off whatever is doing DHCP for the LAN and get dnsmasq

Re: [Dnsmasq-discuss] Local dnsmasq server not utilized by Ubuntu

2019-08-04 Thread Chris Green
asq. If the above doesn't work then keep asking questions, with more detailed information about your set-up, and I'm sure answers will be forthcoming. -- Chris Green ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://

Re: [Dnsmasq-discuss] Local dnsmasq server not utilized by Ubuntu

2019-08-04 Thread Chris Green
er. > > > > https://askubuntu.com/questions/2321/what-is-the-proper-way-to-change-the-dns-ip > That doesn't really address the OP's problem. He wants to have a system running dnsmasq to provide local DNS for his LAN (at least I *think* that's what he's asking for). My othe

Re: [Dnsmasq-discuss] Some MAC addresses recognised, others not, in dhcp lines

2019-08-04 Thread Chris Green
On Sat, Aug 03, 2019 at 11:36:25PM +0200, Geert Stappers wrote: > On Sat, Aug 03, 2019 at 09:50:44PM +0100, Chris Green wrote: > > I'm running dnsmasq version 2.76 on a raspberry pi to provide DNS and > > DHCP services on my LAN. > > > > I have some dhcp-host lin

[Dnsmasq-discuss] Some MAC addresses recognised, others not, in dhcp lines

2019-08-03 Thread Chris Green
, is this the only way of handling this? -- Chris Green ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

[Dnsmasq-discuss] Strategies for DNS and DHCP backup

2019-04-05 Thread Chris Green
. Is there a straightforward way of having a secondary DHCP and DNS server on a LAN? -- Chris Green ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

[Dnsmasq-discuss] What does this 'wrong server-ID' message mean?

2019-02-05 Thread Chris Green
) 192.168.1.100 7c:67:a2:57:6c:78 Feb 5 21:37:14 dns dnsmasq-dhcp[385]: DHCPDISCOVER(eth0) 7c:67:a2:57:6c:78 So what's happening around that DHCPNAK message? -- Chris Green ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http

Re: [Dnsmasq-discuss] DHCP problem when moving from one WiFi SSID to another

2018-12-27 Thread Chris Green
On Thu, Dec 27, 2018 at 08:26:25AM +0100, john doe wrote: > On 12/26/2018 6:58 PM, Chris Green wrote: > > I have a large[ish[ house and to provide good WiFi throughout I run > > two Draytek routers. The 'main' one is a Vigor 2860n which connects > > to the internet by

  1   2   >