<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Not sure how to phrase this. </p>
<p>I am running dnsmasq. I generally assign IP address via:<br>
dhcp-host=00:04:13:34:22:38,snom_300_phone<br>
so that when a device with mac address: 00:04:13:34:22:38 requests
an ip address the name from that dhcp-host record is returned. <br>
</p>
<p>Of devices where I don't have a pre-assigned ip address, I see in
the logs: <br>
<br>
<font face="monospace">Dec 17 01:05:45 devbox
dnsmasq-dhcp[1438630]: 3224099965 client provides name: ecoflow<br>
Dec 17 01:05:45 devbox dnsmasq-dhcp[1438630]: 3224099965
DHCPREQUEST(HomeLan) 10.12.15.129 f4:f3:23:00:f4:28<br>
Dec 17 01:05:45 devbox dnsmasq-dhcp[1438630]: 3224099965 tags:
HomeLan<br>
Dec 17 01:05:45 devbox dnsmasq-dhcp[1438630]: 3224099965
DHCPACK(HomeLan) 10.12.15.129 f4:f3:23:00:f4:28 ecoflow<br>
Dec 17 01:05:45 devbox dnsmasq-dhcp[1438630]: 3224099965
requested options: 1:netmask, 3:router, 28:broadcast,
6:dns-server<br>
Dec 17 01:05:45 devbox dnsmasq-dhcp[1438630]: 3224099965 next
server: 10.12.14.30<br>
Dec 17 01:05:45 devbox dnsmasq-dhcp[1438630]: 3224099965 sent
size: 1 option: 53 message-type 5<br>
Dec 17 01:05:45 devbox dnsmasq-dhcp[1438630]: 3224099965 sent
size: 4 option: 54 server-identifier 10.12.14.30<br>
Dec 17 01:05:45 devbox dnsmasq-dhcp[1438630]: 3224099965 sent
size: 4 option: 51 lease-time 12h<br>
Dec 17 01:05:45 devbox dnsmasq-dhcp[1438630]: 3224099965 sent
size: 4 option: 58 T1 5h33m12s<br>
Dec 17 01:05:45 devbox dnsmasq-dhcp[1438630]: 3224099965 sent
size: 4 option: 59 T2 10h3m12s<br>
Dec 17 01:05:45 devbox dnsmasq-dhcp[1438630]: 3224099965 sent
size: 4 option: 1 netmask 255.255.254.0<br>
Dec 17 01:05:45 devbox dnsmasq-dhcp[1438630]: 3224099965 sent
size: 4 option: 28 broadcast 10.12.15.255<br>
Dec 17 01:05:45 devbox dnsmasq-dhcp[1438630]: 3224099965 sent
size: 4 option: 6 dns-server 10.12.14.30<br>
Dec 17 01:05:45 devbox dnsmasq-dhcp[1438630]: 3224099965 sent
size: 4 option: 3 router 10.12.14.30</font><br>
</p>
when a device boots up and requests an ip address. <br>
<br>
In this particular case, I see that <font face="monospace">10.12.15.129
</font>is assigned AND that the device sends: "<font
face="monospace"><b>client provides name: ecoflow</b></font>". <br>
Is there any dnsmasq setting that tells the server it's ok to give
the assigned address ( 10.12.15.129 ) the client provided name -
ecoflow - in this case. <br>
<br>
The device gets the 10.12.15.129 address assigned but the hostname
ecoflow is not allocated anywhere. <br>
ping ecoflow or host ecoflow or ping ecoflow.mydomain.net, etc don't
cause the 10.12.15.129 address to be resoved so all I get is: <br>
Host ecoflow not found: 3(NXDOMAIN)<br>
<br>
How can I get my dnsmasq server to use the 'client provides name:'
data sent with the original DHCP request? <br>
<p></p>
<img src="http://url7179.mylinuxguy.net/wf/open?upn=u001.toi2a3BVYjpmZmo3K53MZgUwe1-2BKLfG4jjl2t3XVRU45ki3pDw3Jh01m1sL4KJgISghZjI0GWwLU3BzQSYkenqGBpbafcaAGPynqQEyLiZBO9PAOXNLeLTfNugrNGqUZkuJx0eFbbaExkiAAccPq6HQ7-2FBTR1aUbClAB930Ijyfim2MBUYfVmo5Vd-2FYFsas64TFCXqj5DJLjy34Ljp8-2FgL-2FHXVDL1u2o0azKd1O-2FTHY3FCaapr76e0CJG7iP4Jxe" alt="" width="1" height="1" border="0" style="height:1px !important;width:1px !important;border-width:0 !important;margin-top:0 !important;margin-bottom:0 !important;margin-right:0 !important;margin-left:0 !important;padding-top:0 !important;padding-bottom:0 !important;padding-right:0 !important;padding-left:0 !important;"/></body>
</html>