fix error 'Cannot reassign variable confdir_path'
add host-record for every dhcp-host
add support for cnames