dhcpcd-discuss

Re: option 120 FQDN decoding issue

Roy Marples

Thu Jun 22 09:13:43 2017

Hi Renu

On 22/06/2017 04:03, Renu Bansal wrote:
> I am configuring DHCP Option 120 with FQDN as: “renu.com”
> 
> Wireshark is showing correct Sip server FQDN(“ renu.com” ), but dhcpcd
> client do not decode it properly.
> 
> From dhcpcd i receive FQDN as
> 
> new_sip_server='renu.@^E'

I think this is a bug in wireshark.
The first byte on the option is the encoding type. 0 is RFC1035, 1 is an
array of IP addresses.

As such, it cannot take a raw string value.
Can you upload the dhcpcd lease file, or wireshark capture binary
capture file?

Roy

References:
option 120 FQDN decoding issueRenu Bansal
Archive administrator: postmaster@marples.name