Re: [Dnsmasq-discuss] dnsmasq and samba internal dns server on the same machine

2016-04-24 Thread Albert ARIBAUD
Hi Yann, Le Sun, 24 Apr 2016 18:42:40 +0200 Yann Lehmann a écrit: > Hi > > I am trying to setup a computer to act as an active directory > controller with samba (which brings an internal DNS server), but I > also need it to work as a dhcp server. > > I have found how to

Re: [Dnsmasq-discuss] Suggestion/Feature Request: Disable only DNS on an interface

2016-04-13 Thread Albert ARIBAUD
Hi again Ryan, Le Wed, 13 Apr 2016 11:28:08 +0200 Ryan Zev Solomon <ryzen...@gmail.com> a écrit: > On 13/04/2016 08:19, Albert ARIBAUD wrote: > > Hi Ryan, > > > > Le Tue, 12 Apr 2016 22:41:45 +0200 > > Ryan Zev Solomon <ryzen...@gmail.com> a écrit: &

Re: [Dnsmasq-discuss] Suggestion/Feature Request: Disable only DNS on an interface

2016-04-13 Thread Albert ARIBAUD
Hi Ryan, Le Tue, 12 Apr 2016 22:41:45 +0200 Ryan Zev Solomon a écrit: > Good day, > > I think it would be useful to disable serving DNS queries on an > interface on which TFTP, and DHCP are still provided. My use case: > - TFTP and DHCP are provided by Dnsmasq. > - Unbound

Re: [Dnsmasq-discuss] Interface name in /etc/resolv.conf with network-manager

2016-04-11 Thread Albert ARIBAUD
Hi Leandro, Le Sun, 10 Apr 2016 21:42:57 +0200 Leandro Noferini <lnofe...@cybervalley.org> a écrit: > Albert ARIBAUD <albert.arib...@free.fr> writes: > > > [...] > > > So it would appear that dnsmasq already sends the right domain > > search optio

Re: [Dnsmasq-discuss] Interface name in /etc/resolv.conf with network-manager

2016-04-10 Thread Albert ARIBAUD
Bonjour, Le Sat, 09 Apr 2016 19:18:16 +0200 Leandro Noferini <lnofe...@cybervalley.org> a écrit: > Albert ARIBAUD <albert.arib...@free.fr> writes: > > > [...] > > >> >> # Generated by resolvconf > >> >> search cybervalley.orglan >

Re: [Dnsmasq-discuss] Interface name in /etc/resolv.conf with network-manager

2016-04-08 Thread Albert ARIBAUD
Bonjour, Le Fri, 08 Apr 2016 19:09:26 +0200 Leandro Noferini <lnofe...@cybervalley.org> a écrit: > Albert ARIBAUD <albert.arib...@free.fr> writes: > > > [...] > > >> # Generated by resolvconf > >> search cybervalley.orglan > >> names

Re: [Dnsmasq-discuss] Interface name in /etc/resolv.conf with network-manager (was: Interface-name not injecting name into cache)

2016-04-06 Thread Albert ARIBAUD
Hi LEandro, Le Wed, 06 Apr 2016 22:37:55 +0200 Leandro Noferini a écrit: > Ciao a tutti, > > I think my problem is similar to the one from the original post so I > use this thread. > > I have a server with dnsmasq (version 2.72-3+deb8u from debian stable) > doing

Re: [Dnsmasq-discuss] Dnsmasq - dnsmasq.leases IPv6 example

2016-04-06 Thread Albert ARIBAUD
the issue > here? Any help on this is really appreciated. Look up man dnsmasq, and more specifically the --dhcp-script option. You'll see that for IPv4 the MAC address is passed, but for IPv6, it is the DUID, which is 12 to 20 bytes depending on the exact situation -- in your case it seems to be

Re: [Dnsmasq-discuss] Dnsmasq - dnsmasq.leases IPv6 example

2016-04-06 Thread Albert ARIBAUD
Hi, Le Tue, 5 Apr 2016 18:48:37 -0700 Sivabalakrishnan M a écrit: > Hi, > > Could anyone please share the sample output of dnsmasq.leases file > for IPv6 entries? Is it possible to have mac address with size more > than 8 bytes for IPv6? Please let me know. MAC

Re: [Dnsmasq-discuss] dig for an ip address returns A record instead of NXDOMAIN

2016-03-31 Thread Albert ARIBAUD
Bonjour, Le Thu, 31 Mar 2016 08:31:08 -0500 /dev/rob0 <r...@gmx.co.uk> a écrit: > On Thu, Mar 31, 2016 at 10:10:37AM +0200, Albert ARIBAUD wrote: > > Le Wed, 30 Mar 2016 16:59:07 -0400 > > Jeff Weber <jwe...@cofront.net> a écrit: > > > > > The behavio

Re: [Dnsmasq-discuss] disabling reverse dns lookup in dnsmasq

2016-02-17 Thread Albert ARIBAUD
Hi, Le Wed, 17 Feb 2016 18:27:31 +0530 green krypton a écrit: > sorry i mean recursive lookups :) > > On Wed, Feb 17, 2016 at 6:25 PM, green krypton > wrote: > > > Hi is there any way i can stop dnsmasq from doing reverse dns > > lookups. I

Re: [Dnsmasq-discuss] Restrict DNS reply to specific clients

2016-02-03 Thread Albert ARIBAUD
Hi again Guy, Le Wed, 3 Feb 2016 12:24:26 +0100 "Guy Wijnants" a écrit: > Hi Albert, > > Thank you for the quick response. > You can compare our DNS server as kind of an ISP DNS server in the > way that it hosts public domains and acts as DNS resolver for our >

Re: [Dnsmasq-discuss] Restrict DNS reply to specific clients

2016-02-03 Thread Albert ARIBAUD
Hi Guy, Le Wed, 3 Feb 2016 10:30:02 +0100 "Guy Wijnants" a écrit: > Hi all, > > I have a DNS server that is master for some public domains. We also > have clients that use the DNS server as their lookup server. > For security issues we use dnsmasq to redirect

Re: [Dnsmasq-discuss] same dns name on diffeerent ip ranges

2016-01-31 Thread Albert ARIBAUD
Hi Stefan, Le Sun, 31 Jan 2016 23:01:26 +0100 Stefan Priebe a écrit: > Hi, > > i'm using dnsmasq with multiple ip ranges and have setup different > domains for that: > > domain=A.domain.x,10.0.0.10,10.0.15.250 > > AND > > domain=B.domain.x,10.0.0.10,10.0.15.250 > >

Re: [Dnsmasq-discuss] Stop local search queries...

2016-01-15 Thread Albert ARIBAUD
Hi BradBonjour, Le Fri, 15 Jan 2016 06:24:03 -0500 Brad a écrit: > I am setting up dnsmasq at home to monitor some things and have > everything working, but all my queries are initially appended > with .home. All queries are initially *.home, then forwarded to > Google for

Re: [Dnsmasq-discuss] Dnsmasq fails to offer static lease (IPv4) occasionally

2016-01-11 Thread Albert ARIBAUD
Hi Timo, Le Mon, 11 Jan 2016 15:44:52 +0100 (CET) "Timo Sigurdsson" a écrit: > When a client does not receive the correct static lease, I can see in > the logs that dnsmasq doesn't send a DHCPOFFER after a DHCPDISCOVER. > But I don't see why. I can see, though,

Re: [Dnsmasq-discuss] how can i make cache_size more than 10000

2015-12-02 Thread Albert ARIBAUD
Hi "cochen", Le Wed, 2 Dec 2015 14:31:13 +0800 (CST) cochen a écrit: > Hello everyone, > When i use command " kill -s SIGUSR1 `cat /var/run/dnsmasq.pid`", > the output in log as below: Dec 2 14:23:48 dnsmasq[22548]: cache > size 1, 22230/42649 cache insertions

Re: [Dnsmasq-discuss] Becoming authoritative DNS for additional netblock

2015-12-02 Thread Albert ARIBAUD
Hi "A C", Le Tue, 1 Dec 2015 22:46:40 -0800 A C <ag...@hotmail.com> a écrit: > On 2015-12-01 22:22, Albert ARIBAUD wrote: > > Hi "A C", > > > > Cc:ing Simon in case the problem is indeed a weird dependency of > > "server=" on "

Re: [Dnsmasq-discuss] Becoming authoritative DNS for additional netblock

2015-12-02 Thread Albert ARIBAUD
Hi "A C", Le Wed, 2 Dec 2015 00:00:06 -0800 A C a écrit: > > I infer that what you have in your working config is not > > > > server=/vpn.example.com/10.0.0.140 > > local=/vpn.example.com/ > > > > as indicated above, but actually > > > >

Re: [Dnsmasq-discuss] Becoming authoritative DNS for additional netblock

2015-12-01 Thread Albert ARIBAUD
Hi "A C", Le Tue, 1 Dec 2015 09:59:07 -0800 A C a écrit: (note : local= is synonymous to server=) > local=/example.com/ This one means *example.com should be resolved by reading /etc/hosts or the DHCP lease info. > local=/vpn.example.com/ >

Re: [Dnsmasq-discuss] Becoming authoritative DNS for additional netblock

2015-12-01 Thread Albert ARIBAUD
Hi "A C", Cc:ing Simon in case the problem is indeed a weird dependency of "server=" on "local=" -- or to ascertain it doesn't. Le Tue, 1 Dec 2015 19:53:37 -0800 A C a écrit: > I just got it working. Your statement "but if the first line wins" > gave me an idea. I cleaned

Re: [Dnsmasq-discuss] Becoming authoritative DNS for additional netblock

2015-12-01 Thread Albert ARIBAUD
Hi "A C", Le Mon, 30 Nov 2015 21:34:58 -0800 A C <ag...@hotmail.com> a écrit: > On 2015-11-30 05:02, Albert ARIBAUD wrote: > > > Can you watch the router's DNS traffic rather than the VPN server's? > > Possibly give a tcpdump of a successful and a failed DN

Re: [Dnsmasq-discuss] Becoming authoritative DNS for additional netblock

2015-11-30 Thread Albert ARIBAUD
Hi again "A C", Le Sun, 29 Nov 2015 23:19:28 -0800 A C <ag...@hotmail.com> a écrit: > On 2015-11-29 22:50, Albert ARIBAUD wrote: > > Hi "A C", > > > > Le Sun, 29 Nov 2015 14:08:50 -0800 > > A C <ag...@hotmail.com> a écrit: > > >

Re: [Dnsmasq-discuss] Becoming authoritative DNS for additional netblock

2015-11-30 Thread Albert ARIBAUD
Hello again "A C", Le Mon, 30 Nov 2015 00:31:28 -0800 A C <ag...@hotmail.com> a écrit: > On 2015-11-29 23:49, Albert ARIBAUD wrote: > > Hi again "A C", > > > > Le Sun, 29 Nov 2015 23:19:28 -0800 > > A C <ag...@hotmail.com> a écrit: &

