Worked like a charm! I think that adding a simple notice to documentation that RPZ file have to be preformatted would save headache for others trying to accomplish similar results.

Best regards,
Łukasz Jarosz

czw., 3 mar 2022 o 10:52 Vladimír Čunát <vladimir.cunat@nic.cz> napisał(a):
Hello.

On 03/03/2022 10.41, Łukasz Jarosz wrote:
> I am trying to import custom generated RPZ list into kresd, but daemon
> fails with following error "[policy] RPZ: invalid domain name
> character". I am using UTF-8 as encoding for file. Any pointers how to
> convince kres to ingest these domain names would be greatly appreciated.

Unfortunately that's not supported.  For IDN names you need to use the
equivalents already converted into punycode.  I hope that's not too hard
for you at the generator side.

--Vladimir