loewexy / pdnsmanager

A simple administration interface for PowerDNS nameserver.
Apache License 2.0
175 stars 48 forks source link

Support LUA Records #124

Closed brlumen closed 4 years ago

brlumen commented 4 years ago

Is there any LUA Records support for the PowerDns Authority server? Are you planning?

w796933 commented 4 years ago

powerdns 4.2 support LUA records . how to support lua recores ?

loewexy commented 4 years ago

There is currently no support but I would welcome a pull request. Here are some hints on how to achive that:

https://github.com/loewexy/pdnsmanager/blob/master/frontend/src/app/services/state.service.ts This is the definition of the allowed Types in the Frontend.

https://github.com/loewexy/pdnsmanager/blob/master/backend/src/config/ConfigDefault.php Here it is for the backend.

I imagine adding it in both locations would suffice for basic support. I do not know if a LUA Record can easily be typed into a one line input field. It there is something else required it would probably be more complex.

loewexy commented 4 years ago

This should work now in the current development version. So please try this.