Re: [Dnsmasq-discuss] Becoming authoritative DNS for additional netblock

2015-11-29 Thread Albert ARIBAUD
Hi "A C", Le Sun, 29 Nov 2015 14:08:50 -0800 A C a écrit: > Ok, this question is for a much older version of dnsmasq because I > haven't been able to update the router firmware to bring in a newer > version. I'm currently using version 2.35 > > My current internal IP space

Re: [Dnsmasq-discuss] Listen and Query on different interfaces

2015-11-16 Thread Albert ARIBAUD
Hi Diwaka, Le Mon, 16 Nov 2015 13:40:18 + "Jois, Diwakar (Nokia - IN/Bangalore)" a écrit: > Hi, > > We are using dnsmasq as a proxy. > Dnsmasq has to listen on w.x.y.z interface (port 53) and send query > over a.b.c.d interface. Is this pssobile? If I'm not

Re: [Dnsmasq-discuss] Bug-ette Android requesting excessive leases

2015-10-23 Thread Albert ARIBAUD
Hi Ed, Le Fri, 23 Oct 2015 17:55:06 +0100, Ed W a écrit : > Hi > > I notice an anomaly with my OnePlus Android phones. They have been > acquiring additional leases for no good reason. Here is a dump from a > little app I have which monitors ARP and dhcp lease

Re: [Dnsmasq-discuss] dhcpv6 problem with static allocations and "no addresses available"

2015-10-22 Thread Albert ARIBAUD
Hi Neil, Le Thu, 22 Oct 2015 16:46:41 +, Neil Jerram a écrit : > >>> interface=meteo dhcp-range=::,constructor:meteo,static,infinite > >>> enable-ra dhcp-range=192.168.5.1,static > > Could it be because even static allocations still require a matching IP >

Re: [Dnsmasq-discuss] dhcpv6 problem with static allocations and "no addresses available"

2015-10-22 Thread Albert ARIBAUD
Bonjour Carlos, Le Thu, 22 Oct 2015 15:40:59 -0200, Carlos Carvalho <car...@fisica.ufpr.br> a écrit : > Albert ARIBAUD (albert.arib...@free.fr) wrote on Thu, Oct 22, 2015 at > 03:07:59PM BRST: > > Hi Neil, > > > > Le Thu, 22 Oct 2015 16:46:41 +, Neil Jerram &

Re: [Dnsmasq-discuss] dhcpv6 problem with static allocations and "no addresses available"

2015-10-22 Thread Albert ARIBAUD
Bonjour Carlos, Le Thu, 22 Oct 2015 16:05:12 -0200, Carlos Carvalho <car...@fisica.ufpr.br> a écrit : > Albert ARIBAUD (albert.arib...@free.fr) wrote on Thu, Oct 22, 2015 at > 02:33:28PM BRST: > > Hi Carlos, > > > > Le Thu, 22 Oct 2015 12:50:14 -0200, Carlos Carva

Re: [Dnsmasq-discuss] dhcpv6 problem with static allocations and "no addresses available"

2015-10-22 Thread Albert ARIBAUD
Hi Carlos, Le Thu, 22 Oct 2015 12:50:14 -0200, Carlos Carvalho <car...@fisica.ufpr.br> a écrit : > Albert ARIBAUD (albert.arib...@free.fr) wrote on Thu, Oct 22, 2015 at > 03:20:34AM BRST: > > Le Wed, 21 Oct 2015 20:18:42 -0200, Carlos Carvalho > > <car

Re: [Dnsmasq-discuss] dhcpv6 problem with static allocations and "no addresses available"

2015-10-21 Thread Albert ARIBAUD
Hi Carlos, Le Wed, 21 Oct 2015 20:18:42 -0200, Carlos Carvalho a écrit : > > Maybe there are leases for old UIDS and the static address still the > > database? > > No, I start dnsmasq without any lease. Just to make sure, as your answer may mean various things: did you

Re: [Dnsmasq-discuss] DNS queries only partly answered by dnsmasq

2015-10-15 Thread Albert ARIBAUD
Bonjour Benjamin, Le Wed, 14 Oct 2015 22:09:10 +, Benjamin Brücker a écrit : > Hi, > > For my small network with frequently changing guests I'd like to use dnsmasq, > because I would like to block some domains by dnsmasq's address=/../.. > feature (great!). For

Re: [Dnsmasq-discuss] Problem with VM and dnsmasq

2015-10-13 Thread Albert ARIBAUD
ble. > > As for the bug: difficult to say at this point. VirtualBox does not use > a bridge when the host is connected via wifi, > for obvious reasons, so, in my case we are really comparing two > different ways of putting the VM onto the LAN. > Also, VirtualBox does not

Re: [Dnsmasq-discuss] Problem with VM and dnsmasq

2015-10-13 Thread Albert ARIBAUD
Hi mario, Le Tue, 13 Oct 2015 15:00:28 +0200, mario a écrit : > Yes, thank you Albert, you were perfectly right. This thread is now > solved, shall I somehow > signal this? So you found the reason why the EPERM happened and determined that it was not related to dnsmasq? If

Re: [Dnsmasq-discuss] Problem with VM and dnsmasq

