Re: [Dnsmasq-discuss] Question on dnsmasq code, which may occur a bad-free

2024-10-04 Thread Simon Kelley
On 21/09/2024 12:08, 胡义臻 wrote: I'm renmingshuai's successor, a beginner with dnsmasq, and this e-mail is follow-up to https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2024q3/017664.html Question 1: Why do

Re: [Dnsmasq-discuss] Question on dnsmasq code, tests

2024-09-21 Thread Geert Stappers
On Sat, Sep 21, 2024 at 01:53:59PM +0200, Geert Stappers wrote: > On Sat, Sep 21, 2024 at 07:08:45PM +0800, 胡义臻 wrote: > > Are there any common test cases for dnsmasq? > > > > I found this test case on github, but it covered so little that I > > wanted to find a comprehensive use case to ensure th

Re: [Dnsmasq-discuss] Question on dnsmasq code, tests

2024-09-21 Thread Geert Stappers
On Sat, Sep 21, 2024 at 07:08:45PM +0800, 胡义臻 wrote: > Are there any common test cases for dnsmasq? > > I found this test case on github, but it covered so little that I > wanted to find a comprehensive use case to ensure that my changes were > correct and did not introduce problems. > > https://

[Dnsmasq-discuss] Question on dnsmasq code, which may occur a bad-free

2024-09-21 Thread 胡义臻
I'm renmingshuai's successor, a beginner with dnsmasq, and this e-mail is follow-up to https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2024q3/017664.html Question 1: Why does the dhcp_reply function add the stack variable netid to daemon->dhcp_conf->netid->list, which is a global vari

Re: [Dnsmasq-discuss] Question about behaviour of '#' symbol

