The main purpose of a DHCP server is to provide dynamic configuration for a group of hosts (mainly IP, Gateway and DNS). There are several options that can also be sent.

Option 12 (client hostname), which is supported by Cisco devices, doesn't make sense to me. I tried it. I set this option ON and set the value to "Tom". Then you can see that all hosts got the same name, which is "Tom".

In which scenarios would I need to set all hosts to the same exact name? What is the importance of such a thing?

  • 1
    Why do you think every host should get the exact same name? This option is used so the server can tell each client their unique name, it should be used as a client specific configuration option.
    – Teun Vink
    Commented Jan 17, 2019 at 7:30
  • I tried it with real devices, and the clients got the same exact name,
    – AhmedWas
    Commented Jan 17, 2019 at 7:31
  • If you configure it as a global setting, of course they would.
    – Teun Vink
    Commented Jan 17, 2019 at 7:31
  • Gloabl setting? You mean I can make non-global settings for each client, or what do you mean? Thanks in advance.
    – AhmedWas
    Commented Jan 17, 2019 at 7:33
  • 3
    Yes, you can make client specific settings, like the assigned IP address and host name.
    – Teun Vink
    Commented Jan 17, 2019 at 7:48

2 Answers 2


You wouldn't set this option on the whole scope. Rather, you'd set it for a reserved address, so that a specific host gets a defined IP address and a defined host name.


It's more usual for DHCP clients to use option 12 to tell the server their hostname.

Some DHCP clients may use this client-provided hostname to automatically populate the DNS server with an A record for the client, using that hostname. Although that may be considered a security risk.

  • ... and that security risk can be mitigated by having the DHCP server generate the required DDNS update (optionally signed) which is being sent to the DNS server (determined by looking up the parent domain's SOA DNS record), possibly after some sanity checking before doing so. Commented Feb 1, 2019 at 6:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.