Re: [Dnsmasq-discuss] Secondary/tertiary dns servers in dhcp offers?

2004-11-13 Thread Simon Kelley
dns replication #1 Can I get two (or more) dnsmasq machines to let each other know about new A records they cache (including those spawned from dhcp leases), so if the primary goes down I have a secondary that can take requests? I believe the server=/domain/ip-addr directive may do this, but I'm

[Dnsmasq-discuss] Announcing version 2.17.

2004-11-14 Thread Simon Kelley
dnsmasq version 2.17 is available from: http://www.thekelleys.org.uk/dnsmasq This release fixes the build problems which have affected version 2.16 on certain platforms, and the occasional crashes which have been reported on this list. There are also some new configuration options for DHCP. As

Re: [Dnsmasq-discuss] Problem with index in cache.c on OpenBSD 3.4

2004-11-15 Thread Simon Kelley
Ross Williams wrote: Hi, in OpenBSD 3.4, there seems to be namespace conflict between /usr/include/string.h and cache.c in dnsmasq. DNSmasq declares index as a static integer, but it is already declared as a extern struct in string.h. The error follows: $ make CC=gcc gcc -O2-Wall -W -c

Re: [Dnsmasq-discuss] dnsmasq and eth0:1

2004-11-15 Thread Simon Kelley
Jonathan Thackray wrote: Hi, I'm on the end of a cable modem, and only have one ethernet card in my firewall/gateway box, so that eth0 is my DHCP address allocated by my ISP, and eth0:1 is a 10.x.x.x internal address for my network, as shown: eth0Link encap:Ethernet HWaddr

Re: [Dnsmasq-discuss] resolution of local (DynDNS-) domain name

2004-11-21 Thread Simon Kelley
Jochen Schulz wrote: Hi there, I'm having a little trouble getting dnsmasq (v2.17-1 from Debian testing) to return either the public or the private IP of my router when queried for the local domain name (I'd prefer the public IP but I am not sure whether that would be correct). I have a

Re: [Dnsmasq-discuss] Using dnsmasq with different domains for different subnets.

2004-12-01 Thread Simon Kelley
David Sankel wrote: Hello, I'm pushing dnsmasq a little further than I have before by allowing it to host for two different subnets (on the same card, but different VLANs). This works fine and dandy, Useful to know, I'm not aware of testing with VLANs before. but I would like it to use a

[Dnsmasq-discuss] Announcing version 2.19

2004-12-13 Thread Simon Kelley
Version 2.19 of dnsmasq has just been released. This release fixes an error at startup on certain IPv6-enabled Linux kernels. It also fixes bad behaviour with zero-length client-ID DHCP options and tightens up checking of DHCP option lengths in general. There is no need to upgrade from 2.18

Re: [Dnsmasq-discuss] DNSmasq periodically slow

2004-12-14 Thread Simon Kelley
ky...@solution-forge.net wrote: Hello my name is Kyrre Sjøbæk, and i am running a small network of Linux workstations and servers. To provide them with DNS, we use DNSMASQ running on a Debian box (together with LDAP and NFS), which provides exactly what we need - a ligthning fast DNS server

Re: [Dnsmasq-discuss] cache size /etc/hosts

2004-12-16 Thread Simon Kelley
Gyorgy Farkas wrote: 2.0.x series of floppyfw has dnsmasq version 1.2 (because of size;) 2.9.x series has version 1.18 FYI, the lastest 2.x version of dnsmasq (2.19), has many improvements to the DNS side, as well as integrated DHCP server. DNS upgrades, from memory: . Support for EDNS0

Re: [Dnsmasq-discuss] 2 subnets, bridged

2005-01-09 Thread Simon Kelley
Scott Merrill wrote: I _think_ I'll want to assign IP addresses to each interface on my router, and run two instances of dnsmasq to respond to incoming queries on each interface. Then configure dnsmasq to hand out DHCP addresses with the _bridge_ address as the default gateway. Note that

Re: [Dnsmasq-discuss] possible dns address conflict ?

2005-01-21 Thread Simon Kelley
matthieu castet wrote: Hi, I don't remember exactly, but if a name is associated with an ip and /etc/hosts and a dhcp client provide the same hostname, the dns will reply the second address (dhcp one). Shouldn't the static one (/etc/hosts) be replied ? That's not correct: /etc/hosts will

Re: [Dnsmasq-discuss] OSX client problems? 'Lease not found'

2005-02-03 Thread Simon Kelley
Rory Campbell-Lange wrote: Hi dhcp-host=00:0a:95:d1:6c:b6,userb,10.0.0.154,24 ---^ This is 24 seconds, it looks like the mac client won't renew more often then once every thirty seconds and by then the lease has been thrown away by dnsmasq.

Re: [Dnsmasq-discuss] dnsmasq v2.20 SOA records

