Re: [Dnsmasq-discuss] Regarding: dnsmasq "dynamic-hosts" ignores /16 IPv4 addresses on interfaces entirely

2022-10-09 Thread Mark Dietzer
on.info dnsmasq[1]: query[A] ntp.foxden.network from 10.2.10.4 Sun Oct 9 11:33:20 2022 daemon.info dnsmasq[1]: config ntp.foxden.network is NODATA-IPv4 On Sun, Oct 9, 2022, at 01:07, Geert Stappers wrote: > On Sat, Oct 08, 2022 at 06:48:03PM -0700, Mark Dietzer wrote: > > It seems dnsma

Re: [Dnsmasq-discuss] [BUG] dnsmasq "dynamic-hosts" ignores /16 IPv4 addresses on interfaces entirely

2022-10-08 Thread Mark Dietzer
? Or am I completely wrong here? Regards, Mark "Doridian" Dietzer ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] [BUG] dnsmasq "dynamic-hosts" ignores /16 IPv4 addresses on interfaces entirely

2022-10-08 Thread Mark Dietzer
I have poked around and it seems, instead, the correct fix is "== 0" (not as I initially thought). A patch I applied to my local dnsmasq that makes it work perfectly in my network is below. Regards, Mark "Doridian" Dietzer diff --git a/src/network.c b/src/net

[Dnsmasq-discuss] [BUG] dnsmasq "dynamic-hosts" ignores /16 IPv4 addresses on interfaces entirely

2022-10-08 Thread Mark Dietzer
ubnet size works fine. Sorry if this reads a bit weirdly, this is my first time ever posting on a mailing list. Regards, Mark "Doridian" Dietzer ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekell

Re: [Dnsmasq-discuss] Leases file is not updated and dhcp-script is not called if Requested-IP is in the pool.

2021-08-27 Thread Vallevand, Mark K
Short follow-up question. If the client does not supply a hostname, what will be recorded in the lease file and passed to the script? Mark K Vallevand Unisys | 651-635-7708 | mark.vallev...@unisys.com THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is for

Re: [Dnsmasq-discuss] Leases file is not updated and dhcp-script is not called if Requested-IP is in the pool.

2021-08-27 Thread Vallevand, Mark K
WooHoo. Dhcp-authoritative did the trick! >From the fire, my bacon has been pulled. Thanks! Mark K Vallevand Unisys | 651-635-7708 | mark.vallev...@unisys.com THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is for use only by the intended recipient.

Re: [Dnsmasq-discuss] Leases file is not updated and dhcp-script is not called if Requested-IP is in the pool.

2021-08-27 Thread Vallevand, Mark K
ewer version. So, why is the lease file not getting updated? When the initial client request has a preferred ip outside the pool or is not included, it seems like things work as expected. Mark K Vallevand Unisys | 651-635-7708 | mark.vallev...@unisys.com THIS COMMUNICATION MAY CONTAIN CONF

[Dnsmasq-discuss] Leases file is not updated and dhcp-script is not called if Requested-IP is in the pool.

2021-08-26 Thread Vallevand, Mark K
ested address is outside the configured pool, the leases file is updated and the dhcp-script is called. What is the correct behavior if a requested address is not in the leases file? Shouldn't the dhcp-script be called? I'm using Ubuntu 18.04 dnamasq 2.79. Any ideas will be welc

Re: [Dnsmasq-discuss] Wildcard / catch all Mail eXchanger (MX)

2021-05-09 Thread Mark
On Mon, 10 May 2021 at 01:17, Matus UHLAR - fantomas via Dnsmasq-discuss < dnsmasq-discuss@lists.thekelleys.org.uk> wrote: > On 08.05.21 22:44, Mark wrote: > >Thanks for the suggestion Petr - have put a DNAT rule in place - does the > >job. :) > > at least unti

Re: [Dnsmasq-discuss] Wildcard / catch all Mail eXchanger (MX)

2021-05-08 Thread Mark
Thanks for the suggestion Petr - have put a DNAT rule in place - does the job. :) On Sat, 8 May 2021 at 06:33, Petr Menšík wrote: > Hi Mark, > > I don't think there exists way to do what you requested using dnsmasq. > > However, it might work to DNAT rule outgoing SMTP

[Dnsmasq-discuss] Wildcard / catch all Mail eXchanger (MX)

2021-05-07 Thread Mark
to provide responses only for specifically mail domains ("hostname") MX requests. Essentially, I believe I want to specify a wildcard as the "hostname" (really "mail domain"). I wondered if it's possible to deliver this functionality with the

Re: [Dnsmasq-discuss] Can I specify the DNS address returned by DHCP?

