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

2004-11-12 Thread Simon Kelley
I have both dns and dhcp set up. When the dnsmasq returns dhcp offers to clients, it is sending itself as the primary dns server, which is good. However, it's not sending any secondary or tertiary dns server addresses back to the clients for them to use if the primary dns server is not

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] Crashes with 2.16?

2004-11-17 Thread Simon Kelley
Rory Campbell-Lange wrote: Thanks for this, Simon. We have upgraded to 2.17 and have experienced no problems thus far. What was the problem? Failure to check the return code from a call to insert a name into the cache. DNSmasq is designed not to need to do memory allocation during normal

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

[Dnsmasq-discuss] Announcing version 2.18

2004-11-22 Thread Simon Kelley
dnsmasq version 2.18 is available from: http://www.thekelleys.org.uk/dnsmasq This is a loose ends release which fixes a couple of specific issues which came up in 2.17. There's no need to upgrade unless you hit one of those. Details at http://www.thekelleys.org.uk/dnsmasq/CHANGLELOG Cheers,

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

Re: [Dnsmasq-discuss] DNS to respond to all requests

2004-12-11 Thread Simon Kelley
Peter Willis wrote: Simon Kelley wrote: If you add address=/#/1.2.3.4 to /etc/dnsmasq.conf then dnsmasq will always return 1.2.3.4 to any A record DNS query which cannot be answered from the hosts file or DHCP leases. That's not exactly what you asked for, (it's not any dns request

[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] DNS to respond to all requests

2004-12-19 Thread Simon Kelley
Harry Newman wrote: Simon Thanks for the info this is working just great for the A record queries. Is there a way to do the same for MX queries. No, it's possible to automatically generate MX records for any name in /etc/hosts or in a DHCP lease, but it's not possible to generate MX

Re: [Dnsmasq-discuss] DNS to respond to all requests

2004-12-23 Thread Simon Kelley
Peter Willis wrote: Simon Kelley wrote: Harry Newman wrote: Simon Thanks for the info this is working just great for the A record queries. Is there a way to do the same for MX queries. No, it's possible to automatically generate MX records for any name in /etc/hosts or in a DHCP lease

Re: [Dnsmasq-discuss] two subnets on one interface

2004-12-23 Thread Simon Kelley
Richard wrote: Hi, I have somewhat special configuration. On the LAN interface, I have two subnets 10.1.1/24 and 192.168.1/24. In 10.1.1/24, the server only hands out IP address via static mac to ip mapping. In 192.168.1/24, it hands out IP to any host, but the default gateway is set to another

Re: [Dnsmasq-discuss] RE: two subnets on one interface

2004-12-23 Thread Simon Kelley
Richard wrote: A follow up question, on the 10.1.1/24 subnet, how do I only allow static mac to ip mapping. I add a bunch of dhcp-host and comment out dhcp-range. Then the server won't even hand out dhcp to any mac. You still need a dhcp-range option to enable DHCP on a subnet, to enable

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] How to handle NXDOMAIN replies?

2005-01-09 Thread Simon Kelley
A. Weber | root eSolutions wrote: Hello, Just one short question: Is it possible to translate a NXDOMAIN reply from the upstream server into another fixed IP rather than forwarding the NXDOMAIN as an answer to the requesting client? Not currently possible. Or otherwise asked: Is there a

Re: [Dnsmasq-discuss] DHCP resolution - anwering my own question

2005-01-16 Thread Simon Kelley
John Grant wrote: To make life difficult there were two problems: - local= is now set to /localnet/.mydomain_name.com/ now I can understand the .myd... bit, even though the docs don't make the leading . clear. But I have no idea what the localnet bit does - what is it there for (or can I

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] Getting a DHCP address takes 1 minute

2005-01-22 Thread Simon Kelley
Greg Greenway wrote: Hi, I just started using dnsmasq, and it works great except for one thing: when my other linux box tries to get a dhcp lease, it takes almost exactly 1 minute. There doesn't seem to be a problem when my windows boxes are getting their addresses, just my linux box. I

Re: [Dnsmasq-discuss] SRV/SOA/NS (aka Active Directory) patch for dnsmasq

2005-01-23 Thread Simon Kelley
Robert Kean wrote: I'm building a new linux box and wanted to take the opportunity to learn the ins and outs of Samba and Active Directory. This led to the need to get a better understanding of ldap and kerberos. This led to the need for a DNS server that supported SRV records. Well, I had

