Lines Matching defs:domain

183 /* add domain if necessary */
185 add_domain(register char *name, register const char *domain)
194 /* If necessary, append domain */
196 if (*domain != '.')
198 (void)strcpy(cp, domain);
478 /* Extract domain, converting to lowercase */
499 /* Process it! (zone is the same as the domain) */
1027 process(register const char *file, register const char *domain,
1052 /* Are we doing an in-addr.arpa domain? */
1056 ccp = domain + strlen(domain) - sizeof(inaddr) + 1;
1057 if (ccp >= domain && strcasecmp(ccp, inaddr) == 0 &&
1058 !parseinaddr(domain, &net, &mask)) {
1060 fprintf(stderr, "%s: %s/%s:%d bad in-addr.arpa domain\n",
1129 /* Check for domain shorthand */
1131 (void)strcpy(name, domain);
1146 /* Look for optional domain */
1150 process(name, domain, zone);
1153 /* Convert optional domain to lowercase */
1165 /* Extract domain, converting to lowercase */
1172 domain = odomain;
1175 /* Are we doing an in-addr.arpa domain? */
1178 ccp = domain + strlen(domain) - (sizeof(inaddr) - 1);
1179 if (ccp >= domain && strcasecmp(ccp, inaddr) == 0 &&
1180 !parseinaddr(domain, &net, &mask)) {
1183 "%s: %s/%s:%d bad in-addr.arpa domain\n",
1291 checkdots(name) && strcmp(domain, ".") != 0) {
1321 add_domain(name, domain);
1339 add_domain(name, domain);
1347 add_domain(cp, domain);
1361 add_domain(name, domain);
1403 add_domain(name, domain);
1409 add_domain(name, domain);
1454 add_domain(name, domain);
1486 add_domain(cp, domain);
1493 add_domain(name, domain);
1504 add_domain(cp, domain);
1508 add_domain(name, domain);
1530 add_domain(cp, domain);
1534 add_domain(name, domain);
1564 add_domain(cp, domain);
1568 add_domain(name, domain);
1600 add_domain(cp3, domain);
1605 add_domain(name, domain);
1624 add_domain(name, domain);