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

2020-03-23 Thread Chris Green
) I realise this probably isn't directly a dnsmasq problem but I'd really appreciate 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 __

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] Is there a way to return an alias in preference to real host name?

2020-08-02 Thread Chris Green
sing the ability to use the long, unmemorable, names as well)? -- Chris Green ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

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 > >

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

2020-09-25 Thread Chris Green
azon 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-sc

Re: [Dnsmasq-discuss] DNSMasq slow.

2020-10-01 Thread Chris Green
delays I saw amd systemd-resolved, 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] DNSMasq slow.

2020-10-01 Thread Chris Green
fqdns (because in DNS 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

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

2020-10-03 Thread Chris Green
o unrelated DNS servers 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] 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 loca

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

2020-12-26 Thread Chris Green
8.1.121 so 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

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

Re: [Dnsmasq-discuss] Monthly posting

2021-03-06 Thread Chris Green
x27;d 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] 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

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

2021-08-31 Thread Chris Green
m is how to keep the image up to date. 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

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

2021-09-01 Thread Chris Green
oots back to the 'main' server. One then has 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 h

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

2021-09-02 Thread Chris Green
On Wed, Sep 01, 2021 at 01:04:24PM -0700, Michael wrote: > On 9/1/21 11:45 AM, Chris Green wrote: > > Thanks for the replies. > > > > It does seem that any sort of live failover for DHCP and/or DNS turns > > out to be quite complex. > > > > I am thus t

[Dnsmasq-discuss] What files make a dnsmasq 'image'?

2021-09-02 Thread Chris Green
/dnsmasq.d/ # any files in here /var/lib/misc/dnsmasq.leases# is this useful? Anything else? -- Chris Green ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin

[Dnsmasq-discuss] Further thoughts/questions on failover

2021-09-02 Thread Chris Green
d be to plug the SD card into a non-dead 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] Further thoughts/questions on failover

2021-09-02 Thread Chris Green
enance. You can take one off-line to > update/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

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

2021-09-02 Thread Chris Green
27;d be better 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] How do others provide backup for their DNS? Ideas wanted

2021-09-02 Thread Chris Green
and it is ready if 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

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

2021-09-03 Thread Chris Green
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'

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

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

2021-09-03 Thread Chris Green
nal slow things down at all? So:- 1 - How 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

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

2021-09-03 Thread Chris Green
the "right" way 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 _

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

2021-09-03 Thread Chris Green
to it 'manually' and then I'll have a working 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

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

2021-09-04 Thread Chris Green
is is simpler as both dnsmasq configurations can be identical, the only issue 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 th

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 happ

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 > >>

[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] 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

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 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 syst

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 syst

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 is in configuration f

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 wit

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

2021-09-05 Thread Chris Green
'm going to try 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
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 sys

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. > > Looki

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 so

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 sys

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&

[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 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] How to provide DHCP for WiFi hotspot?

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

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 get I

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

2021-12-02 Thread Chris Green
this strategy? ... or even minor holes 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

[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 -- C

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

2021-12-04 Thread Chris Green
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? -- Chris Green ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.

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? >

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

2021-12-06 Thread Chris Green
aptop can 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

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

2022-02-04 Thread Chris Green
have pretty much live copies of files synchronised 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

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

2022-02-04 Thread Chris Green
d IP address for the changed system. How do I get systems to forget the old address? -- 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] 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 clien

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 se

[Dnsmasq-discuss] Questions about /etc/hosts

2022-02-10 Thread Chris Green
masq 192.168.1.3 esprimo zbmc.eu # 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 ___ Dnsm

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

2022-02-10 Thread Chris Green
by systemd) does it read the dnsmasq.leases file? -- 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] 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

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] Questions about /etc/hosts

2022-02-11 Thread Chris Green
nk* I probably 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 a

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

2022-02-11 Thread Chris Green
96 ;; 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

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

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š

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

2022-02-13 Thread Chris Green
to get the result 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://lis

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

2022-05-29 Thread Chris Green
tream servers. /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 _

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

2022-05-29 Thread Chris Green
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:- > > >

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

2022-05-30 Thread Chris Green
q comment and say "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

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

2022-05-30 Thread Chris Green
home 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 comm

[Dnsmasq-discuss] dnsmasq has started crashing rather frequently

2022-09-05 Thread Chris Green
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-discu

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] What does this reply to 'host' mean?

2022-10-16 Thread Chris Green
ss 92.205.12.16 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

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

[Dnsmasq-discuss] Problem with 127.0.1.1 versus 127.0.0.1

2023-07-16 Thread Chris Green
's all. The /etc/default/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 onl

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

2023-07-17 Thread Chris Green
ig jacquibennett.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: > &g

[Dnsmasq-discuss] Syntax for multiple listen addresses

2023-07-17 Thread Chris Green
.0.0.1 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

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

