Lines Matching refs:ttl
392 int type, class, ttl, dlen;
476 ttl = parse_uint((const char **)&data);
505 dprint("\tttl %d secs\n", ttl);
511 cacheNS(domain, iap, ttl);
546 cacheNS(domain, iap, ttl);
561 * be cached) for ttl seconds.
564 cacheNS(char *domain, struct in_addr *iap, int ttl)
566 if (ttl > 0) {
576 now += ttl;
585 dprint("cacheNS: ttl 0 - nothing to cache\n");
736 int ttl = LEASEMIN;
749 updreqp = res_mkupdrec(S_UPDATE, fqdn, C_IN, T_A, ttl);
777 int ttl = LEASEMIN;
789 updreqp = res_mkupdrec(S_UPDATE, revname, C_IN, T_PTR, ttl);