2021-02-04 Thread Vallevand, Mark K
Thanks. I really appreciate the quick reply. It works very nicely. Mark K Vallevand Unisys | 651-635-7708 | mark.vallev...@unisys.com THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is for use only by the intended recipient. If you received this in

[Dnsmasq-discuss] Can I specify the DNS address returned by DHCP?

2021-02-04 Thread Vallevand, Mark K
I don't want dnsmasq to do DNS. Nor do I want it to do any kind of forward or relay. I want to specify the address of my DNS to be returned as the giaddr in the DHCP offer. Can I do that? Mark K Vallevand Unisys | 651-635-7708 | <mailto:mark.vallev...@unisys.com>

Re: [Dnsmasq-discuss] space two point eighty one

2020-03-07 Thread Mark Grant
On Fri, 6 Mar 2020 23:38:46 +0100, Geert Stappers wrote: > On Fri, Mar 06, 2020 at 02:53:43PM +0000, Mark Grant wrote: > > On Thu, 5 Mar 2020 22:34:29 +, Simon Kelley wrote: > > > On 05/03/2020 21:05, Geert Stappers wrote: > > > > On Thu, Mar 05, 2

Re: [Dnsmasq-discuss] space two point eighty one

2020-03-06 Thread Mark Grant
ill see that trailing-space-only-lines are removed. > > > > > >> sed --in-place -e 's/^[ \t]*$//' src/*.c ; git diff | wc > > > > Lines that had only spaces or tabs got that white space removed. > > > > > >> sed --in-place -

[Dnsmasq-discuss] Initializing DNS

2018-11-16 Thread Mark Olbert
? I could put the fixed IP addresses in /etc/hosts. But I’ve resisted doing that because of concerns over someday accidentally changing the DHCP assignment in dnsmasq.conf and forgetting to update the corresponding entry in hosts (or vice versa). It feels kludgy. - Mark

[Dnsmasq-discuss] DNSMASQ Log Rotation Project

2018-11-10 Thread Mark Grant
-logrotate/wiki This location also details installation instructions if using AutoTools or for retrieving packages from Launchpad and Bintray. Thanks, Mark Grant ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http

Re: [Dnsmasq-discuss] Chainloading a more featureful iPXE from a limited iPXE

2018-11-06 Thread Mark Gardner
ing dnsmasq. Mark -- Mark Gardner -- smime.p7s Description: S/MIME Cryptographic Signature ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

[Dnsmasq-discuss] Chainloading a more featureful iPXE from a limited iPXE

2018-11-05 Thread Mark Gardner
g ipxe.iso instead of using the built-in iPXE. (But I would like to figure out how to do it strictly over the network.) Mark -- Mark Gardner -- smime.p7s Description: S/MIME Cryptographic Signature ___ Dnsmasq-discuss mailing list Dnsma

[Dnsmasq-discuss] Dnsmasq stops caching for a while on receive of failed or retried lookup?

2018-06-12 Thread Mark Fermor, HolidayExtras.com
scenario but it's the only thing that makes sense to me right now. I can accept a couple of failures for lookup here and there, but one failure (if i'm onto something that is), seems to then cause no cache hits for a large period of time? Thanks and Best, Mark ___

[Dnsmasq-discuss] Dnsmasq stops caching for a while on receive of failed or retried lookup?

2018-06-08 Thread Mark Fermor, HolidayExtras.com
it's the only thing that makes sense to me right now. I can accept a couple of failures for lookup here and there, but one failure (if i'm onto something that is), seems to then cause no cache hits for a large period of time? Thanks and Best, Mark ___

[Dnsmasq-discuss] DNS auto-update from DHCP hostname?

2018-04-16 Thread Mark Lehrer
Does dnsmasq have the ability to automatically add DHCP clients to DNS based on the client-supplied host name? I see there is a dyndns type of script in contrib, but it would be easier to have the dhcp part of dnsmasq do it if possible. Thanks ___ Dnsm

Re: [Dnsmasq-discuss] dnsmasq to provide public DNS service

2016-07-13 Thread Mark Steward
lease remember to set up port knocking. Or set up something sensible, like a VPN or tunneling over SSH. Mark On 14 Jul 2016 02:32, "Mark Steward" wrote: > I'm not sure about that conclusion. The overwhelming likelihood is that > your ISP is blocking UDP on port 53. This is ve

Re: [Dnsmasq-discuss] dnsmasq to provide public DNS service

2016-07-13 Thread Mark Steward
nets? Honeypots demonstrate that an open service on IPv4 will often be picked up in hours. Mark On 14 Jul 2016 01:57, "T o n g" wrote: > On Sun, 10 Jul 2016 21:50:03 +0200, Albert ARIBAUD wrote: > > > Regarding running the DNS on TCP alone: problem is, you might force the >

[Dnsmasq-discuss] dhcp-host match on uuid

2016-04-06 Thread Maule Mark
Hi: I have an application where it it would be useful to get hostsfile matches on client uuid (DHCP option 97).  In our specific use case, we have a node which can pxe boot off of a number of ports, only one of which will be active at a time.  Since gPXE/iPXE sends the node uuid as option 97, th

[Dnsmasq-discuss] --stop-dns-rebind throws out an entire response even when it contains valid (non-private) addresses

2015-08-23 Thread Mark Mentovai
Simon and friends, I’ve found that dnsmasq (I’m using 2.73) with --stop-dns-rebind enabled discards an entire DNS response even when only one of the addresses that it contains would constitute a possible rebind attack. I would have expected it to only discard the invalid address. I searched this

Re: [Dnsmasq-discuss] default lease time for dhcp-host entries ?

2013-12-17 Thread Maule Mark
Thanks Simon.  Will this work its way into a released version soon?  If not, are there canned instructions for how to generate an srpm given a clone of the repo? thanks Mark On Tuesday, December 17, 2013 10:32 AM, Simon Kelley wrote: On 16/12/13 21:37, Maule Mark wrote: >> okay,

Re: [Dnsmasq-discuss] default lease time for dhcp-host entries ?

2013-12-16 Thread Maule Mark
okay, thank you for checking.   On Monday, December 16, 2013 3:27 PM, Simon Kelley wrote: On 16/12/13 21:00, Maule Mark wrote: >> As an alternative to a fake tag to remove the empty field, would it work >> to declare a static dhcp-range in my configuration file to cover the

Re: [Dnsmasq-discuss] default lease time for dhcp-host entries ?

2013-12-16 Thread Maule Mark
As an alternative to a fake tag to remove the empty field, would it work to declare a static dhcp-range in my configuration file to cover the addresses that are managed by the hostsfile? On Monday, December 16, 2013 2:47 PM, Maule Mark wrote: I don't think our client is asking for a

Re: [Dnsmasq-discuss] default lease time for dhcp-host entries ?

2013-12-16 Thread Maule Mark
e. On Monday, December 16, 2013 2:28 PM, Simon Kelley wrote: On 16/12/13 19:36, Maule Mark wrote: >> I'm seeing an unexptected (to me) behavior when using a dnsmasq >> hostsfile and dhcp.  To start, my interface (pmi_if) is configured with >> a lease time of 1h

[Dnsmasq-discuss] default lease time for dhcp-host entries ?

2013-12-16 Thread Maule Mark
for client requests whose addresses which match a hoststfile entry? thanks Mark ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

[Dnsmasq-discuss] timing of dhcp-script for tftp downloads

2013-11-16 Thread Maule Mark
When is dhcp-script called after doing a tftp download?  Is that script invoked immediately, or is it queued operation that has an indeterminate delay between tftp completion and script start? Also, is there any way to know when a tftp download starts vs.ends? thanks Mark___

[Dnsmasq-discuss] dhcp-host matching question

2013-10-11 Thread Maule Mark
If I have dhcp-host directives which can result in multiple host matches, which matches will be applied - all, just the first, just the most specific, etc.? For example, say I have the following in a dhcp-hostsfile: 00:21:28:A1:CA:3A,set:host1match,host1,172.30.80.129 00:21:28:A1:F3:F2,host2,17

[Dnsmasq-discuss] resolv-file directive in dnsmasq.conf no longer working

2012-12-01 Thread Mark S Jones
Hi, I noticed that the resolv-file directive in the dnsmasq configuration file stopped working around version 2.60 (I know it used to work in 2.59). Fortunately, the command line option --resolv-file= still works. Am assuming this is a bug? Regards, Mark

Re: [Dnsmasq-discuss] Restrict dhcpd listening interfaces.

2012-04-05 Thread Mark Wu
defined behaviour. Cheers, Simon. Simon, Sorry for the late response. Now I can understand the behaviour of dnsmasq. Many thanks for your clear and detailed explanation. Mark Cheers Ed W ___ Dnsmasq-discuss mailing list Dnsmasq-d

[Dnsmasq-discuss] Restrict dhcpd listening interfaces.

2012-03-27 Thread Mark Wu
s on anly physical network interface. So do you think we could make the options "--listen-address" and "--interface" applied to dhcp service too like dns service in dnsmasq? Thanks! Mark. ___ Dnsmasq-discuss mailing list Dns

Re: [Dnsmasq-discuss] New user help, dhcp-hosts

2010-10-13 Thread Mark Goldman
Negative. The only line that contains ignore is commented out. #dhcp-ignore=#known > On Wed, Oct 13, 2010 at 4:12 PM, Mark Goldman wrote: > >> Additionally, if I add the line dhcp-host=mike to my dnsmasq.conf the ip >> address is assigned as expected. I forgot to put that

Re: [Dnsmasq-discuss] New user help, dhcp-hosts

2010-10-13 Thread Mark Goldman
u can just add in /etc/hosts : >> >> 10.10.10.1 mike >> >> and restart the service... >> >> have a look: http://bit.ly/9D2JzU http://bit.ly/a7DJ1e >> >> Though i strongly suggest you to make dnsmasq give ip addresses based on >> macaddress (For se

Re: [Dnsmasq-discuss] New user help, dhcp-hosts

2010-10-13 Thread Mark Goldman
ip addresses based on > macaddress (For security reasons...) > > > 2010/10/13 Mark Goldman > >> New user here, I spent several hours googling and came up empty handed. >> >> What I would like is for dnsmasq to hand out the ip address that is in >> /etc/hosts

[Dnsmasq-discuss] New user help, dhcp-hosts

2010-10-13 Thread Mark Goldman
New user here, I spent several hours googling and came up empty handed. What I would like is for dnsmasq to hand out the ip address that is in /etc/hosts for any host that claims that hostid. I would like to avoid having a dhcp-host=name line for each host that is in /etc/hosts in addition to hav

Re: [Dnsmasq-discuss] stop-dns-rebind and IPv6

2010-09-10 Thread Mark Cross
Jan 'RedBully' Seiffert wrote: > 2010/9/10 Mark Cross : > [snip] >> BEHAVE 64:ff9b::/96 "Well Known Prefix" > > Oh, drafts are also OK? No, not really, But should be given some consideration as it has been reserved in the IANA numbering

Re: [Dnsmasq-discuss] stop-dns-rebind and IPv6

2010-09-10 Thread Mark Cross
TEREDO 2001::/32 [RFC4380]. From: http://www.iana.org/assignments/iana-ipv6-special-registry/iana-ipv6-special-registry.xml BMWG 2001:0002::/48 ORCHID 2001:10::/28 -- Mark Cross

Re: [Dnsmasq-discuss] dnsmasq / dns server / iptables config glitch?

2009-11-24 Thread Mark Beierl
lving to localhost/127.0.0.1 (or 127.0.1.1 as the case may be), it is still the same as telling mysql to listen only to localhost, so that change made no real difference. You must tell mysql explicitly to listen to all addresses (0.0.0.0) with the bind-addresses listed above. Regards, Mark

Re: [Dnsmasq-discuss] dnsmasq / dns server / iptables config glitch?

2009-11-24 Thread Mark Beierl
mysql, so I can't point you in the right direction for configuration... Regards, Mark Adam Hardy wrote: You're right. The result from netstat was: tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 2557/mysqld after changing the bindaddress config in the mysql config as per the d

Re: [Dnsmasq-discuss] dnsmasq / dns server / iptables config glitch?

2009-11-23 Thread Mark Beierl
Silly thought but - is mysql configured to listen to 127.0.0.1 only? Something like sudo netstat -napt | grep 3306 ought to show if mysql is listening on 127.0.0.1:3306 or 0.0.0.0:3306. Regards, Mark Adam Hardy wrote: Thought I had a simple problem but I don't really find anything rel

Re: [Dnsmasq-discuss] dnsmasq as DHCP server on vmware client machine

2009-10-05 Thread Mark Beierl
I use dnsmasq 2.50-1 with Vmware Workstation 6.5 and do not have any problems with vmnets. The only difference I see is that I do not use bind-interfaces... Regards, Mark Hisashi Hashimoto wrote: Hi, I am using Dnsmasq 2.45, a little bit old on my Local distribution. I am trying to use

[Dnsmasq-discuss] SOA records?

2009-06-08 Thread Mark Beierl
for me please?  I also don't know how important it is to have an SOA record for a locally maintained network (ie: mydomain.local). Regards, Mark

[Dnsmasq-discuss] Network change basics - Advice

2007-01-18 Thread Mark Adams
one forsee any possible issues with this? Regards, Mark

Re: [Dnsmasq-discuss] DHCP - multiple ranges on the same interface

2005-01-07 Thread Mark Wiater
cular host and it will then reject attempts by that host to use a > different address. Is that what you need? Again, I was trying to avoid having a unique dnsmasq.conf for each endpoint. Allocating an address from a block associated with a netid would be ideal. > > > Cheers, > > Simon. > BTW, good work on dnsmasq. And thanks. Mark

[Dnsmasq-discuss] DHCP - multiple ranges on the same interface

2005-01-07 Thread Mark Wiater
IP in the reserved space. One more data point, the host that is getting the address in the reserved space is setting option 50 with ip address 172.16.1.13, is it possible to tell dnsmasq to ignore hosts that request a specific address? I'm using 2.16. thanks Mark