73
74
75
76
77
78
79
80
81
82
83
84
85
86
|
@interface OFDNSResolver: OFObject
{
OFDictionary OF_GENERIC(OFString *, OFArray OF_GENERIC(OFString *) *)
*_staticHosts;
OFArray OF_GENERIC(OFString *) *_nameServers;
OFString *_Nullable _localDomain;
OFArray OF_GENERIC(OFString *) *_searchDomains;
size_t _minNumberOfDotsInAbsoluteName;
bool _usesTCP;
of_time_interval_t _configReloadInterval;
OFDate *_lastConfigReload;
OFUDPSocket *_IPv4Socket;
#ifdef OF_HAVE_IPV6
OFUDPSocket *_IPv6Socket;
|
>
>
|
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
@interface OFDNSResolver: OFObject
{
OFDictionary OF_GENERIC(OFString *, OFArray OF_GENERIC(OFString *) *)
*_staticHosts;
OFArray OF_GENERIC(OFString *) *_nameServers;
OFString *_Nullable _localDomain;
OFArray OF_GENERIC(OFString *) *_searchDomains;
of_time_interval_t _timeout;
unsigned int _maxRetries;
size_t _minNumberOfDotsInAbsoluteName;
bool _usesTCP;
of_time_interval_t _configReloadInterval;
OFDate *_lastConfigReload;
OFUDPSocket *_IPv4Socket;
#ifdef OF_HAVE_IPV6
OFUDPSocket *_IPv6Socket;
|
110
111
112
113
114
115
116
117
118
119
120
121
122
123
|
@property OF_NULLABLE_PROPERTY (readonly, nonatomic) OFString *localDomain;
/*!
* @brief The domains to search for queries for short names.
*/
@property (copy, nonatomic) OFArray OF_GENERIC(OFString *) *searchDomains;
/*!
* @brief The minimum number of dots for a name to be considered absolute.
*/
@property (nonatomic) size_t minNumberOfDotsInAbsoluteName;
/*!
* @brief Whether the resolver uses TCP to talk to a name server.
|
>
>
>
>
>
>
>
>
>
>
>
>
>
|
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
|
@property OF_NULLABLE_PROPERTY (readonly, nonatomic) OFString *localDomain;
/*!
* @brief The domains to search for queries for short names.
*/
@property (copy, nonatomic) OFArray OF_GENERIC(OFString *) *searchDomains;
/*!
* @brief The timeout, in seconds, after which the next name server should be
* tried.
*/
@property (nonatomic) of_time_interval_t timeout;
/*!
* @brief The number of retries after which to give up resolving a host.
*
* Trying all name servers once is considered a single retry.
*/
@property (nonatomic) unsigned int maxRetries;
/*!
* @brief The minimum number of dots for a name to be considered absolute.
*/
@property (nonatomic) size_t minNumberOfDotsInAbsoluteName;
/*!
* @brief Whether the resolver uses TCP to talk to a name server.
|