[Dnsmasq-discuss] Announcing 2.20

2005-01-23 Thread Simon Kelley
Dnsmasq version 2.20 is now available: CHANGELOG entry looks like this: Allow more than one instance of dnsmasq to run on a machine, each providing DHCP service on a different interface, provided that --bind-interfaces is set. This configuration

Re: [Dnsmasq-discuss] nsswitch

2005-01-29 Thread Simon Kelley
Thomas Angst wrote: Howdy list, first, this tool is exactly what I needed. Small and easy to administer. By the way, for easy administering the server I'm now using LDAP. In that case I watched, that you are reading /etc/hosts directly instead of using the glibc function. Can you please made

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] Time to live for cache

2005-02-06 Thread Simon Kelley
Anand Rangarajan wrote: I'm really sorry if this question has already been answered in the documentation. I couldn't find it. I have dnsmasq running on my linux box so that I can cache DNS requests because for some reason my ISP nameserver takes a long time to respond. For example, if I type

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.

Re: [Dnsmasq-discuss] bad dhcp-host because of mac-address?

2005-03-23 Thread Simon Kelley
Daniel Link wrote: Hi! I've installed dnsmasq today on an almost fresh installation of FreeBSD 5.3 and have one small problem configuring it. I want two computers in my networks to be assigned static IPs, but this only works for one of them. When including the other in the dnsmasq.conf config

[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] ?: ADSL gateway

2005-04-04 Thread Simon Kelley
Pasi Mustalahti (ptmu...@utu.fi) wrote: PTM: In the begining: many thanks for the dnsmsq. It is simple and fast. I hope the development will continue and the product get more wind ! It has MUCH to give. --- Question: -One Win98 (Sabrina) all dynamic, connected straight to the ADSL

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] Static IP and hostname

2005-04-10 Thread Simon Kelley
Donnie Berkholz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Simon Kelley wrote: | I suspect further IP problems, rather than DHCP problems: the DHCP | discover/offer process works using hardware-level broadcasts, but the next | stage needs IP connectivity. It looks like the DHCP

Re: [Dnsmasq-discuss] Can not get Dnsmasq to work

2005-04-10 Thread Simon Kelley
Joel Freiberg wrote: I am trying to set up a redwall 0.5.5 firewall and use dnsmasq for DNS/DHCP. Off of the Redwall box I have a Redhat 9 virtual machine (Virtual PC 2004) running on a XP box. We have 5 IPs from SBC and I'd like to use one for a pure Linux network. Let me explain briefly my

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

2005-04-12 Thread Simon Kelley
Eric P. Scott wrote: I guess I should clarify; I'm not trying to be kind to my DNS server (although that's a nice side effect) so much as improve responsiveness for client machines. Assume my connectivity to the public DNS is slow, congested, lossy, etc. I want to reduce the several second

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] Dnsmasq and PPTP

2005-05-06 Thread Simon Kelley
Dale DeJager wrote: I have PPTP working successfully with connectivity to/from the LAN, but I have a question relating to network name resolution: As configured I cannot get the PPTP session to assign a DNS suffix (also called DNS domain name) to the client PPTP connectoid. This means that

Re: [Dnsmasq-discuss] Localhost reverse lookups

2005-05-06 Thread Simon Kelley
gypsy wrote: I don't know which to blame, my SMTP server or dnsmasq, but the following should NEVER happen: May 5 04:50:34 dnsmasq[8766]: query[A] 1.0.0.127.dnsbl.ahbl.org from 127.0.0.1 May 5 04:50:34 dnsmasq[8766]: cached 1.0.0.127.dnsbl.ahbl.org is NXDOMAIN-IPv4 May 5 04:50:34

Re: [Dnsmasq-discuss] restricting listening interfaces only for DHCP

2005-05-08 Thread Simon Kelley
Dimitrios Apostolou wrote: Luca Landi wrote: Should be easy to achieve that if you can accept to run 2 dnsmasq instances concurrently, one with DHCP enabled and serving eth0 only and the other one with DHCP disabled and serving all interfaces but eth0. Thanks, this is a nice solution to

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] dnsmasq frequently dying on me

