[Fli4l_dev] dns_dhcp bekomme A?==?utf-8?Q?LIAS syntax nicht hin

Andreas Müller zxmueller at t-online.de
Mi Apr 12 11:36:49 CEST 2017


Hallo, es geht um die DNS_DHCP.CFG
SYSTEM: benutze kernelversion "4.4.35-virt-nonfree" für XEN fli-DomU


mit den alten cfg Einträgen funktioniert es mit den ALIAS Einträgen
# ALTE.CFG
#--------------------------------------------------------------
HOST_N='50'                              # number of hosts in your
domain
                                         # 1st host:
HOST_1_NAME='filesrv'                    # name
#HOST_1_DOMAIN='foo.lan'                 # different domain (optional)
                                         # as declared in DOMAIN_NAME
(base.txt)
HOST_1_IP4='192.168.2.153'                 # IP-Adress (ipv4)
#HOST_1_IP6='::ffff:c0a8:0299'
#HOST_1_DOMAIN='filesrv.xxxxxxx.org'          # IP-Adress (ipv6) /
optional
HOST_1_ALIAS_N='1'                       # number of optional alias
names
HOST_1_ALIAS_1='filesrv.xxxxxxx.org'        # 1st optional alias name   
           <-------- Eintrag ok
#HOST_1_ALIAS_2='printserver.lan.fli4l'   # 2nd optional alias name
#HOST_1_DHCPTYP='hostname'                # set static dhcp-lease via
[hostname]
                                         # or [mac]
HOST_1_MAC='xx:xx:xx:xx:xx:xx'          # MAC-Adress - needed for static
DHCP
# ENDE ALTE.CFG
#---------------------------------------------------------


# NEUE.CFG
#--------------------------------------------------------------
HOST[]                              # number of hosts in your domain
{
NAME='filesrv'                    # name
#DOMAIN='foo.lan'                 # different domain (optional)
                                         # as declared in DOMAIN_NAME
IP4='192.168.2.153'                 # IP-Adress (ipv4)
#IP6='::ffff:c0a8:0299'
#DOMAIN='filesrv.xxxxxxx.org'          # IP-Adress (ipv6) / optional
ALIAS='filesrv.xxxxxxx.org'        # 1st optional alias name            
          <------- Eintrag????
MAC='xx:xx:xx:xx:xx:xx'          # MAC-Adress - needed for static DHCP

#  PXE {
#    FILENAME='pxelinux'        # Filename of PXE Netboot-Image
#    SERVERNAME='tftp.lan.fli4l'
                                # Name of Netboot-Server - see OPT_TFTP
#    SERVERIP='192.168.6.1'     # IP-Adress of Netboot-Server
#    OPTIONS=''                 # extra options for PXE-Boot
}
# ENDE NEUE:CFG
----------------------------------------------------------------

Error while parsing variable assignments at [configuration file
    'E:\fli4l-4.0.1\config/dns_dhcp.txt' (package dns_dhcp) 645:32]:
    syntax error, unexpected $end, expecting ID or LBRACKET or RBRACE
Variable 'HOST_%_ALIAS' set at [configuration file
    'E:\fli4l-4.0.1\config/dns_dhcp.txt' (package dns_dhcp) 37:0] does
    not exist.
Error while processing variable assignments.
Error while processing configuration, aborting!

was mache ich falsch?

Gruß Andreas


Mehr Informationen über die Mailingliste Fli4l_dev