Skip to content

[Bug]: LUA records verification fails #991

@gbeine

Description

@gbeine

Describe the problem

I've added two LUA records using the CLI interface.
Both work properly, but PowerAdmin does reject them.

1st record: AAAA "; return who:toString()"
2nd record: A "; return who:toString()"

When I click on "Save changes", PowerAdmin tells me:
Error: LUA record in implicit return mode should be a valid function call or function definition with "function" and "end" keywords.

Steps to reproduce

  1. create a minimal LUA record within a zone using the CLI tool
  2. navigate to the zone within PowerAdmin
  3. verify, the record is displayed properly
  4. click on "Save changes"

Poweradmin version

v4.1.0 (Docker latest)

Database

PostgreSQL

Additional information (optional)

No response

Metadata

Metadata

Assignees

Labels

dnsDNS Management

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions