Re: [Dnsmasq-discuss] what is [Discover, Offer...] called?

2023-03-02 Thread Geert Stappers
On Tue, Feb 28, 2023 at 04:33:03PM -0800, Eric Fahlgren wrote: > On Tue, Feb 28, 2023 at 3:53 PM Carl Karsten wrote: > > > In an effort to name variables and have understandable conversations, > > I don't know what these things are called: > > > > 82 #define DHCPDISCOVER 1 > > 83

Re: [Dnsmasq-discuss] what is [Discover, Offer...] called?

2023-02-28 Thread Eric Fahlgren
On Tue, Feb 28, 2023 at 3:53 PM Carl Karsten wrote: > In an effort to name variables and have understandable conversations, > I don't know what these things are called: > > 82 #define DHCPDISCOVER 1 > 83 #define DHCPOFFER2 > 84 #define DHCPREQUEST 3 >

[Dnsmasq-discuss] what is [Discover, Offer...] called?

2023-02-28 Thread Carl Karsten
In an effort to name variables and have understandable conversations, I don't know what these things are called: 82 #define DHCPDISCOVER 1 83 #define DHCPOFFER2 84 #define DHCPREQUEST 3 85 #define DHCPDECLINE 4 86 #define DHCPACK

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

2022-10-16 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
On 16.10.22 13:34, Chris Green wrote: I have been moving some domains around on my hosting provider and for one I'm getting the following rather strange response to a 'host' command:- chris$ host www.jacquibennett.com www.jacquibennett.com is an alias for jacquibennett.com.

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 response to a 'host' > >

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

2022-10-16 Thread Geert Stappers via Dnsmasq-discuss
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 response to a 'host' > command:- > > chris$ host www.jacquibennett.com > www.jacquibennett.com is an alias

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

2022-10-16 Thread Chris Green
I have been moving some domains around on my hosting provider and for one I'm getting the following rather strange response to a 'host' command:- chris$ host www.jacquibennett.com www.jacquibennett.com is an alias for jacquibennett.com. jacquibennett.com has address 92.205.12.16

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

2021-09-29 Thread Petr Menšík
I cannot answer this for Ubuntu, but on Fedora installation of dnsmasq does not disable anything. I think systemd-resolved it the default and is enabled on default. Whereas dnsmasq is just a service, which has to be enabled manually. Then systemd-resolved has to be disabled manually. Then

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. > > > > Does anyone here know

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

2021-09-28 Thread Simon Kelley
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. > > Does anyone here know what happens if/when I install dnsmasq? Is the > installation process clever

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

2021-09-28 Thread Chris Green
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. Does anyone here know what happens if/when I install dnsmasq? Is the installation process clever enough to reconfigure and/or turn off the right

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

2021-09-02 Thread NgTech LTD
On alpine linux the installation contains: https://pkgs.alpinelinux.org/contents?branch=edge=dnsmasq=x86=main Eliezer בתאריך יום ה׳, 2 בספט׳ 2021, 14:41, מאת Chris Green ‏: > Further to my recent question about providing some sort of backup if > a system running dnsmasq fails, what files need

Re: [Dnsmasq-discuss] what is 'next-server' ? is it dhcp-option 66?

2021-06-27 Thread Bino Oetomo
Dear Geert Stappers On Sun, Jun 27, 2021 at 4:31 PM Geert Stappers via Dnsmasq-discuss < dnsmasq-discuss@lists.thekelleys.org.uk> wrote: > > > OK, it got implemented well. > > > with your helps > > > > -- > > > Silence is hard to parse > > > > > > > > Thankyou Geert Stappers, > > I really

Re: [Dnsmasq-discuss] what is 'next-server' ? is it dhcp-option 66?

