<div dir="ltr"><div dir="auto"><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 20 Oct, 2021, 11:21 Geert Stappers via Dnsmasq-discuss, <<a href="mailto:dnsmasq-discuss@lists.thekelleys.org.uk" target="_blank">dnsmasq-discuss@lists.thekelleys.org.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wed, Oct 20, 2021 at 07:50:58AM +0530, Shrenik Bhura wrote:<br>
> On Tue, 19 Oct 2021 at 21:01, Dominik Derigs <<a href="mailto:dl6er@dl6er.de" rel="noreferrer" target="_blank">dl6er@dl6er.de</a>> wrote:<br>
> <br>
> > Hey Shrenik,<br>
> ><br>
> > On Tue, 2021-10-19 at 17:20 +0530, Shrenik Bhura wrote:<br>
> > > Option 12 hostname sent to RPi is the first octet of the IP<br>
> > > address. This seems incorrect.<br>
> ><br>
> > This can very well be desired behavior (if the hostname is set to<br>
> > "192"). Can you quote your configuration and related files (e.g.<br>
> > if you are using dhcp-hostsfile or dhcp-hostsdir)?<br>
> ><br>
> > Best,<br>
> > Dominik<br>
> ><br>
> <br>
> Hi Dominik,<br>
<br>
Hello Archive visitor,<br>
Hello Mailinglist subscriber,<br>
<br>
<br>
> There isn't anything specific in the configuration that serves the<br>
> hostname. I am aware of this feature and when defined it works as desired.<br>
> But when nothing is explicitly defined to serve hostnames, it is defaulting<br>
> to 192 as visible in the logs, and only in the case of an RPi.<br>
> When checked on the client with the hostname command, it shows the full<br>
> hostname - 192.168.67.53<br>
<br>
Such hostname do I call IPaddress.<br>
<br>
<br>
> The same configuration works fine with a x86 system as no hostname is being<br>
> served when none is defined.<br>
> <br>
> Also it would be ideal to improve the logs as well to reflect the full<br>
> hostname, if at all.<br>
> <br>
> Have attached the config files involved.<br>
<br>
Make a packet capture and put the .pcap on a server.<br>
Then tell here how to fetch the file.<br>
Next can those who care examine the .pcap with their tool.<br>
(wireshark / tcpdump)<br>
<br>
> Once again, do note that this is the case only for an RPi. So there is some<br>
> specific logic in dnsmasq coming into play for an RPi that seems to be<br>
> serving the IP address as the default hostname when none is present.<br>
<br>
So beside the<br>
/sbin/tcpdump -w rpi.pcap ether host dc:a6:32:78:98:ae<br>
also<br>
/sbin/tcpdump -w worksfine.pcap ether host MAC_address_of_known_good<br>
<br>
<br>
> Best,<br>
> Shrenik<br>
<br>
Please make it possible to read in the discussion. Show the world<br>
that you understand the concepts like "timezone" and "one to many<br>
communication". In other words: the response goes below previous text.<br>
<br>
<br>
Groeten<br>
Geert Stappers<br>
-- <br>
Silence is hard to parse<br>
<br>
_______________________________________________<br>
Dnsmasq-discuss mailing list<br>
<a href="mailto:Dnsmasq-discuss@lists.thekelleys.org.uk" rel="noreferrer" target="_blank">Dnsmasq-discuss@lists.thekelleys.org.uk</a><br>
<a href="https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss" rel="noreferrer noreferrer" target="_blank">https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss</a> </blockquote><div><br></div><div>Hello All,</div><div><br></div><div>Apologies and thanks Geert for the wake up note on the mailing list posting etiquette.</div><div><br></div><div>>
> hostname - 192.168.67.53
</div><div>>
Such hostname do I call IPaddress. <br></div><div></div><div>Sure, you may when coincidentally the string returned as a hostname is equivalent to the IP address notation. ;)<br></div><div><br></div><div>Herein is the link to the related packet captures of an RPi and x86 system - <a href="https://drive.google.com/file/d/11RwpCdbE8W0ohS2QDj4BarZ_VHnEhwfs/view?usp=sharing">https://drive.google.com/file/d/11RwpCdbE8W0ohS2QDj4BarZ_VHnEhwfs/view?usp=sharing</a></div><div><br></div><div>Regards / Groeten,<br></div><div>Shrenik<br></div></div></div></div>
</div>