Failure of include file Unbound 1.4.22

Greetings to all,

I have an include statement in my unbound config file that is not
accepted on a Debian machine. the error message:
error parsing local-data / could not parse the RR's class / Bad
local-data RR 'adsitename'\ A 127.0.0.1
Could not set up local zones
The same include statement on a Ubuntu machine works.
Could anyone please help me understand why this is not working on a
Debian box ?

Kind Regards,

zongo

Just wanted to add, all the redirections statements in the include file are of this format:

local-zone: “247media.com” redirect

local-data: “247media.com\ A 127.0.0.1”

Hoi,

The local-data statement is failing. Because the resource record
could not be parsed. This is what the error message says.

The backslash seems out of place? You could remove it.

Best regards,
   Wouter

Thanks Wouter. Don’t know what happened by added an extra backslash while building the script. Everything is sorted now with the backslash gone :slight_smile:

All the best

zongo