dhcpd dont like group of 2 or more dots in hostname string?
Pavel Paprok
ppaprok at applet.cz
Thu Oct 12 10:04:01 UTC 2006
hi,
dont know if this behaviour is agains some rfc
but i cant use any hostname containing group
of 2 or more dots in hostname. it do not depend
on where are ones placed in string.
for example - hostname:
abcd.efgh , abcdefgh. WORKS OK
but abcd..efgh , abcd...efgh or abcdefgh.. (with group
of 2 or more dots in string ) DO NOT WORKS
or there is any bug in dhcpd.conf parser maybe...?
i need accept groups of dots in hostname, if it is even possible..
thanks for help,
pavel
------------------------------
here are part of my host config where this problem reproduced:
host abcd..efgh {
hardware ethernet 01:02:03:04:05:06 ;
fixed-address 1.2.3.4 ;
}
generate this error in dhcpd startup log:
Oct 12 11:29:45 gw dhcpd: Internet Systems Consortium DHCP Server
V3.0.4-RedHat
Oct 12 11:29:45 gw dhcpd: Copyright 2004-2006 Internet Systems Consortium.
Oct 12 11:29:45 gw dhcpd: All rights reserved.
Oct 12 11:29:45 gw dhcpd: For info, please visit http://www.isc.org/sw/dhcp/
Oct 12 11:29:45 gw dhcpd: /etc/dhcpd.conf line 405: expecting left brace.
Oct 12 11:29:45 gw dhcpd: host abcd..
Oct 12 11:29:45 gw dhcpd: ^
Oct 12 11:29:45 gw dhcpd: Configuration file errors encountered -- exiting
Oct 12 11:29:45 gw dhcpd:
Oct 12 11:29:45 gw dhcpd: If you did not get this software from ftp.isc.org,
please
Oct 12 11:29:45 gw dhcpd: get the latest from ftp.isc.org and install that
before
Oct 12 11:29:45 gw dhcpd: requesting help.
Oct 12 11:29:45 gw dhcpd:
Oct 12 11:29:45 gw dhcpd: If you did get this software from ftp.isc.org and
have not
Oct 12 11:29:45 gw dhcpd: yet read the README, please read it before
requesting help.
Oct 12 11:29:45 gw dhcpd: If you intend to request help from the
dhcp-server at isc.org
Oct 12 11:29:45 gw dhcpd: mailing list, please read the section on the
README about
Oct 12 11:29:45 gw dhcpd: submitting bug reports and requests for help.
Oct 12 11:29:45 gw dhcpd:
Oct 12 11:29:45 gw dhcpd: Please do not under any circumstances send
requests for
Oct 12 11:29:45 gw dhcpd: help directly to the authors of this software -
please
Oct 12 11:29:45 gw dhcpd: send them to the appropriate mailing list as
described in
Oct 12 11:29:45 gw dhcpd: the README file.
Oct 12 11:29:45 gw dhcpd:
Oct 12 11:29:45 gw dhcpd: exiting.
Oct 12 11:29:45 gw dhcpd: dhcpd startup failed
More information about the dhcp-users
mailing list