2021-06-27 Thread Geert Stappers via Dnsmasq-discuss
On Sun, Jun 27, 2021 at 03:06:14PM +0700, Bino Oetomo wrote: > On Sun, Jun 27, 2021 at 12:03 AM Geert Stappers wrote: > > On Sat, Jun 26, 2021 at 02:58:16PM +0700, Bino Oetomo wrote: > > > On Sat, Jun 26, 2021 at 1:24 PM Geert Stappers wrote: > > > > On Sat, Jun 26, 2021 at 09:55:01AM +0700, Bino

Re: [Dnsmasq-discuss] what is 'next-server' ? is it dhcp-option 66?

2021-06-27 Thread Bino Oetomo
On Sun, Jun 27, 2021 at 12:03 AM Geert Stappers via Dnsmasq-discuss < dnsmasq-discuss@lists.thekelleys.org.uk> wrote: > On Sat, Jun 26, 2021 at 02:58:16PM +0700, Bino Oetomo wrote: > > On Sat, Jun 26, 2021 at 1:24 PM Geert Stappers wrote: > > > On Sat, Jun 26, 2021 at 09:55:01AM +0700, Bino

Re: [Dnsmasq-discuss] what is 'next-server' ? is it dhcp-option 66?

2021-06-26 Thread Geert Stappers via Dnsmasq-discuss
On Sat, Jun 26, 2021 at 02:58:16PM +0700, Bino Oetomo wrote: > On Sat, Jun 26, 2021 at 1:24 PM Geert Stappers wrote: > > On Sat, Jun 26, 2021 at 09:55:01AM +0700, Bino Oetomo wrote: > > > Dear All. > > > > > Is 'next-server' different from dhcp-option-66? > > > > Yes, they are two different

Re: [Dnsmasq-discuss] what is 'next-server' ? is it dhcp-option 66?

2021-06-26 Thread Bino Oetomo
Dear Geert Stappers I really appreciate your help On Sat, Jun 26, 2021 at 1:24 PM Geert Stappers via Dnsmasq-discuss < dnsmasq-discuss@lists.thekelleys.org.uk> wrote: > On Sat, Jun 26, 2021 at 09:55:01AM +0700, Bino Oetomo wrote: > > Dear All. > > > Is 'next-server' different from

Re: [Dnsmasq-discuss] what is 'next-server' ? is it dhcp-option 66?

2021-06-26 Thread Geert Stappers via Dnsmasq-discuss
On Sat, Jun 26, 2021 at 09:55:01AM +0700, Bino Oetomo wrote: > Dear All. Hello, > I have 3 Virtualbox guest. > A. tftp-server DNSMASQ v.2.80 with IP address 10.10.254.1 > B. dhcp-server DNSMASQ v.280 with IP address 10.10.254.2 and 10.10.253.1 > (This one facing IPXE client) > C. IPXE client

[Dnsmasq-discuss] what is 'next-server' ? is it dhcp-option 66?

2021-06-25 Thread Bino Oetomo
Dear All. I have 3 Virtualbox guest. A. tftp-server DNSMASQ v.2.80 with IP address 10.10.254.1 B. dhcp-server DNSMASQ v.280 with IP address 10.10.254.2 and 10.10.253.1 (This one facing IPXE client) C. IPXE client When I config dhcp server with: 'dhcp-boot=lpxelinux.0,server.name,10.10.254.1'

Re: [Dnsmasq-discuss] What it is

2020-03-17 Thread Geert Stappers
On Tue, Mar 17, 2020 at 09:08:15AM -0500, Sasha Litvak wrote: > On Tue, Mar 17, 2020, 1:48 AM Geert Stappers wrote: > > On Mon, Mar 16, 2020 at 08:31:17PM -0500, Sasha Litvak wrote: > > > ... > > > We are using dnsmasq on our servers as a caching dns solution. > > > ... > > > dnsmasq handles

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

2019-02-05 Thread Chris Green
I'm having a minor problem with my laptop and 'roaming WiFi', I've just noticed the following sequence in syslog on the system that runs as my DHCP/DNS server running dnsmasq:- Feb 5 21:32:52 dns dnsmasq-dhcp[385]: DHCPDISCOVER(eth0) 00:28:f8:3d:3b:aa Feb 5 21:32:52 dns

