Re: [Dnsmasq-discuss] [PATCH] Delay DHCP replies for Raspberry Pi clients

2017-03-29 Thread Albert ARIBAUD
Hi again, Le Wed, 29 Mar 2017 17:24:45 +0200 Floris Bos a écrit: > Hi, > > On 03/29/2017 05:02 PM, Albert ARIBAUD wrote: > > Le Wed, 29 Mar 2017 14:48:48 +0200 > > Floris Bos a écrit: > > > >> The PXE boot firmware implementation of the Raspberry Pi 3 >

Re: [Dnsmasq-discuss] Debugging dnsmasq on Ubuntu

2017-03-29 Thread Albert ARIBAUD
Hi Joel, Le Wed, 29 Mar 2017 09:43:33 -0500 Joel Whitehouse a écrit: > I'm running ubuntu 14, which uses dnsmasq as a local resolver on > 127.0.1.1. When I issue a dig query, dig informs me it's using > 127.0.1.1 as its resolver: > > ;; Query time: 3 msec > ;; SERVER: 127.0.1.1#53(127.0.1.1)

Re: [Dnsmasq-discuss] [PATCH] Delay DHCP replies for Raspberry Pi clients

2017-03-29 Thread Albert ARIBAUD
Hi, Le Wed, 29 Mar 2017 14:48:48 +0200 Floris Bos a écrit: > The PXE boot firmware implementation of the Raspberry Pi 3 > has a bug causing it to fail if it receives replies > instantly. > > As a workaround ensure there is a minimum delay of one > second if the client is a Pi. > > On Linux it

Re: [Dnsmasq-discuss] No more random source port

2017-03-21 Thread Albert ARIBAUD
Bonjour, Le Tue, 21 Mar 2017 14:30:28 +0200 Risto Suominen a écrit: > Zyxel doesn't have a problem with same source port: > > https://www.dropbox.com/s/wxdl480hwr39j12/dns-03.pcap?dl=1 > > Same commands as in pcap-01. > > Risto I can't see why your dnsmasq would only use one port. This would

Re: [Dnsmasq-discuss] No more random source port

2017-03-20 Thread Albert ARIBAUD
Hi again Risto, Le Mon, 20 Mar 2017 23:27:07 +0200 Risto Suominen a écrit: > This is the pcap against TP-link: > > https://www.dropbox.com/s/c1edxlpmar8euvi/dns-02.pcap?dl=1 > > This time I only did: > > 1) 'host google.com 192.168.1.1' > 2) 'host google.fi 192.168.1.1' > > The rest of the r

Re: [Dnsmasq-discuss] No more random source port

