Re: [Dnsmasq-discuss] dhcp-host=hostnameonly does not work

2022-07-04 Thread James Feeney via Dnsmasq-discuss
Also, /etc/ethers does not accept IPv6 addresses, and, even when using the hostname instead, the ether address will not associate with >> an IPv6 address in /etc/hosts. Again, "dhcp-host=..." still has to be used for DHCPv6. Oops - I had "bind-interfaces" instead of "bind-dynamic", and

Re: [Dnsmasq-discuss] dhcp-host=hostnameonly does not work

2022-07-04 Thread James Feeney via Dnsmasq-discuss
On 5/20/22 04:09, Matus UHLAR - fantomas via Dnsmasq-discuss wrote: just FYI, I use /etc/ethers for this, as this is unix database for mapping ethernet numbers to hostnames. dnsmasq uses this database on my home router Hmm - this only works if "-Z" or "read-ethers" is explicitly set - as I

Re: [Dnsmasq-discuss] dhcp-host=hostnameonly does not work [solved]

2022-05-20 Thread Maulis Adam via Dnsmasq-discuss
Hello everybody, finally I figured out. Thank you all for your support. Working config: /etc/hosts 192.168.64.200 cntemplate dnsmasq.conf dhcp-range=192.168.64.0,static,1d dhcp-host=cntemplate Dhcp request has a hostname field 'cntemplate' Config that did not work: /etc/hosts 192.168.64.200

Re: [Dnsmasq-discuss] dhcp-host=hostnameonly does not work

2022-05-20 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
On 5/19/22 07:46, Maulis Adam via Dnsmasq-discuss wrote: I like to configure my dhcp server with as little redundacy as possible. But it looks like the IP address needs to be written both of /etc/hosts and /etc/dnsmasq.conf The client machines are in the /etc/hosts for example:

Re: [Dnsmasq-discuss] dhcp-host=hostnameonly does not work

2022-05-20 Thread john doe
On 5/19/2022 11:42 PM, Maulis Adam wrote: On 5/19/22 21:22, john doe wrote: On 5/19/2022 4:46 PM, Maulis Adam via Dnsmasq-discuss wrote: Hello, I like to configure my dhcp server with as little redundacy as possible. But it looks like the IP address needs to be written both of /etc/hosts

Re: [Dnsmasq-discuss] dhcp-host=hostnameonly does not work

2022-05-19 Thread Michael Smith
On 5/19/22 07:46, Maulis Adam via Dnsmasq-discuss wrote: Hello, I like to configure my dhcp server with as little redundacy as possible. But it looks like the IP address needs to be written both of /etc/hosts and /etc/dnsmasq.conf The client machines are in the /etc/hosts for example:

Re: [Dnsmasq-discuss] dhcp-host=hostnameonly does not work

2022-05-19 Thread john doe
On 5/19/2022 4:46 PM, Maulis Adam via Dnsmasq-discuss wrote: Hello, I like to configure my dhcp server with as little redundacy as possible. But it looks like the IP address needs to be written both of /etc/hosts and /etc/dnsmasq.conf The client machines are in the /etc/hosts for example: