Re: [Dnsmasq-discuss] Why not add md5's?

2008-04-01 Thread Simon Kelley
Robert Diamond wrote: Was working on a series of script to auto-check websites for updates of "important" and "world/internet accessible" servers I'm running on my box. During the process I noticed dnsmasq's website doesn't have any md5sums (or other forms of data verification; ie: sha1sum, pgp s

Re: [Dnsmasq-discuss] The simplest setup to preserve IPs

2008-04-01 Thread Simon Kelley
Michal Sawicz wrote: Hi, I'm trying to get dnsmasq to give IPs assigned in /etc/hosts based on hostname from the dhcp request, my config is as follows: domain-needed bogus-priv filterwin2k listen-address=192.168.0.1 bind-interfaces expand-hosts domain=sawicz.net dhcp-range=192.168.0.2,192.168.0.

Re: [Dnsmasq-discuss] The simplest setup to preserve IPs

2008-04-01 Thread Michal Sawicz
Dnia 01-04-2008, Tue o godzinie 13:43 -0400, Robert Diamond pisze: > Sorry for the "dumb down" ramble above, don't intend to be rude or > nothing, but years of internet use have made my written speech callous > at best ^.~ Then again, reading manuals is quite fun: man dhclient, line 86 "The -H f

Re: [Dnsmasq-discuss] The simplest setup to preserve IPs

2008-04-01 Thread Robert Diamond
On Tue, 01 Apr 2008 18:38:49 +0200 Michal Sawicz wrote: > > I've tried with dhclient -H explicitly, and anyway dnsmasq reports > that it won't assign the hostname, cause the IP doesn't match the > hostname. > On my dhcp client -H means use the hostname that the dhcp server provided. Also, on

Re: [Dnsmasq-discuss] The simplest setup to preserve IPs

2008-04-01 Thread Michal Sawicz
Dnia 01-04-2008, Tue o godzinie 16:38 +0100, Simon Kelley pisze: > DHCP clients on Linux are not always configured by default to send the > hostname - check the config for dhclient (or whatever client you are > using) I've tried with dhclient -H explicitly, and anyway dnsmasq reports that it won't

Re: [Dnsmasq-discuss] The simplest setup to preserve IPs

2008-04-01 Thread xerces8
This is what I do : - nothing in in /etc/hosts (except the usual localhost stuff) - lines in /etc/dnsmasq.conf: dhcp-host=hostname, Example: dhcp-host=johny,192.168.2.40 dhcp-host=blaster,192.168.2.41 etc... My whole dnsmaq.conf: # filter what we send upstream domain-needed bogus-priv filterw

Re: [Dnsmasq-discuss] The simplest setup to preserve IPs

2008-04-01 Thread Simon Kelley
Michal Sawicz wrote: > Dnia 01-04-2008, Tue o godzinie 17:05 +0200, Michal Sawicz pisze: >> Unfortunately it doesn't work like that for all my hosts - it does for >> those that are windows based, and not for the others. > > After some more testing I can't see no clear pattern... It works fine on >

Re: [Dnsmasq-discuss] The simplest setup to preserve IPs

2008-04-01 Thread Michal Sawicz
Dnia 01-04-2008, Tue o godzinie 17:05 +0200, Michal Sawicz pisze: > Unfortunately it doesn't work like that for all my hosts - it does for > those that are windows based, and not for the others. After some more testing I can't see no clear pattern... It works fine on windows machines and one that'

[Dnsmasq-discuss] The simplest setup to preserve IPs

2008-04-01 Thread Michal Sawicz
Hi, I'm trying to get dnsmasq to give IPs assigned in /etc/hosts based on hostname from the dhcp request, my config is as follows: domain-needed bogus-priv filterwin2k listen-address=192.168.0.1 bind-interfaces expand-hosts domain=sawicz.net dhcp-range=192.168.0.2,192.168.0.50,12h dhcp-option=42,0