2015-10-08 Thread Albert ARIBAUD
Bonjour mario, Le Wed, 7 Oct 2015 22:48:15 +0200, mario <jjsk...@gmail.com> a écrit : > Hello, Albert. > > On 10/07/2015 09:09 PM, Albert ARIBAUD wrote: > > Hi again mario, > > > > Le Wed, 7 Oct 2015 19:06:15 +0200, Albert ARIBAUD > > <albert.arib...@f

Re: [Dnsmasq-discuss] Problem with VM and dnsmasq

2015-10-07 Thread Albert ARIBAUD
Hi mario, Le Wed, 7 Oct 2015 15:41:15 +0200, mario a écrit : > Hello, my first post. > > I use as a gateway a Debian Jessie pc with dnsmasq providing both DHCP > and DNS. > > Normally, it works flawlessly, but there may be one bug. On one of my > pcs (Ubuntu 14.04) > I

Re: [Dnsmasq-discuss] Problem with VM and dnsmasq

2015-10-07 Thread Albert ARIBAUD
Bonjour mario, Le Wed, 7 Oct 2015 16:36:20 +0200, mario a écrit : > Bonjour, Albert. > > Unfortunately, I wish it were that simple: I know that, and I have always > changed the interface the VM is linked to in an appropriate way. I > thought it was tacitly understood.

Re: [Dnsmasq-discuss] strict-order backwards in Debian 7 dnsmasq 2.72-3 (vs dnsmasq 2.59)?

2015-09-01 Thread Albert ARIBAUD
Hi Tim, Le Tue, 1 Sep 2015 10:00:36 -0700, Tim Wright a écrit : > Hello, > I apologize if this is something known, or if I'm doing something silly, > but I switched over from Ubuntu 12.04LTS (dnsmasq 2.59) to Debian 7 stable > (dnsmasq 2.72-3) and I'm seeing something odd. I

Re: [Dnsmasq-discuss] DHCP server on Bridge

2015-08-31 Thread Albert ARIBAUD
Hi John, Le Mon, 31 Aug 2015 18:33:46 -0700, John Pearson a écrit : > Has anyone else ever run a DHCP server on the bridge or propagated DNS > settings to devices connected to one side of the bridge ? I am unsure why > this isn't working. I had DNSMASQ running on a

Re: [Dnsmasq-discuss] Help in DNS amplification attack

2015-07-16 Thread Albert ARIBAUD
Hi AS, Le Thu, 16 Jul 2015 11:40:42 +0530, @shuToSH Ch@tURveDI ashutosh.chaturvedi...@gmail.com a écrit : HI, using dnsmasq version 2.70, as mention in CHANGELOG that dns amplification attack has been fixed in this version. but when checked this one

Re: [Dnsmasq-discuss] Help in DNS amplification attack

2015-07-16 Thread Albert ARIBAUD
Hi again AS, Le Thu, 16 Jul 2015 15:39:56 +0530, @shuToSH Ch@tURveDI ashutosh.chaturvedi...@gmail.com a écrit : NO, i am using router from LAN i am sending query like (nslookup 1and1.com IP of LAN), and dnsmasq listening on LAN, and WAN Internet reachable. i am also not sure this is

Re: [Dnsmasq-discuss] how to avoid reading /etc/dnsmasq.conf

2015-07-07 Thread Albert ARIBAUD
Bonjour Kristian, Le Tue, 7 Jul 2015 11:21:34 +0200, Kristian Lein-Mathisen krist...@adellica.com a écrit : Hi! I'm using dnsmasq for bootstrapping our embedded linux device, and dnsmasq is working really great. However, I cannot seem to be able to avoid dnsmasq reading the

Re: [Dnsmasq-discuss] how to configure lot of static routes

2015-07-03 Thread Albert ARIBAUD
Hi Michał, For the record, I have just installed Ubuntu 15.04 on a VM, and it appears that this release, unlike any previous Ubuntu release, will actually ignore the router option if there is a classless static route option. I discovered that because the VM complained of a broken network, so I

Re: [Dnsmasq-discuss] dnsmasq forwarding all queries to name server

2015-07-01 Thread Albert ARIBAUD
Hi Prashanth, Le Wed, 1 Jul 2015 12:49:45 +0530, Prashanth P.Nair prashanth...@gmail.com a écrit : Hi DNSMASQ experts. Am new to DNSMasq.I have configured DNSmasq on a monitoring machine ,which is running fine. But in the logs i observed once query is happened ,it tells that its

Re: [Dnsmasq-discuss] how to configure lot of static routes

2015-07-01 Thread Albert ARIBAUD
Bonjour Michał, Le Wed, 1 Jul 2015 23:26:05 +0200, Michał Lipka michal@lipka.email a écrit : 2015-06-30 20:02 GMT+02:00 Albert ARIBAUD albert.arib...@free.fr: Le Tue, 30 Jun 2015 19:52:26 +0200, Albert ARIBAUD albert.arib...@free.fr a écrit : Le Tue, 30 Jun 2015 19:48:01 +0200

Re: [Dnsmasq-discuss] how to configure lot of static routes

2015-06-30 Thread Albert ARIBAUD
Bonjour Michał, Le Tue, 30 Jun 2015 13:54:11 +0200, Michał Lipka michal@lipka.email a écrit : 2015-06-30 12:10 GMT+02:00 Maciej Soltysiak mac...@soltysiak.com: On Tue, Jun 30, 2015 at 4:03 AM, wkitt...@gmail.com wkitt...@gmail.com wrote: On 06/29/2015 04:01 PM, Michał Lipka wrote:

Re: [Dnsmasq-discuss] how to configure lot of static routes

2015-06-30 Thread Albert ARIBAUD
Bonjour Maciej, Le Tue, 30 Jun 2015 15:56:36 +0200, Maciej Soltysiak mac...@soltysiak.com a écrit : On Tue, Jun 30, 2015 at 3:24 PM, Albert ARIBAUD albert.arib...@free.fr wrote: Bonjour Michał, Le Tue, 30 Jun 2015 13:54:11 +0200, Michał Lipka michal@lipka.email a écrit : 2015-06

Re: [Dnsmasq-discuss] how to configure lot of static routes

2015-06-30 Thread Albert ARIBAUD
Hi Michał, Le Tue, 30 Jun 2015 17:03:09 +0200, Michał Lipka michal@lipka.email a écrit : 2015-06-30 16:56 GMT+02:00 Albert ARIBAUD albert.arib...@free.fr: Bonjour Maciej, Le Tue, 30 Jun 2015 15:56:36 +0200, Maciej Soltysiak mac...@soltysiak.com a écrit : On Tue, Jun 30, 2015 at 3

Re: [Dnsmasq-discuss] how to configure lot of static routes

2015-06-30 Thread Albert ARIBAUD
Le Tue, 30 Jun 2015 19:48:01 +0200, Albert ARIBAUD albert.arib...@free.fr a écrit : yes but RFC 3396 is about Encoding Long Options in the Dynamic Host Configuration Protocol (DHCPv4) Yes, it is. The routes are among these long options. Forget that, sorry, heat wave here is making me slip

Re: [Dnsmasq-discuss] how to configure lot of static routes

2015-06-30 Thread Albert ARIBAUD
Le Tue, 30 Jun 2015 19:52:26 +0200, Albert ARIBAUD albert.arib...@free.fr a écrit : Le Tue, 30 Jun 2015 19:48:01 +0200, Albert ARIBAUD albert.arib...@free.fr a écrit : yes but RFC 3396 is about Encoding Long Options in the Dynamic Host Configuration Protocol (DHCPv4) Yes

Re: [Dnsmasq-discuss] Selective logging for log-queries

2015-06-21 Thread Albert ARIBAUD
Hi Richard, The question is about controlling what is logged, not where it is (and no, I don't have any idea except poor man's solutions such as filtering the whole log -- wherever it comes from -- through grep plus tailf). Ammicalement, Albert. Le Sun, 21 Jun 2015 20:23:27 -0500,

Re: [Dnsmasq-discuss] not giving name because the name exists..

2015-06-18 Thread Albert ARIBAUD
Hi B. Cook, Le Wed, 17 Jun 2015 15:21:59 -0400, B. Cook bc...@poughkeepsieschools.org a écrit : 2.72 on CentOS 6.x latest.. not giving name hp6-216.phs.pcsd to the DHCP lease of 10.20.13.116 because the name exists in /etc/dnsmasq.d/hosts with address 10.20.15.234 This is the literal

Re: [Dnsmasq-discuss] dnsmasq does not answer dhcp requests

2015-06-04 Thread Albert ARIBAUD
Hi Tom, Le Thu, 4 Jun 2015 07:26:55 -0400, Tom Tomson nobol...@gmail.com a écrit : Hi everybody, although I am apparently not the only one with problems like these. Still, I have not found a solution by looking through the list - that's why I am posting this mail. Sorry, if I should have

Re: [Dnsmasq-discuss] Serving DHCP requests from a subnet not matching the interface

2015-06-03 Thread Albert ARIBAUD
Bonjour Johannes, Le Wed, 3 Jun 2015 07:52:59 +0200 (CEST), Johannes Martin jmar...@notamusica.com a écrit : Hi, I have the following network setup: - eth0: 192.168.1.254/24 - br0: 192.168.10.254/24 bridging virtual interfaces eth0.10 and wlan0.10 (plain virtual interfaces,

Re: [Dnsmasq-discuss] Query about solving a DHCPNAK issue

2015-06-01 Thread Albert ARIBAUD
Hi Kevin, Le Mon, 1 Jun 2015 02:02:27 -0700, Kevin Benton blak...@gmail.com a écrit : I understand, but that eliminates the whole 'correcting rouge dhcp offers' part of the authoritative mode. If we are teaching clients to ignore NAKs from other DHCP servers, why do DHCP servers like

Re: [Dnsmasq-discuss] DHCP runs forever / looping

2015-05-16 Thread Albert ARIBAUD
Bonjour Conrad, Le Fri, 15 May 2015 23:41:20 +0200, Conrad Kostecki ck+dnsm...@bl4ckb0x.de a écrit : Hi! I've some trouble with my gentoo notebook. It's using NetworkManager 1.0.0.. But the DHCP process is not stopping. It's forever repeating. Dicover Offer Request Ack Request Ack

Re: [Dnsmasq-discuss] DNS - ICMP - Destination unreachable (Port unreachable) ?

2015-05-13 Thread Albert ARIBAUD
Bonjour Nikita, Le Wed, 13 May 2015 00:58:58 -0700, Nikita N. niki...@operamail.com a écrit : Hi Albert, thank you for your hints, I'm going to setup as you suggest, and see what happens. Anyway, you wrote something very interesting here: a DNS answer is always through IPv4, either over

Re: [Dnsmasq-discuss] DNS - ICMP - Destination unreachable (Port unreachable) ?

2015-05-13 Thread Albert ARIBAUD
Hi Nikita, Le Tue, 12 May 2015 23:49:55 -0700, Nikita N. niki...@operamail.com a écrit : Hi Simon, thanks for the bet! :) So if I'm understanding correctly, it is nothing related to Dnsmasq, right? Right. By your opinion, what is the purpose of such a ICMP/UDP frame sent from src port