2005-03-19 Thread Simon Kelley
Dennis DeDonatis wrote: When running nslookup from bind-utils-9.2.5-1(FC3 RPM) and looking for SOA records, it says it can't find 'em when going through dnsmasq v2.20 (I didn't try any other version). set q=soa yahoo.com Server: 127.0.0.1 Address:127.0.0.1#53 *** Can't

Re: [Dnsmasq-discuss] small patch for the manpage

2005-03-22 Thread Simon Kelley
Martin Volf wrote: Hello, I think that the dnsmasq.8 manpage for the version 2.20 is not quite accurate about the --dhcp-range option. What do you think about the attached patch? Patch applied: thanks. Cheers, Simon.

[Dnsmasq-discuss] version 2.21 build problems.

2005-03-24 Thread Simon Kelley
Anybody having problems building dnsmasq-2.21 on older Linux systems will probably want to try the following patch. Cheers, Simon. diff -urN dnsmasq-2.21.orig/src/netlink.c dnsmasq-2.21/src/netlink.c ---

Re: [Dnsmasq-discuss] dnsmasq-2.21 compile error on FC3

2005-03-26 Thread Simon Kelley
Werner Hoelzl wrote: Hello, I tried to build the RPM for Fedora Core 3 and got the following error: Patch here: http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2005q1/000199.html New release soon. Cheers, Simon.

[Dnsmasq-discuss] dnsmasq-2.22 released.

2005-03-31 Thread Simon Kelley
Dnsmasq version 2.22 has now been released. This release fixes all the known problems with the rather ill-starred 2.21 version. Changelog below. Cheers, Simon. Fixed build problems on (many) systems with older libc headers where linux/types.h is required before

Re: [Dnsmasq-discuss] Static IP and hostname

2005-04-01 Thread Simon Kelley
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm having trouble setting static IP addresses and hostnames based on the hardware address. Relevant dnsmasq.conf settings (dhcp-host is nearly the same as in dnsmasq.conf.example): dhcp-range=192.168.0.50,static,12h dhcp-host=hw

Re: [Dnsmasq-discuss] Static IP and hostname

2005-04-02 Thread Simon Kelley
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Simon Kelley wrote: | What is the address and netmask of the interface on the dnsmasq-running | machine which connects to the 192.168 network? My guess is that the | netmask is 255.255.255.0, which would be conventional. | If so, then your

Re: [Dnsmasq-discuss] Is there a way to block IPv6 address queries?

2005-04-06 Thread Simon Kelley
Eric P. Scott wrote: This example uses a FreeBSD 4.x installation, in which most user applications invoke the getaddrinfo(3)* API for name-to-address resolution. By default, this tries both IPv6 and IPv4, giving preference to the former. *FreeBSD man pages: http://www.freebsd.org/cgi/man.cgi

Re: [Dnsmasq-discuss] Multiple search domains

2005-04-17 Thread Simon Kelley
Ken Restivo wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I've just switched over to dnsmasq from ISC dhcpd, and I'm quite pleased. One thing that I really miss from ISC-land, though, is the ability to specify more than one search domain. i.e. I used to put home.restivo.org restivo.org

Re: [Dnsmasq-discuss] command on DHCP release

2005-05-03 Thread Simon Kelley
Luca Landi wrote: hai scritto: There was a patch submitted here a month or so ago which did this (and more - it calls out on every lease state change.) One reason I'm equivocating about adding it to the dnsmasq mainline is that it requires dnsmasq to run as root in order that the external

Re: [Dnsmasq-discuss] DHCP with no default route and no DNS

2005-05-03 Thread Simon Kelley
Jim Faulkner wrote: I would like dnsmasq to not provide a gateway and DNS server to clients on the wireless network at all. I've attempted this by adding these lines to the configuration file: dhcp-option=wireless-net,3,0 dhcp-option=wireless-net,6,0 On a windows 2000 client, the above lines

Re: [Dnsmasq-discuss] Specifying a per client boot file

2005-05-24 Thread Simon Kelley
richard hughes-rowlands wrote: I can see how to use the dhcp-boot command to specify the boot image to load via tftp. But how do I give different clients different boot files/images ? First, tag the different boot images, like so: dhcp-boot=net:tag1,filename1,

Re: [Dnsmasq-discuss] DNS-only On Interface

2005-05-27 Thread Simon Kelley
Adam Sherman wrote: This post: http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/ 2005q2/000259.html Asks about allowing DNS-only on certain interfaces. There is one very good reason for this feature, it would allow for use in VPN situations. For example, my VPN runs on tun

Re: [Dnsmasq-discuss] Small dnsmasq 2.22 issue

2005-06-18 Thread Simon Kelley
Ron Frederick wrote: I recently started the dnsmasq program as part of the OpenWRT distribution on my Linksys WRT54GS wireless router. It replaced an ISC 'dhcpd' I was running on a desktop Linux machine. However, I ran into one problem when I switched over. I noticed that the DHCP OFFER

Re: [Dnsmasq-discuss] Dnsmasq on Intel IXP425

2005-06-20 Thread Simon Kelley
Daniel Woithe wrote: Hello, I'm new here, because i have difficulties with dnsmasq on an Intel IXP425-Platform, running with an 2.6.11.2-kernel. To compile dnsmasq - version 2.22 - , I used OpenEmbedded. After starting dnsmasq with the default config, it opens the sockets, needed for

Re: [Dnsmasq-discuss] Debian and DNSmasq

2005-06-20 Thread Simon Kelley
Randy Belk wrote: Does anyone use DNSmasq with Debian Linux. Is there anything I need to know before I configure DNSmasq? You might like to look at the resolvconf package also, since it makes dnsmasq play nicely with most things that can supply nameservers (DHCP clients, PPP, etc) Apart

Re: [Dnsmasq-discuss] 2 dnsmasq instances

2005-06-22 Thread Simon Kelley
David Sankel wrote: Hello All, I've been able to run a duel dnsmasq server configuration a while ago. That computer crashed and I'm rebuilding it. I don't recall what dnsmasq version I was using then, but I get the following error message with both 2.20 and 2.22. It happens when the second

Re: [Dnsmasq-discuss] 2 dnsmasq instances

2005-06-22 Thread Simon Kelley
David Sankel wrote: On 6/22/05, Simon Kelley si...@thekelleys.org.uk wrote: Add bind-interfaces to the configuration file. 2.20 or 2.22 should then work fine. Unfortunately, both of the configuration files already had bind-interfaces. Are there any tests that I can run that could help

Re: [Dnsmasq-discuss] Default Lease Time

2005-06-23 Thread Simon Kelley
Edward Smith wrote: Is there a way to adjust the lease duration when using /etc/ethers? Not in /etc/ethers, (the file format is defined by other programs, and doesn't include any suitable fields.) It's possible to have /etc/ethers map between MAC address and ip/name, and just have the

Re: [Dnsmasq-discuss] Default Lease Time

2005-06-24 Thread Simon Kelley
Edward Smith wrote: I see. I can make it work mapping the mac to the lease time. It would be a nice feature to add a global default lease time for people like me. There is a global default lease time (or at least a per-DHCP-range leasetime). Just add it to the dhcp-range config. eg.

Re: [Dnsmasq-discuss] Default Lease Time

2005-06-27 Thread Simon Kelley
Edward Smith wrote: I would like be able to set a default for the addresses in /etc/ethers. Which reminds me. When I had an /etc/ethers defining addresses from 192.168.5.100 to 200 AND a line like this dhcp-range=192.168.5.100,192.168.5.200,2h People were getting double leases. So the guy

Re: [Dnsmasq-discuss] Dnsmasq on Intel IXP425

2005-06-28 Thread Simon Kelley
Daniel Woithe wrote: Hello again, as I wrote in my last mail, I'm trying to use Dnsmasq on an Intel IXDPG425-Platform, which is running with a 2.6.11.2 Kernel, using GCC 3.3.4 and GLIBC 2.3.2. Both funtions, DHCP and DNS-Forwarding doens't really work. When starting Dnsmasq on the IXP

Re: [Dnsmasq-discuss] dnsmasq and LDAP

2005-07-13 Thread Simon Kelley
Enderson Maia wrote: Hello, I'm implementing LDAP on my company, and for now I have all users, and sudo rules stored on it. Today I configured nss to look for hosts at ldap, but dnsmasq didn't worked looking there. So my question is, dnsmasq directly looks for entries on /etc/hosts ou it obeys

Re: [Dnsmasq-discuss] general question

2005-07-18 Thread Simon Kelley
Staenker wrote: Hello, i am new to dnsmasq. I modified the config file a bit and its still working... Now to my question: I want dnsmasq to resolv the names of its dhcp clients. E.g. a client with mac 00:00:0c:00:99:00 requests an ipaddress. Its name is george. After he has recieved ip

Re: [Dnsmasq-discuss] address assignment without checking context?

2005-07-21 Thread Simon Kelley
Benjamin Collar wrote: Greetings We have set up two interfaces that are physically connected to the same network: eth0: 10.0.150.10 netmask 255.254.0.0 eth1: 10.128.150.10 netmask 255.254.0.0 dnsmasq is configured to only statically assign IP addresses via the client id. Excerpt from

Re: [Dnsmasq-discuss] address assignment without checking context?]]

