Lines Matching refs:ttl
71 u_int ttl; /* ttl of A records */
1034 register u_int ttl;
1190 /* Handle ttl */
1191 if (name[0] == '$' && strcasecmp(name, "$ttl") == 0) {
1205 "%s: %s/%s:%d bad $ttl \"%s\"\n",
1212 /* Parse ttl or use default */
1214 ttl = atoi(cp);
1225 ttl *= 7;
1229 ttl *= 24;
1233 ttl *= 60;
1237 ttl *= 60;
1251 fprintf(stderr, "%s: %s/%s:%d bad ttl\n",
1261 ttl = soaval[SOA_MINIMUM];
1333 errors += updateitem(name, addr, REC_A, ttl, 0);
1455 errors += updateitem(name, 0, REC_MX, ttl, 0);
1665 register int records, register u_int ttl, register int flags)
1687 /* Only check differing ttl's for A and MX records */
1688 if (ip->ttl == 0)
1689 ip->ttl = ttl;
1690 else if (ttl != 0 && ip->ttl != ttl) {
1693 prog, ip->host, ttl, ip->ttl);
1728 if (ttl != 0)
1729 ip->ttl = ttl;