2023-07-17 Thread Chris Green
usly have something very wrong 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

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

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

2023-07-17 Thread Chris Green
CP though? 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

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

2023-12-13 Thread Chris Green
to diagnose what's wrong? -- 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] 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&#

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

2023-12-14 Thread Chris Green
ow this is a slightly non-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

[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] Different behaviour with "interface=" on two almost identical systems

2024-03-28 Thread Chris Green
So why are they acting 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.

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

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:- >

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

2024-06-04 Thread Chris Green
file 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.u

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

2024-06-04 Thread Chris Green
resolv-file=/run/NetworkManager/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

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 dnsma

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

2024-06-06 Thread Chris Green
Or 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 > system

[Dnsmasq-discuss] One LAN host reported differently for some reason - why?

2011-12-01 Thread Chris Green
ine 'chris'). -- Chris Green

Re: [Dnsmasq-discuss] One LAN host reported differently for some reason - why?

2011-12-01 Thread Chris Green
On Thu, Dec 01, 2011 at 03:41:45PM +, Simon Kelley wrote: > On 01/12/11 15:09, Chris Green wrote: > > reported differently for some reason:- > > > > chris$ host chris > > chris.zbmc.eu has address 192.168.1.4 > > chris$ host wiki > >

[Dnsmasq-discuss] Why doesn't this machine have a name?

2012-01-28 Thread Chris Green
esn't 192.168.1.99 have a name? Both test.zbmc.eu and laptop.zbmc.eu are running versions of xubuntu and they work perfectly OK. The only *very* slight difference with 192.168.1.99 is that its name is acer-aspire, would that '-' have any effect? -- Chris Green ___

Re: [Dnsmasq-discuss] Why doesn't this machine have a name?

2012-01-30 Thread Chris Green
On Mon, Jan 30, 2012 at 01:10:34PM +, Simon Kelley wrote: > On 28/01/12 15:08, Chris Green wrote: > > >So why doesn't 192.168.1.99 have a name? Both test.zbmc.eu and > >laptop.zbmc.eu are running versions of xubuntu and they work perfectly > >OK. The only

Re: [Dnsmasq-discuss] Why doesn't this machine have a name?

2012-01-30 Thread Chris Green
On Mon, Jan 30, 2012 at 04:28:34PM +, Simon Kelley wrote: > On 30/01/12 15:43, Chris Green wrote: > > >... I think I may have found the problem, the system that *doesn't* > >provide a name is running wicd rather than network-manager. Maybe wicd > >doesn&#x

Re: [Dnsmasq-discuss] Why doesn't this machine have a name?

2012-01-30 Thread Chris Green
On Mon, Jan 30, 2012 at 12:25:38PM -0500, Weedy wrote: > On 30/01/12 12:09 PM, Chris Green wrote: > > On Mon, Jan 30, 2012 at 04:28:34PM +, Simon Kelley wrote: > >> On 30/01/12 15:43, Chris Green wrote: > >> > >>> ... I think I may have foun

Re: [Dnsmasq-discuss] hosts resolving to public addresses not private

2012-02-17 Thread Chris Green
uters behind a NAT router like yours. However all my computers are set up to get both DHCP and DNS services from a single machine running dnsmasq. Most (but not quite all) linux and windows systems will correctly provide their name to the DHCP server when obtaining an IP address. -- Chris Gree

Re: [Dnsmasq-discuss] hosts resolving to public addresses not private

2012-02-17 Thread Chris Green
On Fri, Feb 17, 2012 at 11:38:57AM -0500, Brent S. Elmer Ph.D. wrote: > On Fri, 2012-02-17 at 15:59 +0000, Chris Green wrote: > > > > > > > What I would like to do is set up dnsmasq to resolve local/private hosts > > > to local/private addresses not public

[Dnsmasq-discuss] Why doesn't this machine name get propagated round my LAN?

2012-05-08 Thread Chris Green
x27; has a static IP and thus dnsmasq isn't setting its address? If so how do I get dnsmasq to provide DNS lookup for 'ben'? -- Chris Green ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

[Dnsmasq-discuss] System tries to get its address by DHCP before dnsmasq starts up - how to stop it?

2012-10-04 Thread Chris Green
ot of time waiting for things to time out and produces various error messages on the way. How do I configure the system so that it doesn't do this? -- Chris Green ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.th

Re: [Dnsmasq-discuss] System tries to get its address by DHCP before dnsmasq starts up - how to stop it?

2012-10-04 Thread Chris Green
On Thu, Oct 04, 2012 at 10:23:33AM +0100, Chris Green wrote: > I have a little server system running dnsmasq version 2.59 under Ubuntu > 12.04 (I have just upgraded it from Ubuntu 10.04). > > While booting it tries to get its network configuration (using DHCP > presumably) from

  1   2   3   >