Re: [Dnsmasq-discuss] what do the contents of /var/lib/misc/dnsmasq.leases mean?

2019-01-09 Thread Simon Kelley
My guess is that the two copies of dnsmasq that are configured to do DHCP are using the same leases file, which is an all-bets-are-off situation. Using the --dhcp-leasefile option to give them separate files will at least give you a chance of making your config work. Cheers, Simon. On

Re: [Dnsmasq-discuss] what do the contents of /var/lib/misc/dnsmasq.leases mean?

2019-01-03 Thread Sean Kelly
Sure! It's a long story, but perhaps interesting. I got a quad core 2.42 GHz, 8GB ram 128GB SSD WIFI, dual nic, Thin Mini PC off Amazon that I had intended to use as my home router running pfsense. I have really crappy DSL at home with an average

Re: [Dnsmasq-discuss] what do the contents of /var/lib/misc/dnsmasq.leases mean?

2019-01-03 Thread Simon Kelley
The leftmost 0 means that the leases are infinite, they never expire, which might explain why you're running out of leases. There can be duplicate leases per MAC address, but there should never be duplicate leases for an IP address. So I'm interested in finding out how you've contrived this

Re: [Dnsmasq-discuss] what do the contents of /var/lib/misc/dnsmasq.leases mean?

2019-01-02 Thread john doe
On 1/2/2019 5:01 AM, Sean Kelly wrote: > when I cat the file I see mutiple entries for the same MAC address, what > does this mean? > > 0 98:de:d0:bb:11:0c 192.168.0.10 * 01:98:de:d0:bb:11:0c > 0 98:de:d0:bb:11:0c 192.168.0.10 * 01:98:de:d0:bb:11:0c > 0 98:de:d0:2c:0e:4c 192.168.0.20 *

[Dnsmasq-discuss] what do the contents of /var/lib/misc/dnsmasq.leases mean?

2019-01-01 Thread Sean Kelly
when I cat the file I see mutiple entries for the same MAC address, what does this mean? 0 98:de:d0:bb:11:0c 192.168.0.10 * 01:98:de:d0:bb:11:0c 0 98:de:d0:bb:11:0c 192.168.0.10 * 01:98:de:d0:bb:11:0c 0 98:de:d0:2c:0e:4c 192.168.0.20 * 01:98:de:d0:2c:0e:4c 0 00:1a:62:01:17:cf 192.168.0.252 *

[Dnsmasq-discuss] What is memory usage per cached dns address

2018-07-25 Thread Urgen Sherpa
Hello :) Any idea on memory usage per cached dns address ? Lets say if i have 500,000 cache size(and if cache is full) how much memory is expected to be used on linux server with spare 160G memory? Currently when cachesize is set to 50, the ps aux RSS is 2500kB with below logs Jul 25 17:41:54

Re: [Dnsmasq-discuss] What does os02 mean here?

2016-07-24 Thread Simon Kelley
On 22/07/16 14:59, /dev/rob0 wrote: > On Fri, Jul 22, 2016 at 07:46:50PM +0800, 水静流深 wrote: >> There is a line in dnsmasq configuration file. >> >> dhcp-host=00:0C:29:5E:F2:6F,192.168.1.201,os02 >> >> What does os02 mean here? > > That's the hostname associated with the client. Even if the

Re: [Dnsmasq-discuss] What does os02 mean here?

2016-07-22 Thread /dev/rob0
On Fri, Jul 22, 2016 at 07:46:50PM +0800, 水静流深 wrote: > There is a line in dnsmasq configuration file. > > dhcp-host=00:0C:29:5E:F2:6F,192.168.1.201,os02 > > What does os02 mean here? That's the hostname associated with the client. Even if the client reports a different hostname when

[Dnsmasq-discuss] What does os02 mean here?

