Lines Matching defs:records

71 	u_int ttl;		/* ttl of A records */
72 int records; /* resource records seen */
76 /* Resource records seen */
89 /* These aren't real records */
94 /* Test for records we want to map to REC_OTHER */
98 /* Mask away records we don't care about in the final processing to REC_OTHER */
102 /* Test for records we want to check for duplicate name detection */
110 #define FLG_ALLOWDUPA 0x008 /* allow duplicate a records */
1093 /* Handle multi-line soa records */
1406 /* XXX check to see if ip address records exists? */
1644 checkdups(register struct item *ip, register int records)
1648 records &= (ip->records & MASK_TEST_DUP);
1649 if (records == 0)
1652 if ((records & dp->record) != 0) {
1654 fprintf(stderr, "%s: multiple \"%s\" records for %s\n",
1656 records &= ~dp->record;
1658 if (records != 0)
1659 fprintf(stderr, "%s: checkdups: records not zero (%d)\n",
1660 prog, records);
1665 register int records, register u_int ttl, register int flags)
1684 if ((records & MASK_TEST_DUP) != 0)
1685 checkdups(ip, records);
1686 ip->records |= records;
1687 /* Only check differing ttl's for A and MX records */
1725 if ((records & MASK_TEST_DUP) != 0)
1726 checkdups(ip, records);
1727 ip->records |= records;
1784 register int n, records, flags;
1807 ip->host, intoa(ip->addr), ip->records, ip->flags);
1811 if (rfc1034host(ip->host, ip->records))
1814 /* Check for missing ptr records (ok if also an ns record) */
1815 records = ip->records & MASK_CHECK_REC;
1816 if ((ip->records & MASK_TEST_REC) != 0)
1817 records |= REC_OTHER;
1818 switch (records) {
1853 "%s: name referenced without other records: %s\n",
1890 fprintf(stderr, "%s: \"cname\" %s has other records\n",
1896 if ((ip->records & ~(REC_NS | REC_TXT)) == 0)
1903 "%s: records == 0x%x: can't happen (%s 0x%x)\n",
1904 prog, records, ip->host, ip->records);
1911 if ((flags & FLG_SELFMX) != 0 && (ip->records & REC_A) == 0) {
1926 if ((ip->records & REC_WKS) != 0) {
1948 /* Check for chained MX records */
1950 (ip->records & REC_MX) != 0) {
1983 if ((ip->records & REC_A) == 0 ||
1998 "%s: multiple \"a\" records for %s on subnet %s",