[Dnsmasq-discuss] dhcp-mac question

2012-04-11 Thread jack seth
Can you specify more than one mac address with the 'dhcp-mac' command? Possibly separated by a comma maybe? For example, dhcp-mac=downstairs,12:34:56:78:9A:BC,BC:9A:78:56:34:12. Or do you have to list a bunch of dhcp-mac commands separately for each mac address?

Re: [Dnsmasq-discuss] Error returning query result from FreeBSD jail

2012-04-11 Thread Jan Seiffert
Simon Kelley schrieb: > On 11/04/12 19:49, Jan Seiffert wrote: [snip] >> I think the dnsmasq code is to blame here. First in util.c we have >> the sa_len function. It returns the sa_len field for OS which have >> it. Instead it should strictly go by sa_family, no matter what the >> OS. And second,

Re: [Dnsmasq-discuss] Error returning query result from FreeBSD jail

2012-04-11 Thread Simon Kelley
On 11/04/12 19:49, Jan Seiffert wrote: David Nelson schrieb: Hi, I have been trying to get dnsmasq 2.60.1 working on my FreeNAS server within a FreeBSD 8.2 jail without any luck. Dnsmasq is able to receive requests, resolve them either by the local hosts file or external dns servers but then

Re: [Dnsmasq-discuss] Error returning query result from FreeBSD jail

2012-04-11 Thread Jan Seiffert
David Nelson schrieb: > Hi, > I have been trying to get dnsmasq 2.60.1 working on my FreeNAS server within > a FreeBSD 8.2 jail without any luck. > > Dnsmasq is able to receive requests, resolve them either by the local hosts > file or external dns servers but then it can't reply back to the enq

Re: [Dnsmasq-discuss] Error returning query result from FreeBSD jail

2012-04-11 Thread Simon Kelley
On 11/04/12 18:30, David Nelson wrote: Hi, I have been trying to get dnsmasq 2.60.1 working on my FreeNAS server within a FreeBSD 8.2 jail without any luck. Dnsmasq is able to receive requests, resolve them either by the local hosts file or external dns servers but then it can't reply back to th

Re: [Dnsmasq-discuss] [patch] don't cache NODATA when upstream doesn't support recursion

2012-04-11 Thread Simon Kelley
On 11/04/12 06:00, Ben Winslow wrote: Is there any chance dnsmasq will ever support TSIG signing of the queries it forwards? ;) (...bind can use signatures to identify a client for acl matching. *I'd* use it, but I'd surely be the minority.) Not likely, I'm thinking about DNSSEC validation, so

[Dnsmasq-discuss] Error returning query result from FreeBSD jail

2012-04-11 Thread David Nelson
Hi, I have been trying to get dnsmasq 2.60.1 working on my FreeNAS server within a FreeBSD 8.2 jail without any luck. Dnsmasq is able to receive requests, resolve them either by the local hosts file or external dns servers but then it can't reply back to the enquirer. Running in --no-daemon

Re: [Dnsmasq-discuss] load balancing with interfaces

2012-04-11 Thread Helmut Hullen
Hallo, Richard, Du meintest am 11.04.12: [...] >> Changing the "range" definitions to >> >> dhcp-range=eth0,192.168.0.1,static,300d >> dhcp-range=eth1,192.168.18.10,192.168.31.250,2d >> >> also doesn't work as expected. >> >> Users who use a schoolish client with (p.e.) >> >> dhcp-host=00:11:22

Re: [Dnsmasq-discuss] load balancing with interfaces

2012-04-11 Thread richardvo...@gmail.com
On Wed, Apr 11, 2012 at 4:31 AM, Helmut Hullen wrote: > Hallo, > > in a school I want to run all schoolish clients (about 150) over eth0, > with quasi static IP addresses ("dhcp-host=...") and all private clients > (private netbooks, smartphones etc.) over eth1 (completely DHCP, lease > time 2 da

[Dnsmasq-discuss] load balancing with interfaces

2012-04-11 Thread Helmut Hullen
Hallo, in a school I want to run all schoolish clients (about 150) over eth0, with quasi static IP addresses ("dhcp-host=...") and all private clients (private netbooks, smartphones etc.) over eth1 (completely DHCP, lease time 2 days). eth0: 192.168.0.0/24 eth1: 192.168.16.0/20 My dnsmasq

[Dnsmasq-discuss] Dnsmasq source code

2012-04-11 Thread dnsmasq dnsmasq
Hello, Can you please explain what does the constants below (defined in dnsmasq.h file) mean? because I found many tests in the functions coded whitch use theses constants. #define CONFIG_DISABLE 1 #define CONFIG_CLID 2 #define CONFIG_TIME 8 #define CONFIG_NAME 16 #define CONFIG_ADDR 32 #define CO