Re: [Dnsmasq-discuss] Can not set lease time to less than 2m

2015-02-25 Thread Albert ARIBAUD
Bonjour Tomas, Le Wed, 25 Feb 2015 08:24:25 +0100, Tomas Hozza tho...@redhat.com a écrit : On 02/24/2015 05:26 PM, Jim Alles wrote: You must have a very small network and very special requirements? It was for dhcp client testing purposes. From the man pages for dhcp-range: Enable the

Re: [Dnsmasq-discuss] Are dnsmasq's dhcp-option accumulative

2014-11-24 Thread Albert ARIBAUD
Hi T, Le Tue, 25 Nov 2014 03:01:50 + (UTC), T o n g mlist4sunt...@yahoo.com a écrit : Hi, Are dnsmasq's dhcp-option accumulative? I notice the following two lines in different files from /etc/dnsmasq.d/ dnsmasq.*.conf dhcp-option=option:router,192.168.2.1

Re: [Dnsmasq-discuss] dnsmasq, give IP address a name

2014-11-24 Thread Albert ARIBAUD
Hi T, Le Tue, 25 Nov 2014 02:36:14 + (UTC), T o n g mlist4sunt...@yahoo.com a écrit : Hi, How can I give an IP address a name? We can use 'address=' to map name to IP, and 'alias=' to map IP to IP, but how to map IP to name? The reason that I need this is that, I'm adding a

Re: [Dnsmasq-discuss] DNS whitelist

2014-09-03 Thread Albert ARIBAUD
Hi Craig, Le Wed, 3 Sep 2014 16:32:31 +1000, Craig McQueen craig.mcqu...@beamcommunications.com a écrit : I'd like to use dnsmasq to do a DNS whitelist. That is, I want to block almost all DNS queries, but allow domains in a small whitelist to be forwarded through to the upstream server

Re: [Dnsmasq-discuss] dhcp-host question

2014-08-26 Thread Albert ARIBAUD
Hi Chris, Le Mon, 25 Aug 2014 21:55:00 +0100, Chris Green c...@isbd.net a écrit : On Mon, Aug 25, 2014 at 09:46:01PM +0100, Chris Green wrote: I have the following lines at the end of my /etc/dnsmasq.conf file:- dhcp-host=00:90:a9:70:06:ff,backup

Re: [Dnsmasq-discuss] dhcp-range and catch-all address for ipv4

2014-08-25 Thread Albert ARIBAUD
Hi Vasiliy, Le Mon, 25 Aug 2014 15:42:46 +0400, Vasiliy Tolstov v.tols...@selfip.ru a écrit : Hello. I see that dnsmasq has good option to catch-all ipv6 addresses, does it possible to do that thing for ipv4 address? Can you be more precise about what existing options you are referring to,

[Dnsmasq-discuss] [half-OT] Re: [PATCH] Wrong DHCPv6 packet originated interface

2014-07-02 Thread Albert ARIBAUD
Bonjour Lung-Pin, Le Wed, 2 Jul 2014 14:30:55 +0800, Lung-Pin Chang chan...@cs.nctu.edu.tw a écrit : dhcp-leasefile=/etc/dhcpd/dhcpd.conf.leases Side note: why change the location of the DHCP lease file from the usual /var to /etc? Not that it affects your problem or your solution, but /etc is

Re: [Dnsmasq-discuss] old event to dhcp-script on lease expiry

2014-06-27 Thread Albert ARIBAUD
Hi Nehal, Le Sat, 28 Jun 2014 00:10:32 +0530, Nehal J Wani nehaljw.k...@gmail.com a écrit : Another question, not very much related to dnsmasq, is that when a machine receives a lease for a particular period, when should it query the DHCP again for a new lease? Is it bound to do so, by some

Re: [Dnsmasq-discuss] VLANs and multiple IP addresses for one mac address

2014-06-26 Thread Albert ARIBAUD
Bonjour David, Le Thu, 26 Jun 2014 11:57:25 +0100, David Joslin dav...@nkcc.org.uk a écrit : On 25 June 2014 06:24, Albert ARIBAUD albert.arib...@free.fr wrote: Hi David, Le Tue, 24 Jun 2014 23:50:54 +0100, David Joslin dav...@nkcc.org.uk a écrit : Thanks for the reply, Simon

Re: [Dnsmasq-discuss] VLANs and multiple IP addresses for one mac address

2014-06-26 Thread Albert ARIBAUD
Bonjour David, Le Thu, 26 Jun 2014 14:19:14 +0100, David Joslin dav...@nkcc.org.uk a écrit : On 26 June 2014 12:45, Albert ARIBAUD albert.arib...@free.fr wrote: Bonjour David, ​Here's the configuration for the DHCP range used on one VLAN (on interface br1). interface=br1

Re: [Dnsmasq-discuss] VLANs and multiple IP addresses for one mac address

2014-06-26 Thread Albert ARIBAUD
Bonjour Albert, Le Thu, 26 Jun 2014 18:30:19 +0200, Albert ARIBAUD albert.arib...@free.fr a écrit : Bonjour David, Le Thu, 26 Jun 2014 14:19:14 +0100, David Joslin dav...@nkcc.org.uk a écrit : On 26 June 2014 12:45, Albert ARIBAUD albert.arib...@free.fr wrote: Bonjour David