2016-07-22 Thread ????????
There is a line in dnsmasq configuration file. dhcp-host=00:0C:29:5E:F2:6F,192.168.1.201,os02 What does os02 mean here?___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk

[Dnsmasq-discuss] What is the max tags count in dnsmasq?

2016-04-14 Thread zhi
Hi, all. As we all know, we can set tags in dnsmasq configuration files. And I have a small question. What is the max tags count in dnsmasq? 65535? Thanks Zhi Chang ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk

Re: [Dnsmasq-discuss] What if external DNS unreachable or timed out

2015-02-14 Thread Nikolay P
@lists.thekelleys.org.uk Sent: Thursday, February 12, 2015 10:13:40 PM GMT -05:00 US/Canada Eastern Subject: Re: [Dnsmasq-discuss] What if external DNS unreachable or timed out On Thu, Feb 12, 2015 at 08:43:20PM -0500, Nikolay P wrote: I am wondering what will happen if none of the external DNS servers

Re: [Dnsmasq-discuss] What if external DNS unreachable or timed out

2015-02-14 Thread Simon Kelley
: Re: [Dnsmasq-discuss] What if external DNS unreachable or timed out On Thu, Feb 12, 2015 at 08:43:20PM -0500, Nikolay P wrote: I am wondering what will happen if none of the external DNS servers are reachable or suddenly (for any reason) a DNS query to external servers timed out. Will Dnsmasq

Re: [Dnsmasq-discuss] What if external DNS unreachable or timed out

2015-02-12 Thread /dev/rob0
On Thu, Feb 12, 2015 at 08:43:20PM -0500, Nikolay P wrote: I am wondering what will happen if none of the external DNS servers are reachable or suddenly (for any reason) a DNS query to external servers timed out. Will Dnsmasq reply to the client's request from cache? Assume that this

[Dnsmasq-discuss] What if external DNS unreachable or timed out

2015-02-12 Thread Nikolay P
The Dnsmasq home page says: The DNS subsystem provides a local DNS server for the network, with forwarding of all query types to upstream recursive DNS servers and cacheing of common record types (A, , CNAME and PTR, also DNSKEY and DS when DNSSEC is enabled). I am wondering what will

Re: [Dnsmasq-discuss] What s the dnsmasq/DHCP way to give a host a fixed IP?

2014-12-17 Thread Helmut Hullen
Hallo, Matthias, Du meintest am 17.12.14: I have a setup in which the DHCP range is 192.168.2.128 to 192.168.2.250, and I manually give some devices an IP in range 192.168.2.1 to 192.168.2.127, using the dhcp-host line. So that I can use the u32 traffic classifier to split traffic streams.

Re: [Dnsmasq-discuss] What s the dnsmasq/DHCP way to give a host a fixed IP?

2014-12-17 Thread Matthias Andree
Am 17.12.2014 um 09:38 schrieb Helmut Hullen: Hallo, Matthias, Du meintest am 17.12.14: I don't know one, but it should be in the interface address ranges that dnsmasq is responsible for. Sure? On my machines I define the dhcp-host IP-addresses outside the dhcp- range, and that works

Re: [Dnsmasq-discuss] What s the dnsmasq/DHCP way to give a host a fixed IP?

2014-12-16 Thread Matthias Andree
Am 16.12.2014 um 06:54 schrieb 五月: Greetings, I have a setup in which the DHCP range is 192.168.2.128 to 192.168.2.250, and I manually give some devices an IP in range 192.168.2.1 to 192.168.2.127, using the dhcp-host line. So that I can use the u32 traffic classifier to split traffic

Re: [Dnsmasq-discuss] What s the dnsmasq/DHCP way to give a host a fixed IP?

2014-12-15 Thread AJ Weber
*ex: dhcp-host=00:0c:29:ea:0d:a3,192.168.1.199* (so dhcp-host=MAC_ADDRESS,STATIC_IP ) That MAC address will always be given the same, explicit IP Address (which should be in the DHCP Range that dnsmasq is responsible for). -AJ On 12/15/2014 1:37 PM, Chris Green wrote: As per the subject,

