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

2016-11-22 Thread Rahul Jain
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 the dnsmasq as a service which I 
can't do on mipsel-linux because it doesn't contain anything equivalent to 
"service". So I'm generating the binary on a ubuntu(16.04 LTS) system and using 
that in the router running mipsel-linux.

On the ubuntu system, when I run dnsmasq with add-mac in the configuration, I'm 
able to see EDNS0 option in the dns query. This is happening only when I 
installed and run dnsmasq from apt-get. When I tried to compile it and run it 
from the same configurations, I'm not able to see the EDNS0 option. Now I'm 
left with two things, one is to install dnsmasq from the apt-get on 
mipsel-linux which is not possible because it does not have apt-get or any 
other package manager and the second option being to compile the source for the 
router.

So for now, I want to compile the dnsmasq source code on my ubuntu system or 
for the router, not from the apt-get, and want the EDNS0 option in the dns 
query.


From: Albert ARIBAUD <albert.arib...@free.fr>
Sent: Tuesday, November 22, 2016 7:14:08 PM
To: Rahul Jain
Cc: dnsmasq-discuss@lists.thekelleys.org.uk
Subject: Re: [Dnsmasq-discuss] Dnsmasq-discuss Digest, Vol 138, Issue 13

Hi Rahul,

Le Tue, 22 Nov 2016 05:51:17 +
Rahul Jain <rahul2...@outlook.com> 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 of the connected clients when I add the
> add-mac option in the conf file.

Ok, so IIUC, you do not have access to the source code of the system
installed on your router, and especially you do not have access to the
source code and build instructions to rebuild your router's dnsmasq.

But you do have access to the router's filesystem, right? So you can
inspect its services scripts and find out what it does and why the
add-mac option is not passed to dnsmasq.

Amicalement,
--
Albert.
___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


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

2016-11-21 Thread Rahul Jain
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 
of the connected clients when I add the add-mac option in the conf file.


From: Dnsmasq-discuss <dnsmasq-discuss-boun...@lists.thekelleys.org.uk> on 
behalf of dnsmasq-discuss-requ...@lists.thekelleys.org.uk 
<dnsmasq-discuss-requ...@lists.thekelleys.org.uk>
Sent: Tuesday, November 22, 2016 12:14 AM
To: dnsmasq-discuss@lists.thekelleys.org.uk
Subject: Dnsmasq-discuss Digest, Vol 138, Issue 13

Send Dnsmasq-discuss mailing list submissions to
dnsmasq-discuss@lists.thekelleys.org.uk

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
or, via email, send a message with subject or body 'help' to
dnsmasq-discuss-requ...@lists.thekelleys.org.uk

You can reach the person managing the list at
dnsmasq-discuss-ow...@lists.thekelleys.org.uk

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Dnsmasq-discuss digest..."


Today's Topics:

   1. Help: Changes when service dnsmasq start is   executed (Rahul Jain)
   2. Re: Help: Changes when service dnsmasq start is executed
  (Albert ARIBAUD)
   3. Re: Help: Changes when service dnsmasq start is executed
  (/dev/rob0)
   4. Re: DHCPv6 ULA & Global address allocation & Apple devices
  (Kevin Darbyshire-Bryant)
   5. Re: Dnsmasq-discuss search facility (s.O.T.) (Simon Kelley)
   6. Re: DHCPv6 ULA & Global address allocation & Apple devices
  (Kevin Darbyshire-Bryant)


--

Message: 1
Date: Mon, 21 Nov 2016 13:43:24 +
From: Rahul Jain <rahul2...@outlook.com>
To: "dnsmasq-discuss@lists.thekelleys.org.uk"
<dnsmasq-discuss@lists.thekelleys.org.uk>
Subject: [Dnsmasq-discuss] Help: Changes when service dnsmasq start is
executed
Message-ID:

<mwhpr19mb09582c4881f3aca46e62c10bb7...@mwhpr19mb0958.namprd19.prod.outlook.com>

Content-Type: text/plain; charset="iso-8859-1"

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 option in 
/etc/dnsmasq.conf and start the dnsmasq service, I'm able to get the EDNS0 
option in a dns query but when I compiled from the source and ran it, the same 
thing doesn't happen.


Thanks & Regards,

Rahul Jain
-- next part --
An HTML attachment was scrubbed...
URL: 
<http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20161121/fb2c706e/attachment-0001.html>

--

Message: 2
Date: Mon, 21 Nov 2016 15:45:25 +0100
From: Albert ARIBAUD <albert.arib...@free.fr>
To: Rahul Jain <rahul2...@outlook.com>
Cc: "dnsmasq-discuss@lists.thekelleys.org.uk"
<dnsmasq-discuss@lists.thekelleys.org.uk>
Subject: Re: [Dnsmasq-discuss] Help: Changes when service dnsmasq
start is executed
Message-ID: <20161121154525.0df935ba@lilith>
Content-Type: text/plain; charset=UTF-8

Hi Rahul,

Le Mon, 21 Nov 2016 13:43:24 +
Rahul Jain <rahul2...@outlook.com> 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
> option in /etc/dnsmasq.conf and start the dnsmasq service, I'm able
> to get the EDNS0 option in a dns query but when I compiled from the
> source and ran it, the same thing doesn't happen.

I believe you are mistaking two things here: the dnsmasq executable on
the one hand, and the operating system use of dnsmasq on the other hand.

The dnsmasq project only provides the dnsmasq executable. It does not
provide the scripts that the "service dnsmasq start" or "service
dnsmasq stop" commands will run.

These scripts are part of the operating system, and may actually vary
from distribution to distribution.

For instance, dnsmasq *never* edits the /etc/resolv.conf file -- this
is a system change which only the system can perform in a consistent
way.

To understand what "service dnsmasq *" does on your system, you should
refer to the documentation of the distribution you are using.

> Thanks & Regards,
>
> Rahul Jain

Amicalement,
--
Albert.



--

Message: 3
Date: Mon, 21 Nov 2016 09:44:31 -0600
From: /dev/rob0 <r...@gmx.co.uk>
To: dnsmasq-discuss@lists.thekelleys.org.uk
Subject: Re: [Dnsmasq-discuss] Help