Lines Matching refs:domain

103 	    fprintf(stderr, "%-8s: no domain name in input file\n", node);
110 fprintf(stderr, "%-8s no domain name in input file\n", node);
131 * The entry tells us that "node" expands to "domain".
132 * "domain" can either be a domain name or a bitnet node name
133 * The buffer pointed to by "domain" may be overwritten--it
136 entry(node, domain, domainlen)
138 char *domain;
147 /* We already have a domain for this node */
148 if (!strchr(domain, '.')) {
152 * do them instead. Give the the domain expansion for "node"
153 * (which is in "otherdomian") to FOO (which is in "domain")
154 * if "domain" doesn't have a domain expansion already.
156 p = lookup(domain);
157 if (!p || !strchr(p, '.')) remember(domain, otherdomain);
161 if (!strchr(domain, '.') || valhost(domain, domainlen)) {
162 remember(node, domain);
167 * have a domain expansion, give it the expansion "domain".
170 if (!p || !strchr(p, '.')) remember(otherdomain, domain);
196 fprintf(stderr, "%-8s %s %s\n", node, domain, err);
202 * Validate whether the mail domain "host" is registered in the DNS.
330 char *domain;
344 return p->domain;
351 * Mark the node "node" as equivalent to "domain". "domain" can either
352 * be a bitnet node or a domain name--if it is the latter, the mapping
355 remember(node, domain)
357 char *domain;
361 if (strchr(domain, '.')) {
362 fprintf(stdout, "%-8s %s\n", node, domain);
367 p->domain = malloc(strlen(domain)+1);
368 if (!p->domain) {
371 strcpy(p->domain, domain);
382 p->domain = malloc(strlen(domain)+1);
383 if (!p->node || !p->domain) goto outofmemory;
385 strcpy(p->domain, domain);
395 * node FOO is equivalent to node BAR and node BAR has a domain name.
396 * For those cases, give FOO the same domain name as BAR.
401 char *domain;
404 if (!strchr(p->domain, '.') && (domain = lookup(p->domain))) {
405 remember(p->node, domain);