tuxis-ie / nsedit

DNS Editor working with PowerDNS's new API
GNU General Public License v2.0
199 stars 55 forks source link

Zone with ~ 3000 records fails to load. #148

Open fousti opened 7 years ago

fousti commented 7 years ago

Hello,

Trying to install NSedit at my company for managing our DNS setup.

When trying to get records for one of our internal zone with 2981 records, it always fails with this error log:

2017/05/22 16:08:57 [error] 30296#30296: *216 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function Exception() in /var/www/nsedit-1.1/includes/class/Zone.php:242

`Stack trace:

0 /var/www/nsedit-1.1/includes/class/Zone.php(45): RRSet->addRecord('10.190.26.27', false)

1 /var/www/nsedit-1.1/zones.php(189): Zone->parse(Array)

2 {main}

thrown in /var/www/nsedit-1.1/includes/class/Zone.php on line 242" while reading response header from upstream, client: 192.168.51.57, server: dnsmaster.vip, request: "POST /zones.php?action=listrecords&zoneid=OBFUSCATED&jtStartIndex=0&jtPageSize=20 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.0-fpm.sock:", host: "dnsmaster.vip", referrer: "http://dnsmaster.vip/index.php"`