2005-07-25 Thread Simon Kelley
Benjamin Collar wrote: Greetings Thank you for the previous information. We're still working on it and have come to the following. (The following was forwarded to me by the colleague who actually performed the work, so it's written from his POV...). Any other tips/leads you could give us would

Re: [Dnsmasq-discuss] dnsmasq listens on all interfaces

2005-08-01 Thread Simon Kelley
Christian Britz wrote: Hi, I am looking for a simple solution to build a small local network using dhcp and dns forwarding. Dnsmasq looks very interesting for that job. I run it on my main pc which is connected to the internet via ADSL. Everything else seems to work fine but there is one

[Dnsmasq-discuss] Announce: dnsmasq-2.23rc1

2005-08-02 Thread Simon Kelley
Release candidate 1 of dnsmasq version 2.23 is no available at http://thekelleys.org.uk/dnsmasq-test/dnsmasq-2.23rc1.tar.gz I'd appreciate it of members of the list could test it out and let me know of any problems. Cheers, Simon. The Changelog entry for 2.23 looks like this. version

Re: [Dnsmasq-discuss] Problems using 'split horizon' approach

2005-08-04 Thread Simon Kelley
Dave Ewart wrote: In /etc/hosts in our dnsmasq host (on the 10.a.b.c network), there is an entry for apollo: 10.99.0.2 apollo.ceu.ox.ac.uk apollo smtp.ceu.ox.ac.uk smtp imap.ceu.ox.ac.uk imap Generally, this works fine, e.g. $ host apollo apollo.ceu.ox.ac.uk has address 10.99.0.2 The

