Lines Matching refs:dns_result

38 	isc_result_t		dns_result;
54 dns_result = dns_name_fromtext(dns_fixedname_name(&dns_origin),
56 if (dns_result != ISC_R_SUCCESS) {
58 dns_result_totext(dns_result));
59 return(dns_result);
64 dns_result = dns_rdataclass_fromtext(&rdataclass, &region);
65 if (dns_result != ISC_R_SUCCESS) {
67 dns_result_totext(dns_result));
68 return(dns_result);
71 dns_result = dns_db_create(mctx, db_type,
74 if (dns_result != ISC_R_SUCCESS)
76 dns_result_totext(dns_result));
78 return(dns_result);
97 isc_result_t dns_result;
154 dns_result = t_create(db_type, origin, db_class, model, mctx, &db);
155 if (dns_result != ISC_R_SUCCESS) {
162 dns_result = dns_db_load(db, filename);
163 if (dns_result != exp_load_result) {
165 dns_result_totext(dns_result),
173 if (dns_result != ISC_R_SUCCESS) {
182 dns_result = dns_name_fromtext(dns_fixedname_name(&dns_findname),
184 if (dns_result != ISC_R_SUCCESS) {
186 dns_result_totext(dns_result));
196 dns_result = dns_rdatatype_fromtext(&rdatatype, &textregion);
197 if (dns_result != ISC_R_SUCCESS) {
200 dns_result_totext(dns_result));
215 dns_result = dns_db_find(db,
225 if (dns_result != exp_find_result) {
227 dns_result_totext(dns_result),
234 if (dns_result != ISC_R_NOTFOUND) {
276 isc_result_t dns_result;
295 dns_result = dns_name_fromtext(dns_fixedname_name(&dns_origin),
297 if (dns_result != ISC_R_SUCCESS) {
299 dns_result_totext(dns_result));
305 dns_result = dns_rdataclass_fromtext(&rdataclass, &textregion);
306 if (dns_result != ISC_R_SUCCESS) {
308 dns_result_totext(dns_result));
336 dns_result = dns_db_create(mctx, db_type,
339 if (dns_result != ISC_R_SUCCESS) {
341 dns_result_totext(dns_result));
348 dns_result = dns_db_load(db, filename);
349 if (dns_result == ISC_R_SUCCESS) {
356 dns_result_totext(dns_result));
504 isc_result_t dns_result;
547 dns_result = t_create("rbt", origin, "in", "isc_true", mctx, &db);
548 if (dns_result != ISC_R_SUCCESS) {
550 dns_result_totext(dns_result));
563 dns_result = dns_db_load(db, filename);
564 if (dns_result != ISC_R_SUCCESS) {
566 dns_result_totext(dns_result));
574 dns_result = dns_name_fromtext(dns_fixedname_name(&dns_origin),
576 if (dns_result != ISC_R_SUCCESS) {
578 dns_result_totext(dns_result));
628 isc_result_t dns_result;
648 dns_result = dns_rdataclass_fromtext(&rdataclass, &textregion);
649 if (dns_result != ISC_R_SUCCESS) {
651 dns_result_totext(dns_result));
679 dns_result = t_create("rbt", ".", db_class, "isc_true", mctx, &db);
680 if (dns_result != ISC_R_SUCCESS) {
682 dns_result_totext(dns_result));
689 dns_result = dns_db_load(db, filename);
690 if (dns_result != ISC_R_SUCCESS) {
692 dns_result_totext(dns_result));
746 isc_result_t dns_result;
797 dns_result = t_create(db_type, origin, db_class, model, mctx, &db);
798 if (dns_result != ISC_R_SUCCESS) {
805 dns_result = dns_db_load(db, filename);
806 if (dns_result != ISC_R_SUCCESS) {
808 dns_result_totext(dns_result));
820 dns_result = dns_name_fromtext(dns_fixedname_name(&dns_findname),
822 if (dns_result != ISC_R_SUCCESS) {
824 dns_result_totext(dns_result));
834 dns_result = dns_rdatatype_fromtext(&rdatatype, &textregion);
835 if (dns_result != ISC_R_SUCCESS) {
838 dns_result_totext(dns_result));
856 dns_result = dns_db_find(db,
866 if (dns_result != ISC_R_SUCCESS) {
886 dns_result = dns_db_newversion(db, &nversionp);
887 if (dns_result != ISC_R_SUCCESS) {
889 dns_result_totext(dns_result));
903 dns_result = dns_db_deleterdataset(db, nodep, nversionp, rdatatype, 0);
904 if (dns_result != ISC_R_SUCCESS) {
906 dns_result_totext(dns_result));
928 dns_result = dns_db_find(db,
938 if ((dns_result != ISC_R_NOTFOUND) && (dns_result != DNS_R_NXDOMAIN)) {
958 dns_result = dns_db_find(db, dns_fixedname_name(&dns_findname),
966 if (dns_result == ISC_R_SUCCESS) {
1019 isc_result_t dns_result;
1082 dns_result = t_create(db_type, origin, db_class, model, mctx, &db);
1083 if (dns_result != ISC_R_SUCCESS) {
1090 dns_result = dns_db_load(db, filename);
1091 if (dns_result != ISC_R_SUCCESS) {
1093 dns_result_totext(dns_result));
1109 dns_result = dns_name_fromtext(dns_fixedname_name(&dns_newname),
1111 if (dns_result != ISC_R_SUCCESS) {
1113 dns_result_totext(dns_result));
1122 dns_result = dns_db_findnode(db, dns_fixedname_name(&dns_newname),
1124 if (dns_result != ISC_R_SUCCESS) {
1126 dns_result_totext(dns_result));
1140 dns_result = dns_rdatatype_fromtext(&rdatatype, &textregion);
1142 if (dns_result != ISC_R_SUCCESS) {
1145 dns_result_totext(dns_result));
1156 dns_result = dns_rdataclass_fromtext(&rdataclass, &textregion);
1157 if (dns_result != ISC_R_SUCCESS) {
1159 dns_result_totext(dns_result));
1181 dns_result = dns_rdatalist_tordataset(&rdatalist, &added_rdataset);
1182 if (dns_result != ISC_R_SUCCESS) {
1184 dns_result_totext(dns_result));
1194 dns_result = dns_db_newversion(db, &nversionp);
1195 if (dns_result != ISC_R_SUCCESS) {
1197 dns_result_totext(dns_result));
1206 dns_result = dns_db_addrdataset(db, nodep, nversionp, 0,
1208 if (dns_result != ISC_R_SUCCESS) {
1210 dns_result_totext(dns_result));
1241 dns_result = dns_db_find(db, dns_fixedname_name(&dns_newname),
1246 if (dns_result != ISC_R_SUCCESS) {
1249 dns_result_totext(dns_result));
1261 dns_result = dns_rdataset_first(&found_rdataset);
1262 if (dns_result != ISC_R_SUCCESS) {
1264 dns_result_totext(dns_result));
1336 isc_result_t dns_result;
1405 dns_result = t_create(db_type, origin, db_class, model, mctx, &db);
1406 if (dns_result != ISC_R_SUCCESS) {
1413 dns_result = dns_db_load(db, filename);
1414 if (dns_result != ISC_R_SUCCESS) {
1416 dns_result_totext(dns_result));
1432 dns_result = dns_name_fromtext(dns_fixedname_name(&dns_existingname),
1434 if (dns_result != ISC_R_SUCCESS) {
1436 dns_result_totext(dns_result));
1446 dns_result = dns_rdatatype_fromtext(&existing_rdatatype, &textregion);
1447 if (dns_result != ISC_R_SUCCESS) {
1450 dns_result_totext(dns_result));
1460 dns_result = dns_db_findnode(db, dns_fixedname_name(&dns_existingname),
1462 if (dns_result != ISC_R_SUCCESS) {
1464 dns_result_totext(dns_result));
1474 dns_result = dns_db_newversion(db, &nversionp);
1475 if (dns_result != ISC_R_SUCCESS) {
1477 dns_result_totext(dns_result));
1486 dns_result = dns_db_deleterdataset(db, nodep, nversionp,
1488 if (dns_result != ISC_R_SUCCESS) {
1490 dns_result_totext(dns_result));
1511 dns_result = dns_name_fromtext(dns_fixedname_name(&dns_newname),
1513 if (dns_result != ISC_R_SUCCESS) {
1515 dns_result_totext(dns_result));
1524 dns_result = dns_db_findnode(db, dns_fixedname_name(&dns_newname),
1526 if (dns_result != ISC_R_SUCCESS) {
1528 dns_result_totext(dns_result));
1543 dns_result = dns_rdatatype_fromtext(&new_rdatatype, &textregion);
1544 if (dns_result != ISC_R_SUCCESS) {
1547 dns_result_totext(dns_result));
1558 dns_result = dns_rdataclass_fromtext(&rdataclass, &textregion);
1559 if (dns_result != ISC_R_SUCCESS) {
1561 dns_result_totext(dns_result));
1583 dns_result = dns_rdatalist_tordataset(&rdatalist, &added_rdataset);
1584 if (dns_result != ISC_R_SUCCESS) {
1586 dns_result_totext(dns_result));
1595 dns_result = dns_db_addrdataset(db, nodep, nversionp, 0,
1597 if (dns_result != ISC_R_SUCCESS) {
1599 dns_result_totext(dns_result));
1621 dns_result = dns_db_find(db,
1631 if (dns_result != ISC_R_SUCCESS) {
1634 dns_result_totext(dns_result));
1646 dns_result = dns_rdataset_first(&found_rdataset);
1647 if (dns_result != ISC_R_SUCCESS) {
1649 dns_result_totext(dns_result));
1683 dns_result = dns_db_find(db, dns_fixedname_name(&dns_existingname),
1690 if ((dns_result != ISC_R_NOTFOUND) && (dns_result != DNS_R_NXDOMAIN)) {
1694 dns_result_totext(dns_result));
1745 isc_result_t dns_result;
1814 dns_result = t_create(db_type, origin, db_class, model, mctx, &db);
1815 if (dns_result != ISC_R_SUCCESS) {
1822 dns_result = dns_db_load(db, filename);
1823 if (dns_result != ISC_R_SUCCESS) {
1825 dns_result_totext(dns_result));
1841 dns_result = dns_name_fromtext(dns_fixedname_name(&dns_existingname),
1843 if (dns_result != ISC_R_SUCCESS) {
1845 dns_result_totext(dns_result));
1855 dns_result = dns_rdatatype_fromtext(&existing_rdatatype, &textregion);
1856 if (dns_result != ISC_R_SUCCESS) {
1859 dns_result_totext(dns_result));
1869 dns_result = dns_db_findnode(db, dns_fixedname_name(&dns_existingname),
1871 if (dns_result != ISC_R_SUCCESS) {
1873 dns_result_totext(dns_result));
1885 dns_result = dns_db_newversion(db, &nversionp);
1886 if (dns_result != ISC_R_SUCCESS) {
1888 dns_result_totext(dns_result));
1897 dns_result = dns_db_deleterdataset(db, nodep, nversionp,
1899 if (dns_result != ISC_R_SUCCESS) {
1901 dns_result_totext(dns_result));
1922 dns_result = dns_name_fromtext(dns_fixedname_name(&dns_newname),
1924 if (dns_result != ISC_R_SUCCESS) {
1926 dns_result_totext(dns_result));
1935 dns_result = dns_db_findnode(db, dns_fixedname_name(&dns_newname),
1937 if (dns_result != ISC_R_SUCCESS) {
1939 dns_result_totext(dns_result));
1950 dns_result = dns_rdatatype_fromtext(&new_rdatatype, &textregion);
1951 if (dns_result != ISC_R_SUCCESS) {
1953 new_type, dns_result_totext(dns_result));
1964 dns_result = dns_rdataclass_fromtext(&rdataclass, &textregion);
1965 if (dns_result != ISC_R_SUCCESS) {
1967 dns_result_totext(dns_result));
1989 dns_result = dns_rdatalist_tordataset(&rdatalist, &added_rdataset);
1990 if (dns_result != ISC_R_SUCCESS) {
1992 dns_result_totext(dns_result));
2001 dns_result = dns_db_addrdataset(db, nodep, nversionp, 0,
2003 if (dns_result != ISC_R_SUCCESS) {
2005 dns_result_totext(dns_result));
2026 dns_result = dns_db_find(db, dns_fixedname_name(&dns_newname),
2031 if ((dns_result == ISC_R_NOTFOUND) ||
2032 (dns_result == DNS_R_NXDOMAIN) ||
2033 (dns_result == DNS_R_NXRRSET)) {
2036 dns_result_totext(dns_result));
2048 dns_result = dns_rdataset_first(&found_rdataset);
2049 if (dns_result != ISC_R_SUCCESS) {
2051 dns_result_totext(dns_result));
2084 dns_result = dns_db_find(db,
2095 if ((dns_result != ISC_R_NOTFOUND) && (dns_result != DNS_R_NXDOMAIN)) {
2097 dns_result_totext(dns_result));
2121 dns_result = dns_db_find(db,
2131 if ((dns_result != ISC_R_NOTFOUND) && (dns_result != DNS_R_NXDOMAIN)) {
2133 dns_result_totext(dns_result));
2151 dns_result = dns_db_find(db, dns_fixedname_name(&dns_existingname),
2157 if ((dns_result == ISC_R_NOTFOUND) ||
2158 (dns_result == DNS_R_NXDOMAIN) ||
2159 (dns_result == DNS_R_NXRRSET)) {
2162 dns_result_totext(dns_result));
2213 isc_result_t dns_result;
2255 dns_result = dns_name_fromtext(dns_fixedname_name(&dns_existingname),
2257 if (dns_result != ISC_R_SUCCESS) {
2259 dns_result_totext(dns_result));
2288 dns_result = t_create(db_type, origin, db_class, "cache", mctx, &db);
2289 if (dns_result != ISC_R_SUCCESS) {
2296 dns_result = dns_db_load(db, filename);
2297 if (dns_result != ISC_R_SUCCESS) {
2299 dns_result_totext(dns_result));
2312 dns_result = dns_db_findnode(db, dns_fixedname_name(&dns_existingname),
2314 if (dns_result != ISC_R_SUCCESS) {
2329 dns_result = dns_db_expirenode(db, nodep, node_expire_time);
2330 if (dns_result != ISC_R_SUCCESS) {
2332 dns_result_totext(dns_result));
2349 dns_result = dns_db_find(db,
2359 if (dns_result == exp_result) {
2363 dns_result_totext(dns_result));
2367 if ((dns_result != ISC_R_NOTFOUND) &&
2368 (dns_result != DNS_R_NXDOMAIN) &&
2369 (dns_result != DNS_R_NXRRSET)) {
2416 isc_result_t dns_result;
2448 dns_result = dns_rdatatype_fromtext(&rdatatype, &textregion);
2449 if (dns_result != ISC_R_SUCCESS) {
2452 dns_result_totext(dns_result));
2479 dns_result = t_create(db_type, origin, db_class, model, mctx, &db);
2480 if (dns_result != ISC_R_SUCCESS) {
2485 dns_result = dns_db_load(db, filename);
2486 if (dns_result != ISC_R_SUCCESS) {
2488 dns_result_totext(dns_result));
2500 dns_result = dns_name_fromtext(dns_fixedname_name(&dns_name),
2502 if (dns_result != ISC_R_SUCCESS) {
2504 dns_result_totext(dns_result));
2510 dns_result = dns_db_findnode(db, dns_fixedname_name(&dns_name),
2512 if (dns_result != exp_result) {
2514 dns_result_totext(dns_result));
2515 if (dns_result == ISC_R_SUCCESS)
2529 if (dns_result == ISC_R_SUCCESS) {
2534 dns_result = dns_db_findrdataset(db, nodep, cversionp,
2537 if (dns_result == ISC_R_SUCCESS) {
2542 dns_result_totext(dns_result));
2587 isc_result_t dns_result;
2634 dns_result = t_create(db_type, origin, db_class, model, mctx, &db);
2635 if (dns_result != ISC_R_SUCCESS) {
2642 dns_result = dns_db_load(db, filename);
2643 if (dns_result != ISC_R_SUCCESS) {
2645 dns_result_totext(dns_result));
2662 dns_result = dns_name_fromtext(dns_fixedname_name(&dns_name),
2664 if (dns_result != ISC_R_SUCCESS) {
2666 dns_result_totext(dns_result));
2674 dns_result = dns_db_findnode(db, dns_fixedname_name(&dns_name),
2676 if ((dns_result != ISC_R_NOTFOUND) &&
2677 (dns_result != DNS_R_NXDOMAIN) &&
2678 (dns_result != DNS_R_NXRRSET)) {
2680 dns_result_totext(dns_result));
2692 dns_result = dns_db_findnode(db, dns_fixedname_name(&dns_name),
2694 if (dns_result != ISC_R_SUCCESS) {
2696 dns_result_totext(dns_result));
2716 dns_result = dns_db_find(db,
2725 if ((dns_result != ISC_R_NOTFOUND) && (dns_result != DNS_R_NXDOMAIN)) {
2729 if (dns_result != DNS_R_NXDOMAIN) {
2731 dns_result_totext(dns_result));
2738 dns_result = dns_db_findnode(db, dns_fixedname_name(&dns_name),
2740 t_info("dns_db_findnode %s\n", dns_result_totext(dns_result));
2741 if (dns_result == ISC_R_SUCCESS) {
2745 dns_result_totext(dns_result));
2791 isc_result_t dns_result;
2849 dns_result = t_create(dbtype, dborigin, dbclass, dbmodel, mctx, &db);
2850 if (dns_result != ISC_R_SUCCESS) {
2857 dns_result = dns_db_load(db, dbfile);
2858 if (dns_result != ISC_R_SUCCESS) {
2860 dns_result_totext(dns_result));
2874 dns_result = dns_name_fromtext(dns_fixedname_name(&dns_findname),
2876 if (dns_result != ISC_R_SUCCESS) {
2878 dns_result_totext(dns_result));
2888 dns_result = dns_rdatatype_fromtext(&rdatatype, &textregion);
2889 if (dns_result != ISC_R_SUCCESS) {
2892 dns_result_totext(dns_result));
2918 dns_result = dns_db_find(db,
2928 if (dns_result != exp_result) {
2931 findname, findtype, dns_result_totext(dns_result),
2938 if ((dns_result != ISC_R_NOTFOUND) && (dns_result != DNS_R_NXDOMAIN)) {
2940 if ((dns_result != DNS_R_NXRRSET) &&
2941 (dns_result != DNS_R_ZONECUT))