tdnsstatearr declaration is needed outside syncdns code