Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

What does 'dhclient: suspect value in host_name option - discarded' mean?

Hi,

in the logs of my UTM 9.103 I see many errors(!) stating
'dhclient: suspect value in host_name option - discarded'

What's this or how can see what's really wrong or which host causes this?

Xavier


This thread was automatically locked due to age.
  • Hi ,

    Do you have nenes of hosts like : name_name ,
    A hosts that use _ sign ?
    Be aware if yes that _ is not an acceptable sigh for DNS.
    Of this sign is in the domain name it's even more bad.
    That can be your problem according to the log you sent .

    All my best.
    Giliped.
  • Hi,


    no _ in any host name, nor in the domain name.

    Xavier
  • Hi ,

    Please attach dhcp log.
    Probably we will found the cause in it.

    All my best.
    Gilipeled
  • Hi,
    DHClient is the DHCP client for the EXTERNAL interface, and logs to system.log.

    The dhcpd.log is for the DHCP server for the internal networks.

    So, please check the system log.

    Who is your ISP?

    Barry
  • That error message indicates that the UTM's dhclient doesn't like the host name it's being told to send to the dhcp server. As that name has to be in proper DNS form, the client is discarding it. For most ISP's that use DHCP to assign IP's to their client it doesn't really matter as the ISP discards what you suggest and uses their own.

    What did you set your UTM's fqdn to when you initially setup the unit?
  • This message is the only one begging with 'dhcpclient' in the logs.

    The UTM's hostname since first installation is 'astaro.foobar.local'

    But thanks to your answers I noticed that my ISP sends a hostname 
    with a blank.
    It this the reason?
  • Hi ,

    Is it possible that the router connected to the external interface has has a name with _ ?
    Is your external is an interface that take automatic IP from a device that have name with _ ?


    All my best.
    Gilipeled.
  • If your ISP is handing out a name with a blank character, that may be why. I thought that message was normally only displayed when dhclient read it's config file but it may also come up when dhclient receives it's lease information. There's not a lot of info from google on that error (just some stuff from Amazon AWS) so I had to dig into the source code of dhclient to make sense of it. [:)]

    Blank(whitespace) characters are not valid characters per the DNS naming specs so dhclient would throw an error. Your hostname is a valid DNS name though not resolvable anywhere except perhaps internally.
  • I plugged the WAN Interface beyond another router instead of directly into the cable modem and the messages didn't show up.
    So my ISP's DHCP seems to be the one to blame.

    Thanks
    Xavier