Re: [Dnsmasq-discuss] VLANs and multiple IP addresses for one mac address

2014-06-24 Thread Albert ARIBAUD
Hi David, Le Tue, 24 Jun 2014 23:50:54 +0100, David Joslin dav...@nkcc.org.uk a écrit : Thanks for the reply, Simon. How would I do that? I already use the --dhcp-host option to allocate IP addresses by MAC address for certain clients but these are all machines with just one IP address

Re: [Dnsmasq-discuss] DHCP option for Captive Portals

2014-05-26 Thread Albert ARIBAUD
Hi Donald, Le Mon, 26 May 2014 21:23:27 -0300, Donald Chisholm donald.chish...@gmail.com a écrit : Hi all, Recently I have noticed that on connect some wifi hotspots provide a popup message indicating that the user must login to obtain Internet access. Since the user has not yet opened a

Re: [Dnsmasq-discuss] dnsmasq tries to start up before eth0 is ready, how to fix?

2014-05-25 Thread Albert ARIBAUD
Bonjour Chris, Le Sun, 25 May 2014 19:02:18 +0100, Chris Green c...@isbd.net a écrit : I have the following in my dnsmasq.conf file:- listen-address=192.168.1.4 listen-address=127.0.0.1 In syslog when I reboot I'm seeing:- May 25 18:45:07 chris dnsmasq[1300]: failed to

Re: [Dnsmasq-discuss] ipv6 slaac with global prefixes

2014-04-01 Thread Albert ARIBAUD
Le 01/04/2014 08:54, Vasiliy Tolstov a écrit : Hi all. I'm try to use ipv6 slaac addresses and get global routing in my simple network. What i need to specify in dnsmasq.conf to provide global prefix to nodes? Now i write dhcp-range=::1,slaac,5m dhcp-option=option6:dns-server,[::] enable-ra

Re: [Dnsmasq-discuss] ipv6 slaac with global prefixes

2014-04-01 Thread Albert ARIBAUD
Le 01/04/2014 09:38, Vasiliy Tolstov a écrit : 2014-04-01 11:26 GMT+04:00 Albert ARIBAUD albert.arib...@free.fr: Ok, then, did you have a look at your router's and client's DHCP, network and/or system logs? why i need dhcp logs? i don't use it. all that i have - dnsmasq with radv enabled

Re: [Dnsmasq-discuss] Is there any method to flush dnsmasq's cache without interrupt service

2014-03-21 Thread Albert ARIBAUD
Le 21/03/2014 07:59, 胡文峰 a écrit : HI friends: I want to flush the dnsmasq cache under some conditions! But when I run /etc/init.d/dnsmasq restart, the dns service got interrupted for 1-2 seconds! So I wonder is there any methods to ask dnsmasq to drop all the cache without interrupt the dns

Re: [Dnsmasq-discuss] Reverse lookups not working in authoritative mode

2014-03-12 Thread Albert ARIBAUD
Hi Franco, Le 12/03/2014 04:39, Franco Broi a écrit : Hi I just configured my dnsmasq server to be authoritative but now reverse lookups don't work. With debug turned on I can see that the address is resolved and with strace I can even see the resolved hostname being sent in sendmsg but the

Re: [Dnsmasq-discuss] dnsmasq, NetworkManager and VPNs

2014-03-06 Thread Albert ARIBAUD
Le 06/03/2014 12:28, Simon Kelley a écrit : On 06/03/14 01:39, Tony Breeds wrote: Hi All, I'm a new user of dnsmasq and I can't see an easy way to do what I want to do. My situation is (probably not that uncommon) I need to connect to a work VPN and while I'm connected to said VPN I

Re: [Dnsmasq-discuss] Recursive DNS on dnsmasq

2014-02-25 Thread Albert ARIBAUD
Le 25/02/2014 18:36, Jeroen van der Ham a écrit : Hi, On 25 Feb 2014, at 17:04, Albert ARIBAUD albert.arib...@free.fr wrote: It is possible, however I think it is not the province of dnsmasq itself, but of packagers who integrate dnsmasq in distributions -- and of system admins, who can

Re: [Dnsmasq-discuss] Sending RA without dhcp-range

2014-01-16 Thread Albert ARIBAUD
Le 17/01/2014 07:10, Albert ARIBAUD a écrit : As per 'man dnsmasq' (search for 'dhcp-range'), the possible modes for IPv6 ranges include 'ra-only', which will previsely enable RAs without *precisely. Amicalement, -- Albert. ___ Dnsmasq-discuss

Re: [Dnsmasq-discuss] DHCP over a wireless bridge

2014-01-08 Thread Albert ARIBAUD
Le 08/01/2014 14:35, Nikita N. a écrit : Hi Albert :) you didnt mention last time you had a wifi based configuration too, nice to know! :) You don't imagine what's in my config, Nikita. :) To answer John, if I can try to help, yes, your requirement looks little unclear to me too.. FYI, Im

Re: [Dnsmasq-discuss] DHCP over a wireless bridge

2014-01-07 Thread Albert ARIBAUD
Le 08/01/2014 03:11, John Kaye a écrit : Hi All, I'm developing a transparent wireless bridge for a client who manufactures printers. The printers connect through the Ethernet side of the bridge and the wireless side of the bridge associates with an AP. The AP will reject frames from the