Re: [Dnsmasq-discuss] Problems using 'split horizon' approach

2005-08-04 Thread Simon Kelley
Dave Ewart wrote: The workaround is to add the CNAME to /etc/hosts on the dnsmasq machine, so that it gets answered locally. Well, I don't *think* that's happening, since there are no publically-defined CNAMEs which don't also exist in /etc/hosts. In that case I'm bewildered. I've

Re: [Dnsmasq-discuss] dnsmasq + coda problem

2005-08-05 Thread Simon Kelley
Taras wrote: Hi, I just tracked down why the coda filesystem was not working for me. I think it may be due to a bug in dnsmasq. It does not seem to reply with an ip address to the dns request generated by coda in the linux 2.6.13rc4 kernel. I'm running dnsmasq 22.1, there don't appear any

RE: [Dnsmasq-discuss] Missing DHCPNAKs

2005-08-13 Thread Simon Kelley
I'm currently away, and have limited net access. I plan to be back in a week or so, and I'll take a look at this then. I'd expect the -K option to do the right thing, but if it doesn't, then it should be fixed. Cheers, Simon. Yes. Not as command line option, but as a dnsmasq.conf

[Dnsmasq-discuss] Simon away

2005-08-13 Thread Simon Kelley
I see that the list has become busy in the last week: I'm currently away from home and sending this from an airport internet lounge. I plan to be home in a week or so, and I'll catch up on the list traffic then. In the meantime, if you can sort any of the problems out amongst yourselves, please

Re: [Dnsmasq-discuss] wildcard records, can it be done?

2005-08-13 Thread Simon Kelley
try address=/.machine.domain.info/10.0.0.24 in /etc/dnsmasq.conf Cheers, Simon. Hello, I've been working with dnsmasq on our local network and seems to integrate very with with DHCP. There's just one thing I can't figure out. Basically we use it in a mode where its just reading the

Re: [Dnsmasq-discuss] Problems using 'split horizon' approach

2005-08-22 Thread Simon Kelley
Dave Ewart wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I've now worked out exactly what DNS request 'poisons' the dnsmasq cache. (This appears to be completely reproducible, although it is possible there are other, related queries which might have the same effect.) After doing a

Re: [Dnsmasq-discuss] Specifying boot options for specific type of hardware.

2005-08-22 Thread Simon Kelley
Ummm... I'm not very much convinced about that. In my installation, dnsmasq provides both, BOOTP _and_ DHCP. I can't see any reason _not_ to provide dynamic adresses to BOOTP hosts. The client will accept any address provided by the server. So where's the problem? It's correct that

Re: [Dnsmasq-discuss] Missing DHCPNAKs

2005-08-22 Thread Simon Kelley
Dan Shechter wrote: Hi, I've been trying to use dnsmasq in a wireless access point (802.11 a/b/g) environment. In these types of environments it is very common for: 1. Clients to use windows machines 2. Clients to roam in from a different wireless network. I'm encountering a scenario where

Re: [Dnsmasq-discuss] dnsmasq simple start

2005-08-22 Thread Simon Kelley
Eugene Prokopiev wrote: Hi, After starting dhcpd I see: # netstat -pan --inet | grep dhcp udp0 0 0.0.0.0:67 0.0.0.0:* 1408/dhcpd raw0 0 0.0.0.0:1 0.0.0.0:* 7 1408/dhcpd After starting dnsmask I see only: #

Re: [Dnsmasq-discuss] dnsmasq for 2 networks with different gateways / dns servers / addresses /etc

