On what OS Distribution? On my CentOS and Red Hat Linux distributions the file is at /etc/named.conf.otherwise you can pass from ssh via root access to /etc/named/named.db (or /etc/bind/named.db) and delete the line of the domain that give you error