}
DNSName d_name; //!< actual name of the domain
- DomainInfo::DomainKind d_kind; //!< the kind of domain
+ DomainInfo::DomainKind d_kind{DomainInfo::Native}; //!< the kind of domain
string d_filename; //!< full absolute filename of the zone on disk
string d_status; //!< message describing status of a domain, for human consumption
vector<ComboAddress> d_masters; //!< IP address of the master of this domain
time_t d_ctime{0}; //!< last known ctime of the file on disk
time_t d_lastcheck{0}; //!< last time domain was checked for freshness
uint32_t d_lastnotified{0}; //!< Last serial number we notified our slaves of
- unsigned int d_id; //!< internal id of the domain
+ unsigned int d_id{0}; //!< internal id of the domain
mutable bool d_checknow; //!< if this domain has been flagged for a check
- bool d_loaded; //!< if a domain is loaded
+ bool d_loaded{false}; //!< if a domain is loaded
bool d_wasRejectedLastReload{false}; //!< if the domain was rejected during Bind2Backend::queueReloadAndStore
bool d_nsec3zone{false};
NSEC3PARAMRecordContent d_nsec3param;
private:
time_t getCtime();
- time_t d_checkinterval;
+ time_t d_checkinterval{0};
};
class SSQLite3;
DNSName qname;
DNSName domain;
- int id;
+ int id{-1};
QType qtype;
- bool d_list;
- bool mustlog;
+ bool d_list{false};
+ bool mustlog{false};
private:
bool get_normal(DNSResourceRecord&);
void connect();
std::string d_endpoint;
int d_timeout;
- int d_timespent;
+ int d_timespent{0};
std::map<std::string, std::string> d_options;
std::unique_ptr<void, int (*)(void*)> d_ctx;
std::unique_ptr<void, int (*)(void*)> d_sock;
int d_assignedID;
MOADNSParser::answers_t d_origAnswers, d_newAnswers;
int d_origRcode, d_newRcode;
- struct timeval d_resentTime;
+ struct timeval d_resentTime{};
bool d_norecursionavailable;
bool d_origlate, d_newlate;
};