Unbound is not starting

Hello and good evening,
who can tell me what is going wrong here:

[1591633670] unbound-checkconf[8286:0] error: error parsing local-data at 30 'EdgeSwitch 5XP PoE.xxxxx.yyy 60 IN A': Syntax error, could not parse the RR's type
[1591633670] unbound-checkconf[8286:0] error: Bad local-data RR EdgeSwitch 5XP PoE.xxxxx.yyy 60 IN A
[1591633670] unbound-checkconf[8286:0] fatal error: failed local-zone, local-data configuration

If I comment out the following lines in /etc/unbound/hosts.conf everything works and Unbound can be started successfully.

#local-data: "EdgeSwitch 5XP PoE.xxxxx.yyy" 60 IN A"
#local-data: " 60 IN PTR EdgeSwitch 5XP PoE.xxxxx.yyy"

Any other entries are processed without any complaint.

Is there a space between EdgeSwitch and 5XP ? hostnames should not have spaces.

1 Like

How did you define these host names?
Maybe there should be a check in the WUI scripts. Therefore my question.

EDIT: I just looked into hosts.cgi There is a check. But the function in general-functions.pl allows spaces, which is wrong for RFC 1035.
We should post an entry in bugzilla.ipfire.org

Hallo paul,
thats it, no spaces, i changed the name. it works.


could some of you guys please open up a bug at https://bugzilla.ipfire.org/ so we can keep track of this?

Thanks, and best regards,
Peter Müller

I’ll do it in the next hour.

1 Like

Thanks. :slight_smile:

Done. https://bugzilla.ipfire.org/show_bug.cgi?id=12428

1 Like