2024-03-19 Thread Elias LA via Dnsmasq-discuss
Thanks again. I will rephrase my question one last time: Considering that I have the rule `address=/*.firebaseio.com/`, how can I allow only the domain `firebaseio.com` without having to use the instruction `server=/firebaseio.com/8.8.8.8`? (How can I block all the subdomains except the main do

Re: [Dnsmasq-discuss] Question about behaviour of '#' symbol

2024-03-18 Thread Matus UHLAR - fantomas
On 18.03.24 14:21, Elias LA via Dnsmasq-discuss wrote: Thanks. I see. So the rule `server=/firebaseio.com/#` is sent to local server 127.0.0.1 which then blocks it because it has the rule `address=/*.firebaseio.com/` I don't think the request is sent anywhere, why would dnsmasq send it to i

Re: [Dnsmasq-discuss] Question about behaviour of '#' symbol

2024-03-18 Thread Elias LA via Dnsmasq-discuss
Thanks. I see. So the rule `server=/firebaseio.com/#` is sent to local server 127.0.0.1 which then blocks it because it has the rule `address=/*.firebaseio.com/` A rephrase of my question is: How can I route `firebaseio.com` to resolve using default address (the standard server defined by `ser

Re: [Dnsmasq-discuss] Question about behaviour of '#' symbol

2024-03-18 Thread Matus UHLAR - fantomas
On 18.03.24 12:29, Elias LA via Dnsmasq-discuss wrote: Yes, I am aware about the documentation which you quoted (and which I quoted). But how do you explain that the domain `firebaseio.com` is being blocked by set 1 and NOT by set 2? As you mentioned, we should expect `server=/firebaseio.com/#

Re: [Dnsmasq-discuss] Question about behaviour of '#' symbol

2024-03-18 Thread Elias LA via Dnsmasq-discuss
Thanks Matus. Yes, I am aware about the documentation which you quoted (and which I quoted). But how do you explain that the domain `firebaseio.com` is being blocked by set 1 and NOT by set 2? As you mentioned, we should expect `server=/firebaseio.com/#` to lookup the domain from `8.8.8.8`. Bu

Re: [Dnsmasq-discuss] Question about behaviour of '#' symbol

2024-03-18 Thread Matus UHLAR - fantomas
On 18.03.24 09:41, Elias LA via Dnsmasq-discuss wrote: In mydnsmasq.conffile, I have either one of two sets of rules: # Set 1: no-resolv server=8.8.8.8 server=/firebaseio.com/# address=/*.firebaseio.com/ # Set 2: no-resolv server=8.8.8.8 server=/firebaseio.com/8.8.8.8 address=/*.firebaseio.

[Dnsmasq-discuss] Question about behaviour of '#' symbol

2024-03-18 Thread Elias LA via Dnsmasq-discuss
Dear Dnsmasq team, I have a question which I hope someone can kindly clarify: In mydnsmasq.conffile, I have either one of two sets of rules: # Set 1: no-resolv server=8.8.8.8 server=/firebaseio.com/# address=/*.firebaseio.com/ # Set 2: no-resolv server=8.8.8.8 server=/firebaseio.com/8.8.8.8

Re: [Dnsmasq-discuss] Question about --all-servers in man page

2021-09-06 Thread Masanari Iida
On Sun, Sep 5, 2021 at 4:02 AM Dominik DL6ER wrote: > Hey Masanari, > > On Fri, 2021-09-03 at 19:26 +0900, Masanari Iida wrote: > > dnsmasq-2.85 (Fedora 33, x86_64) > > multiple upstream DNS servers in config file. > > No --strict-order, No --all-server setting . > > > > Symptom > > Explanation a

Re: [Dnsmasq-discuss] Question about --all-servers in man page

2021-09-04 Thread Dominik DL6ER
Hey Masanari, On Fri, 2021-09-03 at 19:26 +0900, Masanari Iida wrote: > dnsmasq-2.85 (Fedora 33, x86_64) > multiple upstream DNS servers in config file. > No --strict-order, No --all-server setting . > > Symptom > Explanation about --all-servers in dnsmasq(8) man page could > be different from a

[Dnsmasq-discuss] Question about --all-servers in man page

2021-09-03 Thread Masanari Iida
dnsmasq-2.85 (Fedora 33, x86_64) multiple upstream DNS servers in config file. No --strict-order, No --all-server setting . Symptom Explanation about --all-servers in dnsmasq(8) man page could be different from actual dnsmasq behavior. In man page, it is written that "By default, when dnsmasq has

Re: [Dnsmasq-discuss] Question

2020-04-10 Thread john doe
On 4/11/2020 1:43 AM, Michael wrote: > On 4/10/20 2:46 PM, Dave Harrison wrote: >> Greetings, >> >> I was attempting to post a question to your board.  I'm not clear if I >> was successful in logging in or not.  However, I will post the >> question to this email.  Hopefully this will be a reasonabl

Re: [Dnsmasq-discuss] Question

2020-04-10 Thread Michael
On 4/10/20 2:46 PM, Dave Harrison wrote: Greetings, I was attempting to post a question to your board.  I'm not clear if I was successful in logging in or not.  However, I will post the question to this email.  Hopefully this will be a reasonable format for asking the question. The question

Re: [Dnsmasq-discuss] Question

2020-04-10 Thread Geert Stappers
On Fri, Apr 10, 2020 at 05:46:50PM -0400, Dave Harrison wrote: > ... website ... > ... unable to access the website from the public side. I > was able to view the website from within my local network. > > I am asking this question to determine if the dnsmasq > application may help me solve this

[Dnsmasq-discuss] Question

2020-04-10 Thread Dave Harrison
Greetings, I was attempting to post a question to your board. I'm not clear if I was successful in logging in or not. However, I will post the question to this email. Hopefully this will be a reasonable format for asking the question. The question: I have configured a Raspberry Pi 4 with a LA

Re: [Dnsmasq-discuss] Question about the behavior of options 66 and 67

2018-07-30 Thread Shankar Unni
> On Jul 25, 2018, at 1:35 PM, Simon Kelley wrote: > > I think is you specify dhcp boot and dhcp-bo-override and dhcp-option > fro 66 and 67 then the data will always be sent in the bootp fields, and > will be sent as options if requested. Experiment needed to be sure. > > > Like a lot of DHCP

Re: [Dnsmasq-discuss] Question about the behavior of options 66 and 67

2018-07-25 Thread Simon Kelley
On 25/07/18 19:03, Shankar Unni wrote: > Thanks, Simon! > > I did discover this and figured out that we can specify it as —dhcp-boot=… > and —dhcp-no-override. But then these options will ALWAYS only be sent as > bootp fields, right? > > Will there be an issue the other way, then? (I.e. som

Re: [Dnsmasq-discuss] Question about the behavior of options 66 and 67

2018-07-25 Thread Shankar Unni
Thanks, Simon! I did discover this and figured out that we can specify it as —dhcp-boot=… and —dhcp-no-override. But then these options will ALWAYS only be sent as bootp fields, right? Will there be an issue the other way, then? (I.e. some client that sends in options 66/67 in parameter requ

Re: [Dnsmasq-discuss] Question about the behavior of options 66 and 67

2018-07-25 Thread Simon Kelley
This dnsmasq configuration is relevant: --dhcp-no-override (IPv4 only) Disable re-use of the DHCP servername and filename fields as extra option space. If it can, dnsmasq moves the boot server and filename information (from --dhcp-boot) out of their dedicated fields

[Dnsmasq-discuss] Question about the behavior of options 66 and 67

2018-07-24 Thread Shankar Unni
One of our users ran into an interesting issue. They have IP phones that explicitly request options 66 and 67 as part of their DHCP Parameter Request List of the DISCOVER/REQUEST, but still expect the resultant OFFER/ACK to return those values in the “sname” and “file” fields (within the “bo

[Dnsmasq-discuss] Question on dnsmasq domain routing.

2018-05-11 Thread David Leigh
Hello! I have a domain that I need to route to a series of name servers that are outside public DNS servers. Can dnsmasq a single domain to a select set of DNS server ip addresses? If so, does anyone have any examples of the configuration of this? Thanks! David Leigh __

[Dnsmasq-discuss] Question about addn-hosts and cache-size directives

2016-09-18 Thread george Nopicture
Hello Simon, congrats for such a great piece of software. I was wondering about the case where we have an external hosts file with a list of ad blocking address-to-domain mappings. Now when dnsmasq starts up 1. does it read the whole file once and possibly adds the mappings to the dns cache

Re: [Dnsmasq-discuss] question about the host-record= example

2015-12-07 Thread Olaf Hering
On Wed, Nov 18, Olaf Hering wrote: > I wonder why the example in the host-record= lists both? Any answer to that question? Olaf ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dn

[Dnsmasq-discuss] question about the host-record= example

2015-11-18 Thread Olaf Hering
I have several host-record=$name,$name.$domain,$ip4,$ip6 lines in my dnsmasq 2.62 conf file. Today I realized that "host $ip4" resolves to just "${name}.", but I was expecting "${name}.${domain}.". So I removed the "$name," part and get now the full name. I wonder why the example in the host-recor

[Dnsmasq-discuss] question about dhcp_release

2015-01-03 Thread Rene Stoutjesdijk
Goodday, i do have a question about dhcp_release.c I'm trying to clear an entry within the dhcp lease table. At this moment i'm providing the ip address based upon dhcp-circuitid. At this moment one of the en-users changed his mac address and due to that resins he can't connect until his old rel

[Dnsmasq-discuss] Question about DNS request refused when using the 'host' command on RHEL 5

2014-02-06 Thread Mike Prewitt
Hi, Am a newbie with dnsmasq, but it looks like a very useful piece of software. I know that this is probably a bone-headed question.. but I set it up on a private non-internet accessible RHEL 5.10 'host' on a private non-internet accessible network. Some programs like 'dig' and 'nslookup' wo

Re: [Dnsmasq-discuss] Question: wildcard address for MX hosts?

2014-02-04 Thread Albert ARIBAUD
Le 04/02/2014 12:28, Simon Kelley a écrit : On 03/02/14 12:01, Bob Brown - Turboweb wrote: Hi, I'm a long time user of dnsmasq and I'm giving a presentation tomorrow in which I assumed that dnsmasq could resolve any MX request to an alternate IP address. It can do it for named domains but I'd

Re: [Dnsmasq-discuss] Question: wildcard address for MX hosts?

2014-02-04 Thread Simon Kelley
On 03/02/14 12:01, Bob Brown - Turboweb wrote: Hi, I'm a long time user of dnsmasq and I'm giving a presentation tomorrow in which I assumed that dnsmasq could resolve any MX request to an alternate IP address. It can do it for named domains but I'd like to do it for any MX like can be done fo

[Dnsmasq-discuss] Question: wildcard address for MX hosts?

2014-02-03 Thread Bob Brown - Turboweb
Hi, I'm a long time user of dnsmasq and I'm giving a presentation tomorrow in which I assumed that dnsmasq could resolve any MX request to an alternate IP address. It can do it for named domains but I'd like to do it for any MX like can be done for A records usin

Re: [Dnsmasq-discuss] question about dns behavior

2013-10-04 Thread Simon Kelley
On 03/10/13 17:55, Craig Yoshioka wrote: What does dnsmasq do in the event that it has a cached DNS entry that may be expired but the upstream DNS host isn't reachable? Does it give up and return the cached but expired entry? (That's how I'm hoping it behaves). No, it never returns out-of-da

[Dnsmasq-discuss] question about dns behavior

2013-10-03 Thread Craig Yoshioka
What does dnsmasq do in the event that it has a cached DNS entry that may be expired but the upstream DNS host isn't reachable? Does it give up and return the cached but expired entry? (That's how I'm hoping it behaves). Thanks, -Craig ___ Dnsmasq-dis

Re: [Dnsmasq-discuss] [QUESTION] Why constructor in ipv6 range not work as expected?

2013-05-30 Thread Simon Kelley
On 30/05/13 15:09, zhiqiang wang wrote: Hello all. in my dnsmasq.conf,I put a dhcp-range as follows: dhcp-range=tag:br0,::10,::,constructor:br0,ra-names,1440m br0 ipv6 address is:a:b:c:d::1/64 I wish dnsmasq will do router advertise on a:b:c:d::, however, dnsmasq detected ra prefix ::10

[Dnsmasq-discuss] [QUESTION] Why constructor in ipv6 range not work as expected?

2013-05-30 Thread zhiqiang wang
Hello all. in my dnsmasq.conf,I put a dhcp-range as follows: dhcp-range=tag:br0,::10,::,constructor:br0,ra-names,1440m br0 ipv6 address is:a:b:c:d::1/64 I wish dnsmasq will do router advertise on a:b:c:d::, however, dnsmasq detected ra prefix ::10 and never send ra message on br0. However

[Dnsmasq-discuss] Question on TFTP - server with multiple NIC?

2012-09-11 Thread K R
Hi all, Situation : I work in a small computer repair shop. For a number of the tools we use PXE will be a good option. For the security of our clients and to keep costs down I am building a single server which has 2 NIC's - one for machines known to be clean and one as a "red zone" for machi

[Dnsmasq-discuss] Question of DHCP conf through private instance

2012-07-16 Thread V Yegyanathan
Hi. I am new to this group and I have requirement were the ip addresses are auto configured through dhcp and no config file changes. I short, the following are the steps I tried with no fruitful results. // create a bridge and associate a dnsmasq instance sudo brctl addbr mgmtbr0 sudo ip addr add

Re: [Dnsmasq-discuss] question about --dhcp-hostsfile

2012-07-06 Thread Simon Kelley
On 06/07/12 21:26, Shashank Shanbhag wrote: Thanks for your prompt reply, Simon and Harish. I used the exact format suggested (mac,ip,lease). Additionally, I see this in the logs when dnsmasq starts, dnsmasq[16686]: cannot read /var/run/_root_root_vdhcpd200.dhcp_hosts.cfg: Permission denied dns

Re: [Dnsmasq-discuss] question about --dhcp-hostsfile

2012-07-06 Thread Shashank Shanbhag
Thanks for your prompt reply, Simon and Harish. I used the exact format suggested (mac,ip,lease). Additionally, I see this in the logs when dnsmasq starts, dnsmasq[16686]: cannot read /var/run/_root_root_vdhcpd200.dhcp_hosts.cfg: Permission denied dnsmasq[16686]: read /var/run/_root_root_vdhcpd20

Re: [Dnsmasq-discuss] question about --dhcp-hostsfile

2012-07-03 Thread harish badrinath
> I am trying to set up a virtual network (VMs run on KVM) with different VMs > running on different vlans. For each network, I have precomputed the mac:ip > mappings and written to a dhcp-hostsfile specific to that network. Can you do an arping from a computer from an another hub to a specific V

[Dnsmasq-discuss] question about --dhcp-hostsfile

2012-07-03 Thread Shashank Shanbhag
Hi, I am trying to set up a virtual network (VMs run on KVM) with different VMs running on different vlans. For each network, I have precomputed the mac:ip mappings and written to a dhcp-hostsfile specific to that network. For example, for "--dhcp-range=174.0.140.10,174.0.140.200", I have the fol

Re: [Dnsmasq-discuss] Question about "local only" hosts.

2011-06-01 Thread Vadtec
Aman, Thanks, that's what I was thinking. - Vadtec - Original Message - From: "Aman Gujaria" To: "Vadtec" Sent: Wednesday, June 1, 2011 12:31:24 PM Subject: Re: [Dnsmasq-discuss] Question about "local only" hosts. Just add the line ''addr

[Dnsmasq-discuss] Question about "local only" hosts.

2011-06-01 Thread Vadtec
Greetings all, I have a quick question about "local only" hosts. I want to have a local DNS name of "wiki" that points to 192.168.1.25. What is the best way to set that up? Using /etc/hosts? Or would there be something I can add in dnsmasq.conf to make it work? Thanks for the info. - Vadtec

Re: [Dnsmasq-discuss] Question about /etc/hosts and problem with Ubuntu 10.10

2011-03-21 Thread Chris G
On Sun, Mar 20, 2011 at 07:19:22PM +, Chris G wrote: [snip] Well I've fixed the basic problem, I've uninstalled Network Manager and installed wicd instead, now my /etc/hosts is left alone and so the immediate problem is solved. However I'd still like an answer to the first question:- > > > S

[Dnsmasq-discuss] Question about /etc/hosts and problem with Ubuntu 10.10

2011-03-20 Thread Chris G
I have a small SoHo LAN on which I run dnsmasq 2.52 on one of the machines (dps, 192.168.1.2) to provide DHCP and DNS. There are some static IP addresses on the LAN and thus the /etc/hosts on the machine where dnsmasq runs is as follows:- 127.0.0.1 localhost # The following lines a

Re: [Dnsmasq-discuss] Question about dump output

2011-02-17 Thread richardvo...@gmail.com
I imagine that it means your cache was full, so some existing valid entry had to be replaced. And gives you a statistic on how often that is happening. On Thu, Feb 17, 2011 at 11:22 AM, James R. Weaver wrote: > > My apologies if this is a stupid question. When doing a cache dump from > dnsmasq w

[Dnsmasq-discuss] Question about dump output

2011-02-17 Thread James R. Weaver
My apologies if this is a stupid question. When doing a cache dump from dnsmasq with the -q option, it prints several useful statistics. Specifically, what does "/ cache insertions re-used unexpired cache entries" mean? Thanks, James

Re: [Dnsmasq-discuss] Question about dnsmasq dhcp-ignore

2011-02-04 Thread mariodebian
El vie, 04-02-2011 a las 09:41 -0600, richardvo...@gmail.com escribió: > On Fri, Feb 4, 2011 at 6:15 AM, mariodebian wrote: > > Hi. > > > > This is my first message in this list, sorry if anyone made this > > question before. > > > > I have a simple /24 network with dnsmasq as DHCP server and DNS

Re: [Dnsmasq-discuss] Question about dnsmasq dhcp-ignore

2011-02-04 Thread richardvo...@gmail.com
On Fri, Feb 4, 2011 at 6:15 AM, mariodebian wrote: > Hi. > > This is my first message in this list, sorry if anyone made this > question before. > > I have a simple /24 network with dnsmasq as DHCP server and DNS cache. > > dhcp-range=192.168.1.55,192.168.1.199,2h > dhcp-option=option:router,192.1

[Dnsmasq-discuss] Question about dnsmasq dhcp-ignore

2011-02-04 Thread mariodebian
Hi. This is my first message in this list, sorry if anyone made this question before. I have a simple /24 network with dnsmasq as DHCP server and DNS cache. dhcp-range=192.168.1.55,192.168.1.199,2h dhcp-option=option:router,192.168.1.1 dhcp-option=option:dns-server,192.168.1.1 The dynamic range

Re: [Dnsmasq-discuss] question on dnsmasq capability...trying to do something maybe a bit unusual

2010-06-11 Thread Chris Friesen
On 06/11/2010 01:53 PM, clemens fischer wrote: > I don't think this type of wildcard is implemented directly. Thats what it seemed to me as well. Perhaps it should be explicit rather than the current implicit assumption. > If > internal hosts of example.com had a common label "int", though, it

Re: [Dnsmasq-discuss] question on dnsmasq capability...trying to do something maybe a bit unusual

2010-06-11 Thread clemens fischer
Chris Friesen wrote: > Care to be more specific? Currently I have a rule of the form: > > server=/company1.com/a.b.c.d > > As far as I can tell there is no way to distinguish between domains and > hosts in the "server" option, so how do I make it so that "company1.com" > itself goes to the stan

Re: [Dnsmasq-discuss] question on dnsmasq capability...trying to do something maybe a bit unusual

2010-06-08 Thread Chris Friesen
On 06/08/2010 02:24 PM, Niels wrote: > > On Jun 8, 2010, at 20:28 , Chris Friesen wrote: > >> the specific host "company.com" should go to nameserver X >> names of the form "x.company.com" should go to nameserver Y >> >> Is there any way to do this? > > Yes. It is covered in the manual. Care to

[Dnsmasq-discuss] question on dnsmasq capability...trying to do something maybe a bit unusual

2010-06-08 Thread Chris Friesen
Hi all, I'd appreciate it if you cc me on replies, I'm not subscribed to the list. Thanks for writing dnsmasq, it's very useful. However, I've run into a minor snag. I'm looking for a way to tell dnsmasq the following: the specific host "company.com" should go to nameserver X names of the form

Re: [Dnsmasq-discuss] question on lease expire times

2010-03-09 Thread Simon Kelley
Leonardo Rodrigues wrote: Hi, with ISC DHCP i can have two expire times on the leases: default-lease-time 86400; max-lease-time 259200; the default-lease-time is the one sent to the client ... and the max-lease-time is the one used to keep to calculate the expire time of

[Dnsmasq-discuss] question on lease expire times

2010-03-09 Thread Leonardo Rodrigues
Hi, with ISC DHCP i can have two expire times on the leases: default-lease-time 86400; max-lease-time 259200; the default-lease-time is the one sent to the client ... and the max-lease-time is the one used to keep to calculate the expire time of the leases that will be writt

Re: [Dnsmasq-discuss] Question about the server option

2009-07-25 Thread Mike K.
5, 2009 2:49:19 PM > Subject: Re: [Dnsmasq-discuss] Question about the server option > > Does the server you specify actually answer the query, or does it > reply by delegating to a different server? If the latter, I don't see > a way for dnsmasq to override. > > And is

Re: [Dnsmasq-discuss] Question about the server option

2009-07-25 Thread richardvo...@gmail.com
Does the server you specify actually answer the query, or does it reply by delegating to a different server? If the latter, I don't see a way for dnsmasq to override. And is the trailing d of "llnwd" in your example a typo or are you maybe missing some related domains? On Sat, Jul 25, 2009 at 11

[Dnsmasq-discuss] Question about the server option

2009-07-25 Thread Mike K.
I'm trying to use the "-S" option to use a different dns server for an entire domain. In this case, llnw.net (Limelight Networks). The reason being that my local Limelight server is having problems so I want to be redirected to a different one, but I don't want to change my dns for all other g

Re: [Dnsmasq-discuss] Question to dhcp-lease-format in conjunction with dhcp-script

2008-09-19 Thread Simon Kelley
Michael Rack wrote: Hi, i have a question to the dnsmasq dhcp-lease-format in conjunction with dhcp-script. I have some devices with no hostname. When dnsmasq is calling my dhcp-script with the init parameter, in what format have this hosts to be exported? Exactly the same format as the hos

[Dnsmasq-discuss] Question to dhcp-lease-format in conjunction with dhcp-script

2008-09-18 Thread Michael Rack
Hi, i have a question to the dnsmasq dhcp-lease-format in conjunction with dhcp-script. I have some devices with no hostname. When dnsmasq is calling my dhcp-script with the init parameter, in what format have this hosts to be exported? Currently i create a output to stdout look like as foll

Re: [Dnsmasq-discuss] Question about the error message

2008-08-11 Thread Saori Fukuta
On Fri, 8 Aug 2008 22:55:40 + "richardvo...@gmail.com" wrote: > On Wed, Aug 6, 2008 at 5:56 AM, Saori Fukuta > wrote: > > Thank you for your replying ! I understood that I should not enable > > that option with Windows 2003 server, but why should not dnsmasq's > > dhcp listen from Windows 200

Re: [Dnsmasq-discuss] Question about the error message

2008-08-08 Thread richardvo...@gmail.com
On Wed, Aug 6, 2008 at 5:56 AM, Saori Fukuta wrote: > On Wed, 6 Aug 2008 04:53:47 + "richardvo...@gmail.com" wrote: >> On Mon, Aug 4, 2008 at 11:26 AM, Saori Fukuta >> wrote: >> >> > Hello, >> > >> > I got the following message at /var/log/messages, >> > dnsmasq[13884]: no address range avai

Re: [Dnsmasq-discuss] Question about the error message

2008-08-06 Thread Saori Fukuta
On Wed, 6 Aug 2008 04:53:47 + "richardvo...@gmail.com" wrote: > On Mon, Aug 4, 2008 at 11:26 AM, Saori Fukuta > wrote: > > > Hello, > > > > I got the following message at /var/log/messages, > > dnsmasq[13884]: no address range available for DHCP request via eth3 > > when I have the following

Re: [Dnsmasq-discuss] Question about the error message

2008-08-06 Thread richardvo...@gmail.com
On Mon, Aug 4, 2008 at 11:26 AM, Saori Fukuta wrote: > Hello, > > I got the following message at /var/log/messages, > dnsmasq[13884]: no address range available for DHCP request via eth3 > when I have the following steps with dnsmasq-2.39-2.el5 (on RHEL-5.2): > 1. start the dnsmasq, which is s

[Dnsmasq-discuss] question about logs

2008-08-04 Thread B. Cook
Is there a way to put the 'dns' logs somewhere and the 'dhcp' logs somewhere else? If it is not possible at this time.. Having so many requests come in for different things.. it would be nice to seperate them. my .02

[Dnsmasq-discuss] Question about the error message

2008-08-04 Thread Saori Fukuta
Hello, I got the following message at /var/log/messages, dnsmasq[13884]: no address range available for DHCP request via eth3 when I have the following steps with dnsmasq-2.39-2.el5 (on RHEL-5.2): 1. start the dnsmasq, which is started by libvirt, with the following option. # /u

Re: [Dnsmasq-discuss] Question about DNS vunlerabiltiy in dnsmasq

2008-07-23 Thread Cristóbal Palmer
On Tue, Jul 22, 2008 at 7:30 PM, A C wrote: >> >> Does that give you enough time to get a new version in place? >> >> Simon. > > Well, not really. I don't have the ability to generate a package for the > embedded system so I'm at the mercy of the package maintainer. I've already > mailed them to

RE: [Dnsmasq-discuss] Question about DNS vunlerabiltiy in dnsmasq

2008-07-23 Thread A C
> Date: Tue, 22 Jul 2008 21:52:38 -0400 > From: c...@cmpalmer.org > To: ag...@hotmail.com > Subject: Re: [Dnsmasq-discuss] Question about DNS vunlerabiltiy in dnsmasq > CC: dnsmasq-discuss@lists.thekelleys.org.uk > > On Tue, Jul 22, 2008 at 7:30 PM, A C wrote: > &g

RE: [Dnsmasq-discuss] Question about DNS vunlerabiltiy in dnsmasq

2008-07-23 Thread A C
> Date: Tue, 22 Jul 2008 18:05:27 +0100 > From: si...@thekelleys.org.uk > To: ag...@hotmail.com > CC: dnsmasq-discuss@lists.thekelleys.org.uk > Subject: Re: [Dnsmasq-discuss] Question about DNS vunlerabiltiy in dnsmasq > > A C wrote: > > I'm running dnsmasq 2.3

Re: [Dnsmasq-discuss] Question about DNS vunlerabiltiy in dnsmasq

2008-07-22 Thread Jan 'RedBully' Seiffert
Simon Kelley wrote: A C wrote: I'm running dnsmasq 2.35 but it's on an embedded system and the package manager hasn't created a new version yet. I wanted to know how vulnerable I was to the recent security alert regarding DNS and whether there's a potential workaround that I could put in plac

Re: [Dnsmasq-discuss] Question about DNS vunlerabiltiy in dnsmasq

2008-07-22 Thread Simon Kelley
A C wrote: I'm running dnsmasq 2.35 but it's on an embedded system and the package manager hasn't created a new version yet. I wanted to know how vulnerable I was to the recent security alert regarding DNS and whether there's a potential workaround that I could put in place for now. "How v

[Dnsmasq-discuss] Question about DNS vunlerabiltiy in dnsmasq

2008-07-22 Thread A C
I'm running dnsmasq 2.35 but it's on an embedded system and the package manager hasn't created a new version yet. I wanted to know how vulnerable I was to the recent security alert regarding DNS and whether there's a potential workaround that I could put in place for now. Thanks, Alex __

Re: [Dnsmasq-discuss] question about subnets and interface aliases

2008-02-27 Thread Gerrit Kühn
On Wed, 27 Feb 2008 09:28:28 + Simon Kelley wrote about Re: [Dnsmasq-discuss] question about subnets and interface aliases: SK> > Is my setup completely screwed up and something one should not do, or SK> > does anyone here have an idea how to get things right? I'm usin

Re: [Dnsmasq-discuss] question about subnets and interface aliases

2008-02-27 Thread Simon Kelley
Gerrit Kühn wrote: > Hi folks, > > I have a private network here (192.168.0.0/16) which I have separated > in 8 subnets (192.168.0.0/19, 192.168.32.0/19 and so on). I want to > run dnsmasq to serve as dns and dhcp server, but only on one machine. > As the separation of the subnets is purely of log

[Dnsmasq-discuss] question about subnets and interface aliases

2008-02-27 Thread Gerrit Kühn
Hi folks, I have a private network here (192.168.0.0/16) which I have separated in 8 subnets (192.168.0.0/19, 192.168.32.0/19 and so on). I want to run dnsmasq to serve as dns and dhcp server, but only on one machine. As the separation of the subnets is purely of logical nature and not physical (e

Re: [Dnsmasq-discuss] Question

2008-01-26 Thread Carlos Carvalho
xerces8 (xerc...@butn.net) wrote on 26 January 2008 12:09: >That is: no dhcp-host=xxx line in dnsmasq.conf, but a line in /etc/hosts: >192.168.100.41 judge > >Regards, >David > >PS: Juggling with MAC addresses is silly, when using hostnames is >so much simpler, easier and robust (it still w

Re: [Dnsmasq-discuss] Question

2008-01-26 Thread ra...@frontiernet.net
Quoting xerces8 : "Heath Woodson" wrote: Setting this up for the first time and I have a simple question but it isnt clearly answered anywhere. I want to assign ips with DHCP in a static manner can I just use the /etc/host file on the machine running dnsmasq to do this and uncomment this line

Re: [Dnsmasq-discuss] Question

2008-01-26 Thread xerces8
"Heath Woodson" wrote: > Setting this up for the first time and I have a simple question but it isnt > clearly answered anywhere. I want to assign ips with DHCP in a static manner > can I just use the /etc/host file on the machine running dnsmasq to do this > and uncomment this line > # Enable th

Re: [Dnsmasq-discuss] Question

2008-01-25 Thread Ron Frederick
Simon Kelley wrote: Ron Frederick wrote: I prefer a different approach for this. It still relies on ethernet (MAC) addresses, but it allows me to still use /etc/hosts and doesn't rely on the client to send its hostname. If you populate /etc/hosts with a mapping from hostnames to IP addresses

Re: [Dnsmasq-discuss] Question

2008-01-25 Thread ra...@frontiernet.net
Quoting Ron Frederick : ra...@frontiernet.net wrote: Quoting Heath Woodson : Setting this up for the first time and I have a simple question but it isnt clearly answered anywhere. I want to assign ips with DHCP in a static manner can I just use the /etc/host file on the machine running dn

Re: [Dnsmasq-discuss] Question

2008-01-25 Thread Simon Kelley
Ron Frederick wrote: I prefer a different approach for this. It still relies on ethernet (MAC) addresses, but it allows me to still use /etc/hosts and doesn't rely on the client to send its hostname. If you populate /etc/hosts with a mapping from hostnames to IP addresses and /etc/ethers with

Re: [Dnsmasq-discuss] Question

2008-01-25 Thread Ron Frederick
ra...@frontiernet.net wrote: Quoting Heath Woodson : Setting this up for the first time and I have a simple question but it isnt clearly answered anywhere. I want to assign ips with DHCP in a static manner can I just use the /etc/host file on the machine running dnsmasq to do this and uncomm

Re: [Dnsmasq-discuss] Question

2008-01-25 Thread ra...@frontiernet.net
Quoting Heath Woodson : Setting this up for the first time and I have a simple question but it isnt clearly answered anywhere. I want to assign ips with DHCP in a static manner can I just use the /etc/host file on the machine running dnsmasq to do this and uncomment this line # Enable the addres

Re: [Dnsmasq-discuss] Question

2008-01-25 Thread Simon Kelley
Heath Woodson wrote: > Setting this up for the first time and I have a simple question but it isnt > clearly answered anywhere. I want to assign ips with DHCP in a static manner > can I just use the /etc/host file on the machine running dnsmasq to do this > and uncomment this line > # Enable the ad

[Dnsmasq-discuss] Question

2008-01-25 Thread Heath Woodson
Setting this up for the first time and I have a simple question but it isnt clearly answered anywhere. I want to assign ips with DHCP in a static manner can I just use the /etc/host file on the machine running dnsmasq to do this and uncomment this line # Enable the address given for "judge" in /etc

Re: [Dnsmasq-discuss] question on tftp service

2007-01-30 Thread Carlos Carvalho
Simon Kelley (si...@thekelleys.org.uk) wrote on 30 January 2007 13:36: >You presumably have > >192.168.58.146 ankarana.fisica.ufpr.br > >or > >192.168.58.146 ankarana.fisica.ufpr.br ankarana > >in /etc/hosts. > >Which is making dnsmasq send ankarana.fisica.ufpr.br to the terminal as >it

Re: [Dnsmasq-discuss] question on tftp service

2007-01-30 Thread Simon Kelley
Carlos Carvalho wrote: > Simon Kelley (si...@thekelleys.org.uk) wrote on 29 January 2007 12:10: > >Carlos Carvalho wrote: > >> I tried the tftp service and got this in the log: > >> > >> dnsmasq[26150]: DHCPDISCOVER(eth0.58) 00:11:2f:84:22:cc > >> dnsmasq[26150]: DHCPOFFER(eth0.58) 192.168.5

Re: [Dnsmasq-discuss] question on tftp service

2007-01-29 Thread Carlos Carvalho
Simon Kelley (si...@thekelleys.org.uk) wrote on 29 January 2007 12:10: >Carlos Carvalho wrote: >> I tried the tftp service and got this in the log: >> >> dnsmasq[26150]: DHCPDISCOVER(eth0.58) 00:11:2f:84:22:cc >> dnsmasq[26150]: DHCPOFFER(eth0.58) 192.168.58.146 00:11:2f:84:22:cc >> dnsmas

Re: [Dnsmasq-discuss] question on tftp service

2007-01-29 Thread Simon Kelley
Carlos Carvalho wrote: > I tried the tftp service and got this in the log: > > dnsmasq[26150]: DHCPDISCOVER(eth0.58) 00:11:2f:84:22:cc > dnsmasq[26150]: DHCPOFFER(eth0.58) 192.168.58.146 00:11:2f:84:22:cc > dnsmasq[26150]: DHCPREQUEST(eth0.58) 192.168.58.146 00:11:2f:84:22:cc > dnsmasq[26150]:

[Dnsmasq-discuss] question on tftp service

2007-01-29 Thread Carlos Carvalho
I tried the tftp service and got this in the log: dnsmasq[26150]: DHCPDISCOVER(eth0.58) 00:11:2f:84:22:cc dnsmasq[26150]: DHCPOFFER(eth0.58) 192.168.58.146 00:11:2f:84:22:cc dnsmasq[26150]: DHCPREQUEST(eth0.58) 192.168.58.146 00:11:2f:84:22:cc dnsmasq[26150]: Ignoring DHCP host name ankarana.fi

Re: [Dnsmasq-discuss] question about limits of dnsmasg

2005-03-01 Thread Peter Willis
GrantC writes: On Tue, 01 Mar 2005 11:16:54 -0500, you wrote: Yes, it will work, almost exactly as you descibe actually (though there are better ways of going about it using a file separate from /etc/hosts). Read the /etc/dnsmasq.conf file for examples and further detail. (There is even an e

Re: [Dnsmasq-discuss] question about limits of dnsmasg

2005-03-01 Thread GrantC
On Tue, 01 Mar 2005 11:16:54 -0500, you wrote: >Yes, it will work, almost exactly as you descibe actually (though there are >better ways of going about it using a file separate from /etc/hosts). Read >the /etc/dnsmasq.conf file for examples and further detail. (There is even >an example that ch

Re: [Dnsmasq-discuss] question about limits of dnsmasg

2005-03-01 Thread Eric S. Johansson
Eric S. Johansson wrote: It seems to me that in order to get the behavior I want, I will need to tell dnsmasq to not use resolve.conf but instead use name servers specified by server. then I can have resolv.conf pointed at local host. answering my own question, yes it does seem to work. wond

Re: [Dnsmasq-discuss] question about limits of dnsmasg

2005-03-01 Thread Eric S. Johansson
Peter Willis wrote: Yes, it will work, almost exactly as you descibe actually (though there are better ways of going about it using a file separate from /etc/hosts). Read the /etc/dnsmasq.conf file for examples and further detail. (There is even an example that changes all domains matching dou

Re: [Dnsmasq-discuss] question about limits of dnsmasg

2005-03-01 Thread Peter Willis
Yes, it will work, almost exactly as you descibe actually (though there are better ways of going about it using a file separate from /etc/hosts). Read the /etc/dnsmasq.conf file for examples and further detail. (There is even an example that changes all domains matching doubleclick.net to 127.0.

[Dnsmasq-discuss] question about limits of dnsmasg

2005-03-01 Thread Eric S. Johansson
I'm very impressed by the capabilities of dnsmasg but I try to find out if what I want to can be done without going to full bind. the network here is a classic red/green/orange security zone. On the green network is my wife's Linux machine and my Windows machine (when you're handicapped and ne