[Dnsmasq-discuss] Using dhcp-host hostname as address for DNS
Helmut Hullen
Hullen at t-online.de
Wed Aug 1 15:14:00 BST 2012
Hallo, Simon,
Du meintest am 29.07.12:
>> My question is whether it would be possible to have a single line
>> config statement for mac-ip-hostname mapping.
>> But I want to have the DNS entries permanently preserved resp. dns
>> mappings without prior dhcp ip negotiation. Actually this means I
>> don't want DNS to be dynamic.
>>
>> Is this somehow configurable?
> Yes. Put the hostname<->IP address mapping in /etc/hosts and the
> mac_address<->hostname mappings in /etc/dnsmasq.conf in dhcp-host
> lines.
> so: in /etc/hosts
> 1.2.3.4 myhost
> in /etc/dnsmasq.conf
> dhcp=host=00:11:22:33:44:55,myhost
Perhaps a nasty typo:
dhcp-host=00:11:22:33:44:55,myhost
Viele Gruesse!
Helmut
More information about the Dnsmasq-discuss
mailing list