View Single Post
  #28  
Old 8th March 2009, 22:33
jmroth jmroth is offline
ISPConfig Developer
 
Join Date: Sep 2005
Posts: 191
Thanks: 1
Thanked 6 Times in 6 Posts
Default

One thing I have meanwhile found out is that $isp_web->ptr_doctype_id is empty in writeconf.php
Code:
$ptr_dnss = $mod->db->queryAllRecords("SELECT dns_ptr.* FROM dns_nodes,dns_ptr WHERE dns_nodes.doc_id = \
dns_ptr.doc_id AND dns_nodes.doctype_id = '".$isp_web->ptr_doctype_id."' AND dns_ptr.status != ''");
i.e. the query returns nothing and make_named_reverse is not called.

However the doctype id (1033) in the DB dns_ptr is correct. Thus I do not know why $isp_web->ptr_doctype_id is empty in writeconf.php and not empty in lib/classes/ispconfig_bind.lib.php

EDIT: The doctype_id in DB dns_nodes is 0 for my folder "Reverse Delegation" which contains the PTR records in DNS Manager.
__________________
[ISPC 2 / Debian Lenny]
Reply With Quote