Lines Matching refs:nns
114 int nns = 0;
157 if (config.nameservers[i] == NULL || config.nameservers[i][0] == 0 || nns >= MAXNS) {
160 if (__lookup_ipliteral(conf->ns + nns, config.nameservers[i], AF_UNSPEC) > 0) {
161 nns++;
165 if (nns != 0) {
217 if (nns >= MAXNS) continue;
221 if (__lookup_ipliteral(conf->ns+nns, p, AF_UNSPEC) > 0)
222 nns++;
240 if (!nns) {
242 nns = 1;
246 conf->nns = nns;