Re: [Dnsmasq-discuss] What s the dnsmasq/DHCP way to give a host a fixed IP?

2014-12-15 Thread Chris Green
On Mon, Dec 15, 2014 at 02:07:46PM -0500, AJ Weber wrote: ex: dhcp-host=00:0c:29:ea:0d:a3,192.168.1.199 (so dhcp-host=MAC_ADDRESS,STATIC_IP ) That MAC address will always be given the same, explicit IP Address (which should be in the DHCP Range that dnsmasq is responsible for).

Re: [Dnsmasq-discuss] What s the dnsmasq/DHCP way to give a host a fixed IP?

2014-12-15 Thread 五月
story about why the static address should be in the DHCP range? ――五月 Date: Mon, 15 Dec 2014 14:07:46 -0500 From: awe...@comcast.net To: dnsmasq-discuss@lists.thekelleys.org.uk Subject: Re: [Dnsmasq-discuss] What s the dnsmasq/DHCP way to give a host a fixed IP? ex

[Dnsmasq-discuss] What IP to use for ad/track blocking?

2014-02-11 Thread Chris Green
I have a few entries in my dnsmasq.conf file to block some tracking sites, as follows:- address=/www.addthis.com/127.0.0.1 address=/googlesyndication.com/127.0.0.1 address=/google-analytics.com/127.0.0.1 address=/googleadservices.com/127.0.0.1

Re: [Dnsmasq-discuss] What IP to use for ad/track blocking?

2014-02-11 Thread Gabriel
I haven't tried it, but maybe 127.0.0.2 will do the trick. On Feb 11, 2014 4:40 PM, Chris Green c...@isbd.net wrote: I have a few entries in my dnsmasq.conf file to block some tracking sites, as follows:- address=/www.addthis.com/127.0.0.1 address=/googlesyndication.com/127.0.0.1

[Dnsmasq-discuss] What is the required configuration for enabling periodic RA's

2013-10-25 Thread Gordon Scott
Hi there, I'm trying to use dnsmasq to provide RA for stateless IPV6 configuration. Does anyone know the configuration required to get dnsmasq to send out RA's periodically? So far I seem to only see RA's be sent after a DHCP request occurs. I'm trying to set this up on a router that has a

Re: [Dnsmasq-discuss] What is the required configuration for enabling periodic RA's

2013-10-25 Thread Simon Kelley
On 25/10/13 16:28, Gordon Scott wrote: Hi there, I'm trying to use dnsmasq to provide RA for stateless IPV6 configuration. Does anyone know the configuration required to get dnsmasq to send out RA's periodically? So far I seem to only see RA's be sent after a DHCP request occurs. How are you

[Dnsmasq-discuss] What is dnsmasq-base 2.55-2+b1?

2010-12-10 Thread Ferenc Wagner
Hi Simon, There's a 2.55-2+b1 version of the dnsmasq-base binary package for i386 uploaded into Debian sid. Why is this? I couldn't find out myself... -- Thanks, Feri.

[Dnsmasq-discuss] What I thought was a clever idea with --dhcp-optsfile didn't work out.

2009-01-02 Thread John R. Graham
Hi. I had what I thought was a clever idea to get dnsmasq to re-read it's whole dnsmasq.conf file when it received a SIGHUP signal. I invoked dnsmasq with the following command line options: -i eth0 --conf-file=/etc/dnsmasq.once.conf The dnsmasq.once.conf file was basically empty except

[Dnsmasq-discuss] What is the order of resolution of wildcards?

2008-12-15 Thread Brent Cook
Say there are 2 static DHCP entries: dhcp-host=00:ff:aa:00:01:1c,net:host1 dhcp-host=00:ff:aa:00:*:*,net:hosts Are MAC address matches longest-match, or is it first match?