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
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.
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
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
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
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
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
>
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'
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