[Dnsmasq-discuss] Using dhcp-host hostname as address for DNS
gabreal at lavabit.com
Sun Jul 29 22:25:49 BST 2012
On 07/29/2012 06:39 PM, Simon Kelley wrote:
> On 26/07/12 13:31, gabriel wrote:
>> I've just subscribed to this list and have a question to a previous
>> post. But I don't know how to reply on that thread now.
>> The thread in concern started on Fri Jul 20 11:30:02 BST 2012 same
>> 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
> 126.96.36.199 myhost
> in /etc/dnsmasq.conf
Thanks for your reply.
So this means that I can't maintain my hosts in a single file with only
More information about the Dnsmasq-discuss