Lines Matching refs:daemon
451 for (doctor = daemon->doctors; doctor; doctor = doctor->next) { in do_doctor()
511 if (!found_soa) minttl = daemon->neg_ttl; in find_soa()
529 if (daemon->doctors) { in extract_addresses()
595 if (!found && !(daemon->options & OPT_NO_NEG)) { in extract_addresses()
657 if ((daemon->options & OPT_NO_REBIND) && (flags & F_IPV4) && in extract_addresses()
675 if (!found && !(daemon->options & OPT_NO_NEG)) { in extract_addresses()
783 for (mx = daemon->mxnames; mx; mx = mx->next) in check_for_local_domain()
786 for (txt = daemon->txt; txt; txt = txt->next) in check_for_local_domain()
789 for (intr = daemon->int_names; intr; intr = intr->next) in check_for_local_domain()
792 for (ptr = daemon->ptr; ptr; ptr = ptr->next) in check_for_local_domain()
931 if (crecp->flags & (F_IMMORTAL | F_DHCP)) return daemon->local_ttl; in crec_ttl()
939 char* name = daemon->namebuff; in answer_request()
975 if (!is_sign && (udpsz > daemon->edns_pktsz)) PUTSHORT(daemon->edns_pktsz, psave); in answer_request()
982 for (rec = daemon->mxnames; rec; rec = rec->next) rec->offset = 0; in answer_request()
1005 for (t = daemon->txt; t; t = t->next) { in answer_request()
1011 daemon->local_ttl, NULL, T_TXT, t->class, "t", in answer_request()
1026 for (ptr = daemon->ptr; ptr; ptr = ptr->next) in answer_request()
1030 for (intr = daemon->int_names; intr; intr = intr->next) { in answer_request()
1043 daemon->local_ttl, NULL, T_PTR, C_IN, "d", in answer_request()
1051 for (ptr = daemon->ptr; ptr; ptr = ptr->next) in answer_request()
1054 daemon->local_ttl, NULL, T_PTR, C_IN, "d", in answer_request()
1082 else if (is_arpa == F_IPV4 && (daemon->options & OPT_BOGUSPRIV) && in answer_request()
1111 daemon->local_ttl, NULL, type, C_IN, "4", &addr)) in answer_request()
1121 for (intr = daemon->int_names; intr; intr = intr->next) in answer_request()
1132 daemon->local_ttl, NULL, type, C_IN, "4", in answer_request()
1147 if (local_addr.s_addr != 0 && (daemon->options & OPT_LOCALISE) && in answer_request()
1212 for (rec = daemon->mxnames; rec; rec = rec->next) in answer_request()
1220 daemon->local_ttl, &offset, T_MX, C_IN, "sd", in answer_request()
1228 if (!found && (daemon->options & (OPT_SELFMX | OPT_LOCALMX)) && in answer_request()
1234 header, limit, &trunc, nameoffset, &ansp, daemon->local_ttl, NULL, in answer_request()
1236 (daemon->options & OPT_SELFMX) ? name : daemon->mxtarget)) in answer_request()
1245 for (rec = daemon->mxnames; rec; rec = rec->next) in answer_request()
1253 daemon->local_ttl, &offset, T_SRV, C_IN, "sssd", in answer_request()
1262 if (!found && (daemon->options & OPT_FILTER) && in answer_request()
1271 for (na = daemon->naptr; na; na = na->next) in answer_request()
1278 daemon->local_ttl, NULL, T_NAPTR, C_IN, in answer_request()
1288 if (qtype == T_SOA && (daemon->options & OPT_FILTER)) { in answer_request()
1303 for (rec = daemon->mxnames; rec; rec = rec->next) in answer_request()