2005-06-07 Thread Simon Kelley
Cory Riddell wrote: I just set up a new Fedora Core 3 server and setup a fresh build of dnsmasq. I built the rpm then installed that rpm on the server. Everything seemed to go well... It works beautifully for a while (maybe an hour), then eventually dies. If I watch my /var/messages log file, I

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] dhcp requests

2005-06-27 Thread Simon Kelley
Dan Alderman wrote: Hi, Can anyone tell me if it's possible to tell the dhcp server in dnsmasq not to serve addresses to MAC addresses not listed in the config file? Thanks and regards, Dan. Replace the second IP address in the dhcp-range config with the keyword static. So

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] questions and ...

2005-07-16 Thread Simon Kelley
the combinations we have, maintaining it became sort of a PITA... @ Simon Kelley: There are some links at your page about dnsmasq. The link to the german text is broken. I found these in german: http://www.linuxnetmag.com/de/issue7/m7dnsmasq1.html I'll change that, thanks. Cheers, Simon.

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] dhcp-option=252: DHCP request for unsupported hardware type (0) recieved on eth1

2005-07-18 Thread Simon Kelley
Stanley Jaddoe wrote: Hi, After upgrading Debian woody to sarge, I'm trying to set up dnsmasq to replace the dhcp3 daemon. My old (working) dhcpd.conf contains: # wpad proxy config option wpad code 252 = text; option wpad http://server/proxy.pac;; This enables browsers such as IE and

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] SRV record problem in 2.22

2005-08-23 Thread Simon Kelley
Eugene Crosser wrote: Hello gentlemen, I am new here. I run dnsmasq 2.22 that comes with OpenWRT: root@OpenWrt:~# ipkg info dnsmasq Package: dnsmasq Version: 2.22-1 Status: install ok installed Section: net Architecture: mipsel maintainer: Felix Fietkau n...@vd-s.ath.cx MD5Sum:

Re: [Dnsmasq-discuss] Missing DHCPNAKs

2005-08-23 Thread Simon Kelley
Gyorgy Farkas wrote: On Monday 22 August 2005 02:50 pm, Simon Kelley wrote: 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

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] Dnsmasq DHCP Server Doesn't Work

2005-08-24 Thread Simon Kelley
Luca Landi wrote: Your config looks good so one idea can be that you have firewall rules filtering incoming traffic toward udp port 67 I'd emphasise this: firewall rules are a prime suspect - check the FAQ to see exactly what needs to enabled. Cheers, Simon.

Re: [Dnsmasq-discuss] Dnsmasq DHCP Server Doesn't Work

2005-08-25 Thread Simon Kelley
Gabriel A. Devenyi wrote: Alright, so I disabled my firewall, and now it works, this confuses me, as I've not restricted the lan interface in any way (at least as far as I understand) attached is my firehol configuration, anyone see where I'm going wrong?

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] DNS cache for DHCP addresses

2005-09-15 Thread Simon Kelley
Pat wrote: Hi, Great work on dnsmasq, btw. Is it possible to get it to check the DHCP clients' IPs when asked for a DNS lookup before passing it upstream? For example, if I have DHCP clients 'lister' and 'rimmer' connected to server 'kryten', if I run host lister on 'rimmer' at the moment I

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] Resolution with resolv.conf

2005-10-02 Thread Simon Kelley
Marc wrote: Hi, I'd like to know if 'dnsmasq' use the 'search' key in resolv.conf to extend the dns resolution ... It doesn't. That would involve sending more than one query to the upstream nameservers for each received query, which is difficult to do. I'm using dnsmasq in a subnet but

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] Possible bug setting dhcp-option 17

2005-10-10 Thread Simon Kelley
Michael Welle wrote: Are you using BOOTP? If so, then that explains things. Can you use DHCP instead? (BYW the option 57 stuff is not specified for BOOTP, so that wouldn't help.) Sorry, I should have mentioned that. I guess my problem is solved now (and I should have a closer look at the

Re: [Dnsmasq-discuss] dhcpoffer's not being accepted?

2005-10-14 Thread Simon Kelley
Aaron J Weber wrote: I have a new RH ES 4 box I'm trying to bring online. It's setup for dhcp and I see my dnsmasq receiving the requests in the messages (syslog) on that host. It also says it's replying with DHCPOFFER's of valid IP addresses. But for some reason the RH box refuses to

  1   2   3   4   5   6   7   8   9   10   >