2017-03-20 Thread Albert ARIBAUD
Hi Risto, Le Mon, 20 Mar 2017 21:22:55 +0200 Risto Suominen a écrit: > 2017-03-20 21:05 UTC+02.00, Albert ARIBAUD : > > > > (I don't see the point of this restruction but hey, that's TP-Link's > > choice.) > > > I might use the word 'bug&

Re: [Dnsmasq-discuss] No more random source port

2017-03-20 Thread Albert ARIBAUD
Bonjour, Le Mon, 20 Mar 2017 20:54:51 +0200 Risto Suominen a écrit: > Hi Albert, > > 2017-03-20 20:30 UTC+02.00, Albert ARIBAUD : > > > > I don't kow about dnsmasq per se, but the range of ports an > > application can use is controlled by the kernel -- on my 16

Re: [Dnsmasq-discuss] No more random source port

2017-03-20 Thread Albert ARIBAUD
Hi Risto, Le Mon, 20 Mar 2017 19:33:01 +0200 Risto Suominen a écrit: > Hi, > > I'm running Lubuntu 16.04 with dnsmasq 2.75-1ubuntu0.16.04.1 under > NetworkManager's control. > > When forwarding DNS requests, dnsmasq uses same source port (per > interface) every time. > > Compared to Ubuntu 14

Re: [Dnsmasq-discuss] DHCP DISCOVER and DHCPACK on different subnets getting lost

2017-03-16 Thread Albert ARIBAUD
Hi Grant, Le Thu, 16 Mar 2017 20:36:53 +1100 Grant Traynor a écrit: Only on this point: > There is no DHCPNACK offered by dnsmasq? > > It almost seems as though it's ignoring the subnet when it offers the > IP address? Dnsmasq will send DHCPNAKs only if it is configured as authoritative (that

Re: [Dnsmasq-discuss] Don't forward queries if another RR is present

2017-03-13 Thread Albert ARIBAUD
Hi, A few inlin comments. Le Mon, 13 Mar 2017 11:51:44 -0400 Alex Xu a écrit: > I tried searching for this topic but only found tangentially related > topics. > > If we have "--host-record=example.com,127.0.0.1,", then "dig a > example.com" will return 127.0.0.1 as expected. However, "dig

Re: [Dnsmasq-discuss] resolving server's hostname

2017-02-19 Thread Albert ARIBAUD
Hi Carl, Le Sat, 18 Feb 2017 21:53:52 -0600 Carl Karsten a écrit: > [...] > > so if I set no-hosts, how does dnsmaq figure out how to resolve >> dc10b? Just the same way it does any other machine; the fact that a machine is a name server does not make its name(s) or IP address(es) any special

Re: [Dnsmasq-discuss] resolving server's hostname

2017-02-18 Thread Albert ARIBAUD
Hi Carl, Le Sat, 18 Feb 2017 09:31:19 -0600 Carl Karsten a écrit: > dc10b is the dnsmasq server Ok; and I assume that you are running 'host' on another machine, right? > I am using a modified version of this: > https://anonscm.debian.org/git/debconf-video/ansible.git/tree/roles/dhcp-server Ca

Re: [Dnsmasq-discuss] resolving server's hostname

2017-02-18 Thread Albert ARIBAUD
Hi Carl, Le Fri, 17 Feb 2017 02:06:16 -0600 Carl Karsten a écrit: > juser@dc10b:~$ host dc10b > dc10b has address 127.0.1.1 > > It should be 10.20.1.3 > > How do I make that happen? Hmm... Can you elaborate on the context of your problem? This does not happen to me -- my machine even has an e

Re: [Dnsmasq-discuss] Reading the dhcp.leases file

2017-02-11 Thread Albert ARIBAUD
Hi Sam, Le Sat, 11 Feb 2017 16:06:55 -0600 Sam Weber a écrit: > In our system, when a change occurs to the DNS entries we want > dnsmasq to respond to, we scan the directory of active entries and > then grep the dhcp.leases file to see if the entry exists there. If > the entry is not found in t

Re: [Dnsmasq-discuss] Conditional DNS response by source

2017-02-08 Thread Albert ARIBAUD
Hi, Or if you want to keep a single LAN overall, you could run a second dnsmasq instance on the same device but a different (additional) LAN IPs, running DNS only, and configure the DHCP part of the original dnsmasq instance to tag DHCP leases given to the children machine(s) and to pass such tagg

Re: [Dnsmasq-discuss] dnsmasq always answer dhcp NAK

2017-01-21 Thread Albert ARIBAUD
Hi again Nikita, Le Sat, 21 Jan 2017 00:19:02 -0800 "Nikita N." a écrit: > Hi, > yes indeed, we are facing some kind of "stochastic bug", which happens > randomly, otherwise that client network driver works usually fine. > Also yes, that network card is not produced anymore,nor there is any > bu

Re: [Dnsmasq-discuss] dnsmasq always answer dhcp NAK

2017-01-21 Thread Albert ARIBAUD
Hi again Nikita, Le Fri, 20 Jan 2017 23:37:43 -0800 "Nikita N." a écrit: > Hi, > I confirm --dhcp-authoritative works *PERFECTLY* with all other > clients. Meaning it works when client matches the IP layer address, > and when Dst: Broadcast (ff:ff:ff:ff:ff:ff) and Src: 0.0.0.0 > (0.0.0.0) and Ds

Re: [Dnsmasq-discuss] dnsmasq always answer dhcp NAK

2017-01-20 Thread Albert ARIBAUD
Hi again Nikita, Le Fri, 20 Jan 2017 13:24:10 -0800 "Nikita N." a écrit: > Hi Albert, > thank you for your answer, but my config already has > --dhcp-authoritative. OK, then. Have you tested that it does indeed work? (and you have also tested that the normal/correct DHCP leasing scenario indeed

Re: [Dnsmasq-discuss] dnsmasq always answer dhcp NAK

2017-01-20 Thread Albert ARIBAUD
Le Fri, 20 Jan 2017 11:20:17 -0800 "Nikita N." a écrit: > Hi, > I would like to know what is the setting, to force dnsmasq to *ALWAYS* > answer every wrong/bugged DHCP Request, with a standard DHCP NAK. > I have a bugged client which randomly (bugged driver) sends DHCP > Requests with a wrong/bug

Re: [Dnsmasq-discuss] Finding actual DNS server used

2017-01-15 Thread Albert ARIBAUD
Hi Weedy, Le Sun, 15 Jan 2017 17:23:18 -0500 Weedy a écrit: > >> http://www.thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html#lbAG > >> > >> An API of sorts was added some time last year > > > > I've gone through the NOTES section you are referring to, but I > > don't see exactly which API you a

Re: [Dnsmasq-discuss] Finding actual DNS server used

2017-01-15 Thread Albert ARIBAUD
Hi Weedy, Le Sun, 15 Jan 2017 17:04:37 -0500 Weedy a écrit: > On 15 January 2017 at 03:21, Albert ARIBAUD > wrote: > > Hi Chris, > > > > Le Sat, 14 Jan 2017 19:27:28 + > > Chris Green a écrit: > > > > (re getting dnsmasq to say which upstrea

Re: [Dnsmasq-discuss] Finding actual DNS server used

2017-01-15 Thread Albert ARIBAUD
Hi Chris, Le Sun, 15 Jan 2017 20:31:28 + Chris Green a écrit: > On Sun, Jan 15, 2017 at 04:54:11PM +0100, Albert ARIBAUD wrote: > > Bonjour, > > > > Le Sun, 15 Jan 2017 12:36:47 + > > Chris Green a écrit: > > > > > On Sun, Jan 15, 2017

Re: [Dnsmasq-discuss] Finding actual DNS server used

2017-01-15 Thread Albert ARIBAUD
Bonjour, Le Sun, 15 Jan 2017 12:36:47 + Chris Green a écrit: > On Sun, Jan 15, 2017 at 12:14:42PM +0100, Albert ARIBAUD wrote: > > > > - read the configuration file(s) dnsmasq uses and find "server=" > > > > lines in it, and read the /etc/resolv* tr

Re: [Dnsmasq-discuss] Finding actual DNS server used

2017-01-15 Thread Albert ARIBAUD
Hi Chris, Le Sun, 15 Jan 2017 09:53:00 + Chris Green a écrit: > On Sun, Jan 15, 2017 at 09:21:25AM +0100, Albert ARIBAUD wrote: > > Hi Chris, > > > > Le Sat, 14 Jan 2017 19:27:28 + > > Chris Green a écrit: > > > > (re getting dnsmas

Re: [Dnsmasq-discuss] Finding actual DNS server used

2017-01-15 Thread Albert ARIBAUD
Le Sun, 15 Jan 2017 09:58:38 +0100 Albert ARIBAUD a écrit: > Speaking of which, my first hunch re your problem is that it's not a > dnsmasq problem, but a problem with the client's networking > configuration. I suspect it connects through some VPN and gets an > additiona

Re: [Dnsmasq-discuss] Finding actual DNS server used

2017-01-15 Thread Albert ARIBAUD
Hi Lars, Le Sun, 15 Jan 2017 10:21:01 +0200 Lars Noodén a écrit: > On 01/15/2017 09:55 AM, Albert ARIBAUD wrote: > > Hi Lars, > > > > Le Sat, 14 Jan 2017 20:18:13 +0200 > > Lars Noodén a écrit: > >... > >> Because it's not my system and it is

Re: [Dnsmasq-discuss] Finding actual DNS server used

2017-01-15 Thread Albert ARIBAUD
Hi Lars, Le Sat, 14 Jan 2017 20:18:13 +0200 Lars Noodén a écrit: > On 01/14/2017 06:06 PM, Chris Green wrote: > > On Sat, Jan 14, 2017 at 03:40:52PM +0100, Albert ARIBAUD wrote: > [snip] > >> Or maybe I am missing something. What is your use case? > >> >

Re: [Dnsmasq-discuss] Finding actual DNS server used

2017-01-15 Thread Albert ARIBAUD
Hi Chris, Le Sat, 14 Jan 2017 19:27:28 + Chris Green a écrit: (re getting dnsmasq to say which upstream servers it uses) > Why is is so difficult to provide this information? At the very least > it would provide a confidence check that all is working as intended. > It might very well help

Re: [Dnsmasq-discuss] Finding actual DNS server used

2017-01-14 Thread Albert ARIBAUD
Hi again Chris, Le Sat, 14 Jan 2017 16:06:39 + Chris Green a écrit: > On Sat, Jan 14, 2017 at 03:40:52PM +0100, Albert ARIBAUD wrote: > > > I've not spotted anything in the manual page that stands out for > > > that purpose. > > > > There is not m

Re: [Dnsmasq-discuss] Finding actual DNS server used

2017-01-14 Thread Albert ARIBAUD
Hi Lars, Le Sat, 14 Jan 2017 14:40:14 +0200 Lars Noodén a écrit: > How can I get an already running instance of Dnsmasq to tell which DNS > servers it is using to resolve new queries upstream? > > Specifically how can this be done in distros like Ubuntu and Linux > Mint, which have setups like

Re: [Dnsmasq-discuss] Should every allocated (by DHCP) address be in /var/lib/misc/dnsmasq.leases?

2017-01-11 Thread Albert ARIBAUD
Hi Chris, Le Wed, 11 Jan 2017 15:09:54 + Chris Green a écrit: > I have a mystery IP on my LAN which looks as if it has been allocated > by my dnsmasq process but it isn't in /var/lib/misc/dnsmasq.leases. > > Is there anywhere else that I could look to see how/when dnsmasq > allocated an IP?

Re: [Dnsmasq-discuss] How to answer DNS for a host that has not gotten a lease?

2016-12-29 Thread Albert ARIBAUD
Hi again John, Le Thu, 29 Dec 2016 09:47:12 + John Hanks a écrit: > My description was not good, maybe an example would be better. > Hypothetical example: > > 1. New machine arrives, get MAC address from label on box. > 2. Add "00:11:22:33:44;55,192.168.1.1,newhost,1d" to dnsmasq config. >

Re: [Dnsmasq-discuss] How to answer DNS for a host that has not gotten a lease?

2016-12-29 Thread Albert ARIBAUD
, Le Thu, 29 Dec 2016 07:58:26 + John Hanks a écrit: > Hi, > > I frequently set up static dhcp-host entries for hosts that won't > boot for some time or may go away for long periods but I'd still like > to have dnsmasq respond to DNS queries based on this host/static IP. > Currently I accom

Re: [Dnsmasq-discuss] Sequential IP doesn't look for unused IPs

2016-12-25 Thread Albert ARIBAUD
(TL;DR: skip to last paragraph of my reply) Hi Alec, Le Sat, 24 Dec 2016 18:13:46 -0500 Alec Robertson a écrit: > I understand what you’re saying but I was suggesting this should be a > feature enhancement. All the other routers I have used work the way I > have described, be it NETGEAR, Asus,

Re: [Dnsmasq-discuss] Sequential IP doesn't look for unused IPs

2016-12-24 Thread Albert ARIBAUD
Bonjour, Le Sat, 24 Dec 2016 16:15:23 -0500 Alec Robertson a écrit: > My apologies for the unclear explanation. > > For background I am using OpenWRT/LEDE r2544-a032940, on a TP-LINK > Archer C7. > > For a test, if you set the leasetime to be very short, say 2 minutes > and connect multiple de

Re: [Dnsmasq-discuss] Sequential IP doesn't look for unused IPs

2016-12-24 Thread Albert ARIBAUD
Hi again Alec, Le Sat, 24 Dec 2016 06:55:09 -0800 Alec Robertson a écrit: > Thank you for your replies. > > What I mean (as I said I didn’t explain it very well), is that the > sequential IP feature results in lots of empty IP addresses, so > effectively you end up with a much smaller range of

Re: [Dnsmasq-discuss] Sequential IP doesn't look for unused IPs

2016-12-24 Thread Albert ARIBAUD
Hi Alec, Le Fri, 23 Dec 2016 20:04:55 -0500 Alec Robertson a écrit: > When using sequential IP, the IP allocation should start from the > lowest available IP address. > > However, if the lease time is quite short for the clients, the > clients can renew their IP addresses and be given IP addres

Re: [Dnsmasq-discuss] Fwd: no IP from Linux/DNSmasq for NT-workstation

2016-12-11 Thread Albert ARIBAUD
Hi Bill, Le Sat, 10 Dec 2016 14:06:05 +0100 bill evergreen a écrit: > Hello Albert, > > [...] Your issue is not related to dnsmasq as far as I can tell, so I would suggest we keep discussing it offline (I've answered your previous mail already) and return to the list only once dnsmasq is invo

Re: [Dnsmasq-discuss] listen-backlog option to override default (too small) value

2016-12-07 Thread Albert ARIBAUD
Hi Donatas, Le Wed, 7 Dec 2016 14:43:22 +0200 Donatas Abraitis a écrit: > Hi folks, > > for our case at Hostinger, we have a problem while too much > TcpListenOverflows: > [root@us-imm-dns1 ~]# nstat -az | grep TcpExtListenOverflows > TcpExtListenOverflows 2990.0 > [ro

Re: [Dnsmasq-discuss] Format Errors using add-subnet

2016-12-07 Thread Albert ARIBAUD
Hi Scott, Le Mon, 5 Dec 2016 20:10:44 + Scott Bonar a écrit: > When using this option (which I really need to do) for DNS queries, I > get Format Errors from the upstream DNS servers if they are Windows > Servers 2008 through at least 2012. Has anyone seen this and is > there a workaround e

Re: [Dnsmasq-discuss] no IP from Linux/DNSmasq for NT-workstation

2016-12-03 Thread Albert ARIBAUD
Hi Bill, Le Sat, 3 Dec 2016 15:43:33 +0100 bill evergreen a écrit: > Hello List > Unfortunaletly the DHCP-client of the NT4-box does not receive an IP, > neither its working with static IP's for the NT4 workstation :-( > Any ideas what am I doing wrong? > > Any feedback is appreciated very mu

Re: [Dnsmasq-discuss] DNSMasq only listens on container (virbr0) and not main network (eno1)

2016-12-02 Thread Albert ARIBAUD
Hi David, Le Fri, 2 Dec 2016 19:02:37 +0100 Albert ARIBAUD a écrit: > Hi Davis, Apologies for the typo. Amicalement, -- Albert. ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mail

Re: [Dnsmasq-discuss] DNSMasq only listens on container (virbr0) and not main network (eno1)

2016-12-02 Thread Albert ARIBAUD
Hi Davis, Le Tue, 29 Nov 2016 09:54:15 -0600 "David Biers" a écrit: > I have a DNSMasq server running on an old PowerEdge 2950, CentOS 7.x > x64 > > > > My configuration is specifying that I want it to listen on the public > IP address (192.168.200.2) but it will only listen on the container

Re: [Dnsmasq-discuss] Address configuration with wildcard

2016-11-27 Thread Albert ARIBAUD
Hi Joachim, Le Sat, 26 Nov 2016 15:01:47 +0100 Joachim Zobel a écrit: > Hi. > > Is there a way to have address configuration entries with wildcards. > > I tried > > address=/alt#-mtalk.google.com/127.0.0.1 > > but it did not work with e.g. alt8-mtalk.google.com From $ man dnsmasq

Re: [Dnsmasq-discuss] Dnsmasq-discuss Digest, Vol 138, Issue 13

2016-11-22 Thread Albert ARIBAUD
Bonjour, Le Tue, 22 Nov 2016 17:47:09 + Rahul Jain a écrit: > Hi Albert, thank you for replying. I have access to the source code > of the router and all it's internals. > > I can download the source code of dnsmasq, compile and build it for > the router(not on the router) but I need to run

Re: [Dnsmasq-discuss] Dnsmasq-discuss Digest, Vol 138, Issue 13

2016-11-22 Thread Albert ARIBAUD
Hi Rahul, Le Tue, 22 Nov 2016 05:51:17 + Rahul Jain a écrit: > Hi, thank you for the insight. Actually, I want this implementation > on my router(which is running mipsel-linux), can't just simply > install on it. Therefore, I have to run the binary there but I'm not > getting the MAC address

Re: [Dnsmasq-discuss] Help: Changes when service dnsmasq start is executed

2016-11-21 Thread Albert ARIBAUD
Hi Rahul, Le Mon, 21 Nov 2016 13:43:24 + Rahul Jain a écrit: > Hi all, > > I want to know about all the changes(internally as in files etc) > when "service dnsmasq start" is executed. I noticed one change that > it edits the /etc/resolv.conf. The reason is when I set the add-mac > optio

Re: [Dnsmasq-discuss] dnsmask respond to non-local network

2016-11-18 Thread Albert ARIBAUD
Hi Joseph, Le Fri, 18 Nov 2016 15:56:07 + Joseph C Bond IV a écrit: > I have tried doing this, but it created some bigger problems. The > moment I added a second IP to the same interface my external router > was unable to route traffic correctly from the Raspberry PI onto my > VPN connection

Re: [Dnsmasq-discuss] dnsmask respond to non-local network

2016-11-17 Thread Albert ARIBAUD
Hi Joseph, Le Thu, 17 Nov 2016 15:57:48 + Joseph C Bond IV a écrit: > Sorry if this has been answered elsewhere but I can't seem to find > the answer anywhere. > > I have a Raspberry PI 3 running a copy of dnsmasq to provide DHCP and > DNS services for my local network. This works perfectly

Re: [Dnsmasq-discuss] Dnsmasq 2.75 and linux kernel 4.4.18

2016-11-12 Thread Albert ARIBAUD
Hi Siva, Just a general suggestion: Maybe you have not received any reply because your setup is the only one which causes the issue, and therefore, you're the only one to actually be able to locate it. Therefore I suggest that you fetch the dnsmasq git repo and use git bisect to locate the preci

Re: [Dnsmasq-discuss] Measuring dnsmasq performance

2016-11-10 Thread Albert ARIBAUD
Hi, Le Wed, 9 Nov 2016 22:58:53 + John Knight a écrit: > Hi All, > > I have been tasked with measuring performance of dnsmasq on our > routers. My guess is that dnsmasq has already been analyzed... so I > am hoping to leverage any work that has already been done. > Specifically, I am hopin

Re: [Dnsmasq-discuss] Dynapic IP

2016-11-01 Thread Albert ARIBAUD
Hi, Le Fri, 28 Oct 2016 22:58:25 + (UTC) Gopalkrishna Mudaliar a écrit: > Hello All    I am trying to return the IP address of domains > (DNS response) depending on a specific pattern that computes (decide > ) IP to be returned. Eg http://my100.machine1.com    return > 192.168.1.

Re: [Dnsmasq-discuss] dnsmasq - dhcp unicast or multicast

2016-10-26 Thread Albert ARIBAUD
Hi Simon, Le Wed, 26 Oct 2016 19:06:40 +0200 Simon Röblreiter a écrit: > Hello, dnsmasq-community! > > > I ran into a strange situation today. > I was configuring a virtual mikrotik router (routerOS) > to request a specific IP from my provider. > > I did a series of tests in my local network.

Re: [Dnsmasq-discuss] Dnsmasq not resolving addresses for an hour

2016-10-24 Thread Albert ARIBAUD
masq 2.55 and I have a patch > file. However, I am not sure how to submit it... do I send it to the > discussion list? > > Thanks, > > John Knight > > > -Original Message- > From: John Knight > Sent: Wednesday, October 19, 2016 12:57 PM &g

Re: [Dnsmasq-discuss] Dnsmasq not resolving addresses for an hour

2016-10-18 Thread Albert ARIBAUD
Hi John, Le Tue, 18 Oct 2016 22:36:07 + John Knight a écrit: > Hi All, > The main while(1) loop uses select() to determine if it has work to > do. In most cases, it appears to use timeout of 0, which I believe > means just wait indefinitely for work on the file descriptors. Other > times,

Re: [Dnsmasq-discuss] Dnsmasq not resolving addresses for an hour

2016-10-14 Thread Albert ARIBAUD
Hi, Le Fri, 14 Oct 2016 19:09:31 +0200 Albert ARIBAUD a écrit: > How exactly is that second is totally related to how dnsmasq > handles time? Ahem. Rolling that back. How is that second issue related to now dnsmasq handles time? With apologies. Amicalement, --

Re: [Dnsmasq-discuss] Dnsmasq not resolving addresses for an hour

2016-10-14 Thread Albert ARIBAUD
Hi, Le Fri, 14 Oct 2016 19:46:13 +0500 "Vladislav Grishenko" a écrit: > > But timeouts can occur, TTLs can get past, etc. To treat those > > properly, dnsmasq needs to know how much time has flown while it > > was sleeping (if it ever does, of course). > > It does (actually not due sleeping,

Re: [Dnsmasq-discuss] Dnsmasq not resolving addresses for an hour

2016-10-14 Thread Albert ARIBAUD
Hi Vladislav, Le Fri, 14 Oct 2016 11:52:33 +0500 "Vladislav Grishenko" a écrit: > Hi, Albert, > > > 1. HAVE_BROKEN_RTC should be used for, well, broken RTCs. Here, we > > are not dealing with broken RTC. > > Root issue from original mail: > > One of which acknowledges potential problem if th

Re: [Dnsmasq-discuss] Dnsmasq not resolving addresses for an hour

2016-10-13 Thread Albert ARIBAUD
Best Regards, Vladislav Grishenko > > _ > From: John Knight > Sent: четверг, октября 13, 2016 11:00 ПП > Subject: Re: [Dnsmasq-discuss] Dnsmasq not resolving addresses for an > hour To: Albert ARIBAUD > Cc: > > > Hi Albert, > > That sounds like a very good idea

Re: [Dnsmasq-discuss] Dnsmasq not resolving addresses for an hour

2016-10-13 Thread Albert ARIBAUD
Hi, Just a generic comment: from what I can see, all absolute times in dnsmasq are returned bu dnsmasq_time() which calls either times() or time(). This, IIUC, corresponds to CLOCK_REALTIME in clock_gettime(), which is indeed affected when (re)setting the time. Maybe a fix to time jump issues wou

Re: [Dnsmasq-discuss] dnsmasq not providing a response to client

2016-09-09 Thread Albert ARIBAUD
Hi Bill, Le Fri, 9 Sep 2016 16:10:35 -0400 Bill Warren a écrit: > Hi Albert, > > I tried installing dnsmasq in a virtualized, fresh FreeBSD > installation ... and it is working. I will go through my hardening > configurations to see what, if anything, I can isolate as the cause. I would have

Re: [Dnsmasq-discuss] Feature request

2016-09-07 Thread Albert ARIBAUD
Hi Archi, Le Wed, 7 Sep 2016 10:03:04 +0200 "Archimede Pitagorico" a écrit: > I use a lot the --server and --ipset options. In brief, I want > certain domains to be dispatched to a special DNS and their IP > address to be stored in an ipset, so that using iptables and policy > routing I can disp

Re: [Dnsmasq-discuss] dnsmasq not providing a response to client

2016-09-06 Thread Albert ARIBAUD
Hello Bill, Le Tue, 6 Sep 2016 19:17:56 -0400 Bill Warren a écrit: > Greetings from a new user of dnsmasq v.2.76 on FreeBSD v.10.3 > > dnsmasq is receiving queries and obtaining responses (confirmed in > --no-daemon mode). Rather than paraphrasing the dnsmasq output, can you copy-paste it, inc

Re: [Dnsmasq-discuss] dnsmasq: routing non /24 reverse in-addr.arpa requests

2016-08-28 Thread Albert ARIBAUD
Hi Alessandro, Le Sun, 28 Aug 2016 19:03:48 +0200 Alessandro Bottonelli a écrit: > Now I have to plan the make and install of a > "/usr/local/sbin/dnsmasq" and the replacement of the repository > version. I've to do it directly on a fully operational, 7x24, > mission-critical server, 600 Km away

Re: [Dnsmasq-discuss] dnsmasq: routing non /24 reverse in-addr.arpa requests

2016-08-28 Thread Albert ARIBAUD
Hi again Alessandro, Le Sun, 28 Aug 2016 14:56:35 +0200 Alessandro Bottonelli a écrit: > Il 2016-08-28 11:53 Albert ARIBAUD ha scritto: > > Hi Alessandro, > > > > Le Sun, 28 Aug 2016 11:33:02 +0200 > > Alessandro Bottonelli a écrit: > > > > Here

Re: [Dnsmasq-discuss] dnsmasq: routing non /24 reverse in-addr.arpa requests

2016-08-28 Thread Albert ARIBAUD
Hi Alessandro, Le Sun, 28 Aug 2016 11:33:02 +0200 Alessandro Bottonelli a écrit: > Hi, > > very new to dnsmasq, and also very impressed. I replaced bind last > night 'cause I needed to route different subnets reverses to > different name servers. Not a clean setup, I know. But that's what my >

Re: [Dnsmasq-discuss] DHCP packet received on which has no address

2016-08-25 Thread Albert ARIBAUD
Le Thu, 25 Aug 2016 18:45:09 +0200 Albert ARIBAUD a écrit: > eth0.3 which does not have an IP and netmask, and therefore rightly > complain about that. (developing slightly) I do understand that most probably -- even though it was not stated explicitly -- dnsmasq is receiving its how

Re: [Dnsmasq-discuss] DHCP packet received on which has no address

2016-08-25 Thread Albert ARIBAUD
Bonjour, Le Thu, 25 Aug 2016 13:32:56 +0300 Andrew Shadura a écrit: > On 25/08/16 13:26, Andrew Shadura wrote: > > Okay, let me give you a more specific example, with just one of the > > interfaces. > > > > Let's say we've got eth0 with vlans: > > eth0.1, static config > > eth0.2, static co

Re: [Dnsmasq-discuss] DHCP packet received on which has no address

2016-08-25 Thread Albert ARIBAUD
Hi, Le Thu, 25 Aug 2016 11:52:41 +0300 Andrew Shadura a écrit: > Hello, > > We've run into an issue: in our configuration, there are many > interfaces, some of them are being served by dnsmasq-dhcp, some of > them use run dhcp client themselves. Not sure I'm getting this right, but I assume yo

Re: [Dnsmasq-discuss] Static IP client question

2016-08-09 Thread Albert ARIBAUD
Hi Chris, Le Sun, 7 Aug 2016 16:36:11 +0100 Chris Green a écrit: > On Sun, Aug 07, 2016 at 05:25:24PM +0200, Albert ARIBAUD wrote: > > Chris Green a écrit: > > > On Sat, Aug 06, 2016 at 08:57:43PM -0400, Edward Crosby wrote: > > > >I've implemented

Re: [Dnsmasq-discuss] Static IP client question

2016-08-07 Thread Albert ARIBAUD
Bonjour, Le Sun, 7 Aug 2016 09:32:47 +0100 Chris Green a écrit: > On Sat, Aug 06, 2016 at 08:57:43PM -0400, Edward Crosby wrote: > >I've implemented Dnsmasq on a Raspberry Pi 3 running Ubuntu Mate > > 16.04 on my home LAN. I have configured it as a DHCP server also. I > > have quite a few cl

Re: [Dnsmasq-discuss] suggestion filter out loopback addresses for query

2016-08-02 Thread Albert ARIBAUD
Hi, Le Tue, 02 Aug 2016 10:39:23 -0400 Junyang Gu a écrit: > It seems to me that dnsmasq should filter out loopback addresses for > DNS queries universally, or at least provide such an option. > > Consider such a scenario, > > dnsmasq runs on host1, and host1's /etc/hosts contains 127.0.1.1 >

Re: [Dnsmasq-discuss] why not cache data obtained via TCP?

2016-07-29 Thread Albert ARIBAUD
Hi Simon, Le Thu, 28 Jul 2016 21:53:41 +0100 Simon Kelley a écrit: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > > > On 27/07/16 09:02, Albert ARIBAUD wrote: > > Hi Ming, > > > > Le Wed, 27 Jul 2016 10:06:47 +0800 XMing a > > écrit: &

Re: [Dnsmasq-discuss] list dns cache and expiration

2016-07-28 Thread Albert ARIBAUD
Hi, Le Thu, 28 Jul 2016 06:46:51 +0800 "水静流深" <1248283...@qq.com> a écrit: > Dnsmasq have been installed on my os. > cache-size=1024 was written in /etc/dnsmasq.conf. > 1.how to list all the dns cache on my dnsmasq? See the dnsmasq manpage for the log-queries option (note that if you intend on

Re: [Dnsmasq-discuss] why not cache data obtained via TCP?

2016-07-27 Thread Albert ARIBAUD
Hi Ming, Le Wed, 27 Jul 2016 10:06:47 +0800 XMing a écrit: > is there any regulation or spec about that? There is neither, and DNS records obtained through TCP /are/ cached. Or, more to the point, answers are cached (or not, depending on the cache-related settings in dnsmasq) regardless of whe

Re: [Dnsmasq-discuss] No DHCP leases handed on bridge interface

2016-07-16 Thread Albert ARIBAUD
Bonjour, Le Sat, 16 Jul 2016 07:15:55 + (UTC) Sébastien Delafond a écrit: > On 2016-07-15, Albert ARIBAUD wrote: > > No mention of the interfaces it binds to and how? No functional > > equivalent to the interface-related options of dnsmasq? > > You can pass interfa

Re: [Dnsmasq-discuss] No DHCP leases handed on bridge interface

2016-07-15 Thread Albert ARIBAUD
Bonsoir Seb, Le Fri, 15 Jul 2016 17:09:02 + (UTC) Sébastien Delafond a écrit: > On 2016-07-15, Albert ARIBAUD wrote: > > OTOH, there *is* a link with the networking setup since dnsmasq > > works without the bridge and stops working with the bridge. > > True. >

Re: [Dnsmasq-discuss] No DHCP leases handed on bridge interface

2016-07-15 Thread Albert ARIBAUD
Bonjour Seb, Le Fri, 15 Jul 2016 15:48:55 + (UTC) Sébastien Delafond a écrit: > On 2016-07-15, Albert ARIBAUD wrote: > > That leads to further questions, at least. VLANs do not cause > > problems for dnsmasq, but bridging VLANs may be tricky and more > > prone to netw

Re: [Dnsmasq-discuss] No DHCP leases handed on bridge interface

2016-07-15 Thread Albert ARIBAUD
Bonjour, Le Fri, 15 Jul 2016 16:39:37 +0200 Sébastien Delafond a écrit: > On Jul/15, Albert ARIBAUD wrote: > > Just to make sure: "eth0.2" would normally denote a virtual > > interface for VLAN 2 traffic on eth0. Are VLANs involved in your > > network setup? &g

Re: [Dnsmasq-discuss] No DHCP leases handed on bridge interface

2016-07-15 Thread Albert ARIBAUD
Hi Seb, Le Fri, 15 Jul 2016 10:28:33 + (UTC) Sébastien Delafond a écrit: > Hello, > > I have a server with a bridge containing only one interface (ideally > it'll of course include more interfaces, but I've tried to eliminate > as many factors as possible): > > $ brctl show > bridge na

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

2016-07-14 Thread Albert ARIBAUD
Hi Tong, Le Thu, 14 Jul 2016 00:21:20 + (UTC) T o n g a écrit: > After struggled for a few days, I finally decided that I should > reply, to bring some closure on this. Thank you for all these days of > your tireless help. However, my conclusion is still the same as my > first post -- dnsmas

Re: [Dnsmasq-discuss] Dnsmasq responding with SOA instead of A

2016-07-11 Thread Albert ARIBAUD
Hi again Aaron, Le Mon, 11 Jul 2016 21:53:21 + Aaron Germuth a écrit: > Hey Albert, > > Thanks for the reply and sorry about that. The dig command used is > > dig @100.108.108.176 b.local.example.com A. > > 100.108.108.176 is the IP of my dns server. This dns server has an > entry in /etc

Re: [Dnsmasq-discuss] Dnsmasq responding with SOA instead of A

2016-07-11 Thread Albert ARIBAUD
Hi Aaron, Le Mon, 11 Jul 2016 20:20:56 + Aaron Germuth a écrit: > Hey guys, > > I'm trying to run my own dnsmasq instance on a computer. I want it to > be authoritative for my domain (local.example.com). However I am > getting different results for the same query from different computers. >

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

2016-07-10 Thread Albert ARIBAUD
Hi Tong, Le Sat, 9 Jul 2016 16:17:45 + (UTC) T o n g a écrit: > $ dig cnn.com > ; <<>> DiG 9.10.3-P4-Ubuntu <<>> cnn.com > ;; global options: +cmd > ;; Got answer: > ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 56353 > ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL:

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

2016-07-09 Thread Albert ARIBAUD
Hi Tong, Le Sat, 9 Jul 2016 02:08:36 + (UTC) T o n g a écrit: > On Fri, 08 Jul 2016 18:49:53 +0200, Albert ARIBAUD wrote: > > >> > Once we have netcat available on both ends, we will be able to > >> > mimic DNS exchanges between the machines but without

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

2016-07-08 Thread Albert ARIBAUD
Hi Tong, Le Thu, 7 Jul 2016 13:06:42 + (UTC) T o n g a écrit: > On Thu, 07 Jul 2016 12:33:53 +0200, Albert ARIBAUD wrote: > > > To determine which variant of netcat is present on these machines, > > if any, could you run the following command, once on the dedicated >

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

2016-07-07 Thread Albert ARIBAUD
Hi Tong, Le Thu, 7 Jul 2016 02:41:15 + (UTC) T o n g a écrit: > Yes, the "box" is what I referred as the machine that I run the > dnsmasq and trying to configure. This is the only thing I'm talking > about so far. Nothing else. > Once again, the box I'm configuring, is a dedicated servers

Re: [Dnsmasq-discuss] dhcp-range broke in 2.76

2016-07-06 Thread Albert ARIBAUD
Hi again Matthew, Le Wed, 6 Jul 2016 08:54:55 -0700 Matthew Keeler a écrit: > Thank you Albert. I guess where I was going wrong was thinking that > the static lease addresses referenced in a dhcp-host config needed to > fall within another configured dhcp-range. So I guess I should just > be abl

Re: [Dnsmasq-discuss] dhcp-range broke in 2.76

2016-07-06 Thread Albert ARIBAUD
Hi Matthew, Le Wed, 6 Jul 2016 10:31:05 -0400 Matthew Keeler a écrit: > I have been using dnsmasq for a while on my local network with > several dhcp ranges specified. One of them no longer parses in v2.76 > although it did in v2.75. > > dhcp-range=10.3.2.1,10.3.2.127,static,255.255.254.0,infin

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

2016-07-05 Thread Albert ARIBAUD
Hi Tong, Le Tue, 5 Jul 2016 00:42:25 + (UTC) T o n g a écrit: > > 1) Does your dnsmasq host have access to the Internet? > > > > 2) Have you configured your Internet access so that DNS requests > > incoming from the outside are routed to your dnsmasq host? > > Yeah, those "out-side" fact

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

2016-07-04 Thread Albert ARIBAUD
Hi Tong, Le Mon, 4 Jul 2016 13:05:35 + (UTC) T o n g a écrit: > On Mon, 04 Jul 2016 10:56:05 +0200, Albert ARIBAUD wrote: > > >> >> The machine from which I run dig gets its DNS servers is the one > >> >> that I tweaked the /etc/dnsmasq.d/public.conf

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

2016-07-04 Thread Albert ARIBAUD
Hi Tong, Le Sun, 3 Jul 2016 22:40:05 + (UTC) T o n g a écrit: > On Sat, 02 Jul 2016 21:27:11 +0200, Albert ARIBAUD wrote: > > >> The machine from which I run dig gets its DNS servers is the one > >> that I tweaked the /etc/dnsmasq.d/public.conf file, by doing which

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

2016-07-02 Thread Albert ARIBAUD
idea: your machine may then serve as an amplifier for DDoS attacks. Still, the configuration -- as far as dnsmasq is concerned -- is the same for an open DNS and a LAN DNS. Could you please describe your setup from a network perspective ? > Please help. Thanks > > On Thu, 30 Jun 2016 14:

Re: [Dnsmasq-discuss] Need some info on retried and failed queries

2016-07-01 Thread Albert ARIBAUD
Hi Mikhail, Le Fri, 1 Jul 2016 15:03:43 +0200 Mikhail Morfikov a écrit: > In the dnsmasq confg file I can set the two following parameters: > > min-cache-ttl=3600 > max-cache-ttl=7200 > > Let's say I visit some http server on the internet. The cache entry > would be created for the domain and

Re: [Dnsmasq-discuss] systemd service improvements

2016-06-30 Thread Albert ARIBAUD
Bonjour, Le Thu, 30 Jun 2016 21:18:02 +0200 Pali Rohár a écrit: > On Thursday 30 June 2016 16:58:56 Craig Andrews wrote: > > I'd like to propose a couple changes in terms of systemd in dnsmaq. > > First, dnsmasq should always install a systemd unit so all > > distributions/users can use it >

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

2016-06-30 Thread Albert ARIBAUD
Hi Tong, Le Thu, 30 Jun 2016 12:03:07 + (UTC) T o n g a écrit: > Does no reply means impossible, or just nobody has look into it yet? It is perfectly possible tu run dnsmasq as a "public" DNS, if by this you mean "make it serve requests from other hosts than the one it is running on", or ev

Re: [Dnsmasq-discuss] Cannot obtain IP address from dnsmasq

2016-06-24 Thread Albert ARIBAUD
Hi Matwey, Le Fri, 24 Jun 2016 19:30:04 +0300 "Matwey V. Kornilov" a écrit: > 2016-06-24 19:19 GMT+03:00 Albert ARIBAUD : > > Hi Matwey, > > > > Le Fri, 24 Jun 2016 12:10:53 +0300 > > "Matwey V. Kornilov" a écrit: > > > >> H

Re: [Dnsmasq-discuss] Cannot obtain IP address from dnsmasq

2016-06-24 Thread Albert ARIBAUD
Hi Matwey, Le Fri, 24 Jun 2016 12:10:53 +0300 "Matwey V. Kornilov" a écrit: > Hello, > > I am running dnsmasq-2.71 and experiencing the following issue. > > I have network interface eth3 with 10.3.0.1/24 address assigned to > it. I want dnsmasq instance to supply everyone on eth3 L2-segment >

Re: [Dnsmasq-discuss] Logging milliseconds//Addendum

2016-06-21 Thread Albert ARIBAUD
Hi Manfred, Le Tue, 21 Jun 2016 17:30:13 +0200 a écrit: > Hi All ! > > I just changed some free DNS against some other free DNS > and now, I have more problems then bevore. Though I'll > extend my logging thoughs: In the DNSMasq answer is not > visible which of dns provided the answer - that ma

Re: [Dnsmasq-discuss] Logging milliseconds

2016-06-21 Thread Albert ARIBAUD
Hi Manfred, Le Tue, 21 Jun 2016 18:25:44 +0200 a écrit: > Hi ! > > If it comes to webbrowsing, it comes to complexity. But if I wish > to analyze dns, I go to the commandline. If one has 30 instances > of Firefox, you cannot control something - it is always slower, > while for Chrome, due to it

  1   2   3   >