dnsmanager icon indicating copy to clipboard operation
dnsmanager copied to clipboard

Invalid zone directive makes zone ineditable

Open mimi89999 opened this issue 4 years ago • 3 comments
trafficstars

Hello, If I make a mistake in a zone directive (like add $ORIGIN without adding a domain afterwards), the interface will show an error like Oh ! Une erreur est survenue. $ORIGIN incomplete at /home/ppittoli/perl5/lib/perl5/Net/DNS/ZoneFile.pm line 470, line 11. file /tmp/zones//noinidonoidewoindnoiew.netlib.re line 11 at /home/ppittoli/dnsmanager/bin/../lib/zonefile.pm line 89. and it will be impossible to edit the zone.

mimi89999 avatar Mar 16 '21 19:03 mimi89999

Did you go to IRC to talk about this problem?

I removed the file so you should be able to modify your zone again.

KaneRoot avatar Apr 20 '21 17:04 KaneRoot

Yes. It was me. Thanks for removing the file. However, I think that it would be better to resolve the issue on the code.

Also, I noticed that https://git.karchnu.fr/ is down.

mimi89999 avatar Apr 20 '21 18:04 mimi89999

Yes. It was me. Thanks for removing the file. However, I think that it would be better to resolve the issue on the code.

Yep, but won't happen. I rewrote most of the code in a completely different way, so I won't change anything in the current code. I don't know when I will make the final swap.

Also, I noticed that https://git.karchnu.fr/ is down.

Yep, the princess is in another castle Mario. Link changed, thanks for the warning.

KaneRoot avatar Apr 20 '21 19:04 KaneRoot