2005-08-22 Thread Simon Kelley
Eugene Prokopiev wrote: Hi, Help me please to translate this simple dhcpd.conf to dnsmasq: subnet 192.168.1.0 netmask 255.255.255.0 { option routers 192.168.1.1; option domain-name mydomain.ru; option domain-name-servers 192.168.1.1;

Re: [Dnsmasq-discuss] dig +trace is getting refused by dnsmasq

2005-08-23 Thread Simon Kelley
Uwe Gansert wrote: Hi, dig +trace www.cnn.com is getting refused by dnsmasq. Is this a bg or a feature? Arguably a bug. http://thekelleys.org.uk/dnsmasq-test/dnsmasq-2.23rc2.tar.gz should fix it. Cheers, Simon.

Re: [Dnsmasq-discuss] Missing DHCPNAKs

2005-08-24 Thread Simon Kelley
Gyorgy Farkas obtained a packet capture which confirmed my theory that Win XP forces its DHCP client into REBINDING state when it sees loss of carrier on a network interface. I've prepared another release candidate for dnsmasq 2.23 which takes this into account and generates appropriate

Re: [Dnsmasq-discuss] REQ: Clarification

2005-08-25 Thread Simon Kelley
gypsy wrote: Simon, I have read the man page but I still need assistance. Because dnsmasq cannot reload the cache from a dump, this must be perfect before I stop and restart dnsmasq, else I will again have Email messages backed up for hours (a few deferred 4 days last time!) while the cache

Re: [Dnsmasq-discuss] Specifying boot options for specific type of hardware.

2005-08-26 Thread Simon Kelley
Josef Wolf wrote: On Mon, Aug 22, 2005 at 12:27:33PM +0100, Simon Kelley wrote: It's correct that dnsmasq provides both BOOTP and DHCP. I guess I never thought about why BOOTP can't do dynamic addresses before - no BOOTP server I know about does. How about this: BOOTP has no notion of lease

Re: [Dnsmasq-discuss] Probable bug in dnsmasq-2.22

2005-08-27 Thread Simon Kelley
Ben Klang wrote: Hello List, I am running dnsmasq-2.22 under OpenWRT. I have configured address reservation using /etc/ethers. What I have noticed is the configured server is handed two IP addresses. In this case the client is SuSE 9.3's dhcpcd. The result on that system is two IP addresses

[Dnsmasq-discuss] Announce: dnsmasq-2.23

2005-08-29 Thread Simon Kelley
dnsmasq-2.23 is now avilable: changelog below: download from http://www.thekelleys.org.uk/dnsmasq/dnsmasq-2.23.tar.gz Cheers, Simon version 2.23 Added a check to ensure that there cannot be more than one dhcp-host option for any one IP address, even if the

[Dnsmasq-discuss] Re: Dnsmasq-discuss] Would like to use dnsmasq for cluster booting

2005-09-03 Thread Simon Kelley
Joe Landman wrote: Hi folks: I have been using dnsmasq for a few years within a simple network and some linux clusters. With the inclusion of the DHCP bits, and the bootp bits, suddenly the idea of replacing that fine bit of work known as the ISC DHCP server seems possible (and quite

[Dnsmasq-discuss] Re: Dnsmasq-discuss] Would like to use dnsmasq for cluster booting

