KaneRoot / dnsmanager

DNS zones manager. Configure your own dns zone in your browser, get a name on the Internet!
https://netlib.re
ISC License
52 stars 10 forks source link

Invalid zone directive makes zone ineditable #21

Open mimi89999 opened 3 years ago

mimi89999 commented 3 years ago

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.

KaneRoot commented 3 years ago

Did you go to IRC to talk about this problem?

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

mimi89999 commented 3 years ago

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.

KaneRoot commented 3 years ago

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.