Re: [Dnsmasq-discuss] ARP ignores DHCP ACKs !

2013-12-25 Thread Albert ARIBAUD
Le 25/12/2013 12:07, Nikita N. a écrit : The important point for your situation is that it's perfectly normal to see a DHCP client make an ARP request as part of the address-aquisition process, and for that ARP request to go un-answered. Hi Simon :) Yes, that I understood very clearly, such

Re: [Dnsmasq-discuss] How to reset cache of dnsmasq?

2013-12-25 Thread Albert ARIBAUD
Le 26/12/2013 04:31, Peng Yu a écrit : Hi, I can't find a command to reset cache of dnsmasq. Could anybody let me know? Thanks. From a man dnsmasq: 8888888888 [...] -1, --enable-dbus Allow dnsmasq configuration to be

Re: [Dnsmasq-discuss] all I wanted to do was temporarily dnsMASQ some addresses

2013-12-14 Thread Albert ARIBAUD
Le 14/12/2013 00:32, jida...@jidanni.org a écrit : OK I found a method to temporarily e.g., make doubleclick point to localhost or back, without changing any of the Debian dnsmasq default configuration: # ed /etc/hosts # /etc/init.d/dnsmasq restart Why restart (which involves a long stop and

Re: [Dnsmasq-discuss] address=/#/192.168.0.1 - does not work!

2013-12-09 Thread Albert ARIBAUD
Le 09/12/2013 09:29, Nikita N. a écrit : Hi All, its the first time for me on this maillist :) Im trying some tests with dnsmasq, but I cant make it work.. sorry :( I dont know if its a bug.. or its just me missing something.. So here what I want to do: I created a tap ethernet interface (on

Re: [Dnsmasq-discuss] address=/#/192.168.0.1 - does not work!

2013-12-09 Thread Albert ARIBAUD
Le 09/12/2013 11:50, Nikita N. a écrit : Hi Albert :) what I wrote you is what in fact I *see* from Wireshark. I see all traffic there, I see exactly when and where appears the frame into at0, the DHCP and DNS request frames from me, the correct answers from dnsmasq and the silences from dnsmasq

Re: [Dnsmasq-discuss] address=/#/192.168.0.1 - does not work!

2013-12-09 Thread Albert ARIBAUD
Le 09/12/2013 12:26, Nikita N. a écrit : Hi Albert :) I see you want a complete log/trace session for your debugging, isnt it? :) *My* debugging? No. I don't intend to debu your issue, only have a look at it and see if, as a user of dnsmasq to another, I can help *you* debugging. :) Also,

Re: [Dnsmasq-discuss] address=/#/192.168.0.1 - does not work!

2013-12-09 Thread Albert ARIBAUD
Le 09/12/2013 13:41, Nikita N. a écrit : OH my god! :)) I see now you are not the author of dnsmasq.. I see the author id Simon Kelley.. apologies, I thought I was talking with the author :) Never mind. :) Of course you dont have to debug that issue! :D No, really, im pretty sure of what I

Re: [Dnsmasq-discuss] Can't ping when using FQDN

2013-11-08 Thread Albert ARIBAUD
Le 08/11/2013 11:08, Guillaume Betous a écrit : what kind of local domain name can I use ? I thought the .local was reserved for local networks... I have personally configured my dnsmasq so that dotless names are resolved locally, using names known to dnsmasq through /etc/hosts as well as

Re: [Dnsmasq-discuss] Can't ping when using FQDN

2013-11-07 Thread Albert ARIBAUD
Le 08/11/2013 07:44, Guillaume Betous a écrit : Hi ! I'm trying to setup my local network with a local domain (say domain.local). In dnsmasq.conf : - local=/domain.local/ - domain=domain.local - expand_hosts Only the server has a fixed IP address (192.168.0.11), all other use DNS : DNS is

Re: [Dnsmasq-discuss] Tagging by interface?

2013-09-03 Thread Albert ARIBAUD
Albert[us] Quitum salutem dat, Le 03/09/2013 13:42, Quintus a écrit : Hi guys, I’m trying to get dnsmasq to provide IPs from different ranges based on the interface the requests come in. That is, I want it to provide different IPs for wired clients (interface eth0) and wireless clients

Re: [Dnsmasq-discuss] Insecure function use

2013-08-30 Thread Albert ARIBAUD
Le 30/08/2013 11:52, microcai a écrit : 2013/8/30 Rosen Penev ros...@gmail.com: I did a git grep for strcat, strcpy, and sprintf and found numerous entries in the codebase. Is there a specific reason for their use? Who told you strcat/strcpy/sprintf is not secure ? This is absolutely

Re: [Dnsmasq-discuss] Can't get caching to work consistently for external clients

2013-07-29 Thread Albert ARIBAUD
Le 29/07/2013 02:25, sirquij...@lavabit.com a écrit : Hi, Hi, (keeping only the point that ticked me) There is one other thing that may be related: my resolv.conf file's contents keep getting periodically re-written to point exclusively to my network's router. I'm not sure why this occurs,

Re: [Dnsmasq-discuss] Make RA_INTERVAL configureable? Deprecate old prefixes?

2013-07-16 Thread Albert ARIBAUD
Hi, Le 16/07/2013 10:38, Uwe Schindler a écrit : Hi, I really like the dnsmasq implementation as replacement to my previous installation with radvd, because it closely integrates with DHCP. It also sends instant RA when a client requests DHCP, so it does not have to wait until the RA is sent

<    1   2