2005-09-03 Thread Simon Kelley
Joe Landman wrote: sigh s/nbgrub/pxegrub/* Works. Thanks. OK. FYI, option 150 was missing in the packet traces you sent because it was missing from the requested options list. I guess nbgrub doesn't support option 150 so it doesn't ask the DHCP server for it. Cheers, Simon.

Re: [Dnsmasq-discuss] Firestarter interference

2005-09-16 Thread Simon Kelley
Andrew Greig wrote: Firestarter has an explicit option to Enable DHCP for the local network however this turned out to just (re)start ISC dhcpd if you had it installed. No firewall rules related to the protocol are added by this option, so it seems a bit of a red herring. This is an

[Dnsmasq-discuss] HP JetDirect EX Plus

2005-09-21 Thread Simon Kelley
This post is a summary of an off-list conversation. I'm posting it here so that it's publically archived and searchable for future reference. It seems that the DHCP client in the HP JetDirect EX Plus is broken; it's demonstrably RFC-noncompliant, and doesn't work with the dnsmasq DHCP server.

[Dnsmasq-discuss] Re: Make dhclient send the hostname

2005-09-21 Thread Simon Kelley
Oliver Gerlich wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [Hi, the mailing list didn't allow me to post without subscription; as I feel, that's in error :-) but maybe you can forward this mail to the list. Thanks] Sorry about that, the alternatives are the current settings,

Re: [Dnsmasq-discuss] SOCKS support for dnsmasq?

2005-09-25 Thread Simon Kelley
Dave Page wrote: Hi there, I was looking at adding support to dnsmasq for upstream SOCKS servers - basically, I would like to use Tor [1] for non-local DNS resolution. I was just checking on this list to see whether anybody else was working on it to avoid duplication of effort. Cheers, Dave

[Dnsmasq-discuss] Wanted: translators.

2005-09-26 Thread Simon Kelley
I'd like to internationalise the next release of dnsmasq. Given that a Google groups search on dnsmasq produces the six most-recent in languages I don't understand, it's clear that dnsmasq use has expanded beyond the english-speaking worl. I've added gettext support to the code, now I need

Re: [Dnsmasq-discuss] Possible bug setting dhcp-option 17

2005-10-10 Thread Simon Kelley
Michael Welle wrote: Hi, I wanted to net boot some Sparc machines using dnsmasq: dhcp-option=17,/export/elena/root dhcp-boot=/tftpboot/boot.net.netbsd,bootsvr,192.168.42.1 But setting the root-path doesn't work if the path is longer than 8 characters. The first condition in do_opt()

Re: [Dnsmasq-discuss] Weird Routing/FW/dnsmasq problem

2005-10-30 Thread Simon Kelley
Dan Shechter wrote: Hi, This isn't really a dnsmasq problem, but a routing problem, I'm mailing this here hoping that someone overcame this before... I'm trying to get dnsmasq to respond with DHCPNAK commands while in dhcp-authorative mode. The catch, so to speak, is that the clients are

Re: [Dnsmasq-discuss] Weird Routing/FW/dnsmasq problem

2005-10-31 Thread Simon Kelley
Dan Shechter wrote: Yes, I totally agree, although I know for a fact that these packets are not dropped by iptables, since I've written an explicit rule to ACCEPT them. I've basically done a: iptables -t filter -A INPUT -p udp --dport 67 -s ! 192.168.100.0/24 -j ACCEPT And I can verify using

Re: [Dnsmasq-discuss] Serving an alias interface with bootp?

2005-11-16 Thread Simon Kelley
Anssi Saari wrote: Hello, I'm running dnsmasq on a Linksys WRT54GS (OpenWRT distribution). It works fine for serving dhcp addresses for wireless clients, but I'd also like to serve my old ADSL box with bootp and tftpd, since its flash isn't working any more. Right now the ADSL box boots from my

Re: [Dnsmasq-discuss] occasional REFUSED response after successful query

2005-11-19 Thread Simon Kelley
Holger Schletz wrote: Hi, I get occasional REFUSED responses from dnsmasq on a specific network, though the query is actually successful. I am able to reproduce the error with dnsmasq 2.22 on Debian Sarge and 2.23 on Debian Etch in this network. However, i could not reproduce it with 2.23 on

Re: [Dnsmasq-discuss] Serving an alias interface with bootp?

2005-11-19 Thread Simon Kelley
Anssi Saari wrote: On Wed, Nov 16, 2005 at 09:23:05AM +, Simon Kelley wrote: You need to provide a dhcp-range for the 10.x.x.x network in order for DHCP to work. Since you don't want to allocate any addresses dynamically on that network, the approriate incantation is dhcp-range

Re: [Dnsmasq-discuss] occasional REFUSED response after successful query

2005-11-19 Thread Simon Kelley
Holger Schletz wrote: Hi, The reason why it happens like this is partly just history and inertia, partly because I didn't want to risk the original requestor getting no response at all, (and suffering a long timeout) when upstream servers are returning error codes. However, this isn't the

Re: [Dnsmasq-discuss] Help me please! Multiple IPs on one interface - not working

2005-11-19 Thread Simon Kelley
Sorin Panca wrote: Hello! I'm sorry about the delay. Another test: I did this: A. rm /etc/hosts B. zefir sorin # cat /etc/dnsmasq.conf domain-needed bogus-priv no-resolv filterwin2k resolv-file=/etc/resolver strict-order address=/no.net/127.0.0.1 interface=eth1 interface=eth2

Re: [Dnsmasq-discuss] dnsmasq DHCP freezing WRAP boards

2005-11-28 Thread Simon Kelley
Edwin Whitelaw wrote: I use the WRAP single board computer running Voyage Linux as wireless routers for my business. A system that had been running for over a week started locking up approximately once a day after enabling the DHCP functionality of dnsmasq. When the lockups occurred, I was

Re: [Dnsmasq-discuss] dnsmasq stops working after changing from ppp to dhcp

2005-12-24 Thread Simon Kelley
Chris Purves wrote: Yes, this appeared to be the problem. When dnsmasq wasn't working I would get the following in syslog: Dec 22 20:00:11 aurora dnsmasq[1839]: nameserver 211.167.97.68 refused to do a recursive query snip FAQ By removing the server that does not allow recursive queries

Re: [Dnsmasq-discuss] DHCPDELINE -- disabling DHCP static address

2006-01-06 Thread Simon Kelley
André Steffensen wrote: Why did my dnsmasq do that by itself and where do I un-ignore the client? :) Log from my Syslog: Dec 26 21:22:01 gw-klint dnsmasq[2069]: DHCPREQUEST(eth1) 192.168.101.169 00:14:bf:3d:d9:25 Dec 26 21:22:01 gw-klint dnsmasq[2069]: DHCPACK(eth1) 192.168.101.169

Re: [Dnsmasq-discuss] wpad and DNS ...

2006-01-10 Thread Simon Kelley
C.Lee Taylor wrote: Greetings ... A little off topic, but I'm hoping somebody can help ... I'm looking at using automatic proxy setup, hoping to use SRV and TXT records, but I don't really understand either. At http://www.wlug.org.nz/WPAD it says add the following ... $ORIGIN

Re: [Dnsmasq-discuss] wpad and DNS ...

2006-01-11 Thread Simon Kelley
C.Lee Taylor wrote: Note that I think your reference is wrong: The service and protocol fields ought to have leading underscores This comes from RFC 2782. In that case you need srv-host=_wpad._tcp.host.co.nz,wpad.host.co.nz,80 Agreed, but in

[Dnsmasq-discuss] Announce: dnsmasq-2.25.

2006-01-14 Thread Simon Kelley
This is a flush of the queue in advance of the next Ubuntu and OpenWRT releases. There's little of real consequence, and no need upgrade unless you hit the DHCP-on-multiple-subnets bug. Changelog: Fixed RedHat spec file for FC4 - thanks to Werner Hoelzl and Andrew

Re: [Dnsmasq-discuss] Dnsmasq as master to bind as slave

2006-01-19 Thread Simon Kelley
Richard Bailey wrote: Hello this is just for experimenting purposes, I have dnsmasq running in IPCop and working well. I was trying to set up bind9 as a slave for my local lan domain with the dnsmasq as the master but I get the following error: named[29460]: zone home.lan/IN/New: refresh:

Re: [Dnsmasq-discuss] dnsmasq 2.25 crashing in some DHCP NAK cases (and possible fix)

2006-01-22 Thread Simon Kelley
Lutz Pressler wrote: Hello, at least 2.25 (and probably since 2.23 as then sending a server identifier with DHCPNAK had been introduced) I checked: it's only 2.25 which has this problem: 2.23 and 2.24 are OK. The trigger for the problem was moving the call to narrow_context() earlier in the

[Dnsmasq-discuss] Announce: dnsmasq-2.26

2006-01-22 Thread Simon Kelley
Dnsmasq version 2.26 is now available from http://www.thekelleys.org.uk/dnsmasq/dnsmasq-2.26.tar.gz This releases fixes a crash bug reported against 2.25 (see http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2006q1/000579.html) It also fixes a problem with the RPM package for SuSe in

Re: [Dnsmasq-discuss] Announce: dnsmasq-2.26

2006-01-25 Thread Simon Kelley
Joe Landman wrote: Hi Simon: Here is a patch to re-enable rpm builds on Redhat and Redhat derived linux: Thanks: that line was added to cope with translated man pages, but no translations have appeared yet. If that's still the case by the next release, I'll apply your patch. Cheers,

Re: [Dnsmasq-discuss] Upstream CNAME records

2006-01-25 Thread Simon Kelley
Andreas Pelme wrote: Hi, I am using Dnsmasq for my LAN, but I am having problems with some lookups. I have records in /etc/hosts on my router, for example: 192.168.0.2 svn.pelme.sesvn On the LAN, svn.pelme.se should resolv to 192.168.0.2, but outside, on the

Re: [Dnsmasq-discuss] CNAME

2006-01-27 Thread Simon Kelley
Merlin wrote: Hi, Simon, Thanks for the detailed explanation. I think I understand now! But would it not be possible achieve roughly the same functionality within the dnsmasq architecture (without using CNAMEs) if there were some sort of configuration option that says a lookup of foo should

Re: [Dnsmasq-discuss] error with pxe booting

2006-01-29 Thread Simon Kelley
ray c wrote: Hello, I am using dnsmasq on my router and have included a few config lines for pxe booting: dhcp-vendorclass=pxe,PXEClient dhcp-boot=/pxelinux.0,192.168.1.8,192.168.1.8 dhcp-option=pxe,67,pxelinux.0 The problem is that during a pxe boot, the client fails the tftp portion

Re: [Dnsmasq-discuss] Openwrt and reboots again...

2006-02-01 Thread Simon Kelley
Stephen Rose wrote: I've read the previous exchange about Dnsmasq and reboots with Openwrt. I've also read the bug activity at Openwrt.org. I'm running Openntp so time format is not an issue. Also, I would like to continue using the /tmp partition so the flash is not written. This only

Re: [Dnsmasq-discuss] How to configure routing via DHCP?

2006-02-02 Thread Simon Kelley
Dirk Schenkewitz wrote: Hi All, this is not especially dnsmasq-related, only also :-) - but I don't know a better place to ask about DHCP options than here. :-) For a PC that moves between 3 networks, I thought it would be nice to configure some basic routing via DHCP. I found a list of

Re: [Dnsmasq-discuss] no entries in dnsmasq.leases

2006-02-05 Thread Simon Kelley
Jens Holze wrote: That was it... My graphical statbar showed 90-95% disk usage but when leaving the GUI and asking the command line df told me otherwise. I'm terribly sorry for this disturbance. What do we learn from this: Don't believe everything GUIs tell you... I did some experiments,

Re: [Dnsmasq-discuss] How to configure routing via DHCP?

2006-02-08 Thread Simon Kelley
Dirk Schenkewitz wrote: That's great, Thank you very much! (For the info and for supporting it.) Hmm, AFAIU RFC3442 describes the raw packet information as: '121' Length-byte Destination-descriptor Router-address while Destination-descriptor consistst of the netmask width and the important

Re: [Dnsmasq-discuss] How to configure routing via DHCP?

2006-02-08 Thread Simon Kelley
Dirk Schenkewitz wrote: Hmm... the colon form of 121,192.168.1.0/24,1.2.3.4 would be 121,1:18:C0:A8:1:1:2:3:4 My last reply on this is misleading: the length should indeed be in bytes, not the number of routes, but it's not required in the option, dnsmasq will determine the length

Re: [Dnsmasq-discuss] Matching any domain in -A

2006-02-08 Thread Simon Kelley
Peter Surda wrote: Hello, the docs state that: Thus --address=/#/1.2.3.4 will always return 1.2.3.4 for any query not answered from /etc/hosts or DHCP and not sent to an upstream nameserver by a more specific --server directive.

Re: [Dnsmasq-discuss] DNS request timeout problem on dial-in account with dynamic ip

2006-02-08 Thread Simon Kelley
Jean Wolter wrote: Hello, I use dnsmasq on a small Linux router, which uses pppd to dial in to my provider and netfilter to provide NAT and stateful packet filtering. When a DNS request triggers a dial-in the request usually times out due to one of the following reasons: - the DNS

Re: [Dnsmasq-discuss] dhcp: mac address as range selector?

2006-02-18 Thread Simon Kelley
Lutz Pressler wrote: Hello, I have a setup with normal (workstations) and telephony devices, which have to get adresses from different ranges/networks on the same interface. This does work (since 2.26) with a configuration including dhcp-vendorclass=tel,alcatel.noe.0

Re: [Dnsmasq-discuss] Re: negated network-ids (Re: dhcp: mac address as range selector?)

2006-02-18 Thread Simon Kelley
Lutz Pressler wrote: Hello again, I wrote: I read that, tested - and then interpreted # as being only relevant in dhcp-option (btw, there is a typo --dhcp=option=#purple...). I have not tried dhcp-boot and dhcp-ignore, but dhcp-range=net:#tel,192.168.169.80,192.168.169.99,255.255.255.0,12h

Re: [Dnsmasq-discuss] Administrivia

2006-02-20 Thread Simon Kelley
Eric S. Johansson wrote: Simon Kelley wrote: Unless anybody objects, I plan to change the default Reply-to header on the list to be the list address. It seems that many people hate this, but the existing arrangement means that to reply to the list, rather than just the original poster, one

Re: [Dnsmasq-discuss] vendorclass

2006-02-22 Thread Simon Kelley
Dirk Stichling wrote: Hi. I have the following problem: My DHCP-client has a two stage boot procedure. During the first stage it sends a BOOTP-Request with no vendorclass. During the second stage it sends another BOOTP-Request with a vendorclass (containing the word box). During the first stage

Re: [Dnsmasq-discuss] Problem assigning static IP

2006-03-23 Thread Simon Kelley
Mircea Bardac wrote: Would it be possible for dnsmasq to list some info/warnings on start about already leased IPs (or maybe list this information for the leases which are different in the config file)? I won't make this mistake again, but others might find this helpful (I think). I've

Re: [Dnsmasq-discuss] Failed to Startup

2006-04-01 Thread Simon Kelley
Dave Brockman wrote: Hi, I installed dnsmasq on a box running Mandrake 8.1 (2.4.8 kernel) and it fails to startup giving Cannot bind network socket: Operation not permitted in syslog. This makes no sense to me. I looked thru the list archives and didn't see this one. I later installed dnrd

Re: [Dnsmasq-discuss] feature request: allow wildcard in addn-hosts

2006-04-14 Thread Simon Kelley
dny wrote: i like to put a list of blocked hosts in addn-hosts options. currently, i can put 127.0.0.1 www.baddomain.com now, i really love it if i can put something like this into it: 127.0.0.1 *.baddomain.com so that, i dont care if the domain have a dozen or hundreds subdomains, they all

Re: [Dnsmasq-discuss] Announce: dnsmasq-2.28

2006-04-18 Thread Simon Kelley
Steven Springl wrote: Simon There is a problem with the rpm build for SuSE. The dsnmasq-SuSE.patch will not apply because of changes to src/config.h I have attached a copy of the modified patch file. Thanks for that. Expect a 2.29 release in a few days with this in. Cheers, Simon.

  1   2   3   4   5   6   7   8   9   10   >