Spaces in hostnames?

Barry Finkel b19141 at
Wed Aug 9 13:49:05 UTC 2006

sf techguy wrote:
>I'm running an older build of dhcpd (2.0p15), embedded in our 
>snapgear firewall.
>If a dhcp client computer has a space in their computer hostname, then
>the hostname in dhcpd comes up blank. There are so many eople coming
>and going, there's no way for me to maunually enforce a 'no spaces in
>your computer name' policy.
>Is there a way to force this using the server? I.E., tell the server
>something like:
>'if the computer hostname contains a space, replace it with a `_` character?'
>or if there's a space in the hostname, don't assign an ip address?

In DNS an underscore character is not legal in a hostname.
Barry S. Finkel
Computing and Information Systems Division
Argonne National Laboratory          Phone:    +1 (630) 252-7277
9700 South Cass Avenue               Facsimile:+1 (630) 252-4601
Building 222, Room D209              Internet: BSFinkel at
Argonne, IL   60439-4828             IBMMAIL:  I1004994

More information about the dhcp-users mailing list