Fix sql statment in DNS Config module