diff --git a/bin/lwresd/main.c b/bin/lwresd/main.c index 32eb58ec3a..a75a84464f 100644 --- a/bin/lwresd/main.c +++ b/bin/lwresd/main.c @@ -95,7 +95,7 @@ create_view(isc_mem_t *mctx) goto out; rootdb = NULL; - result = dns_rootns_create(mctx, &rootdb); + result = dns_rootns_create(mctx, dns_rdataclass_in, NULL, &rootdb); if (result != ISC_R_SUCCESS) goto out; dns_view_sethints(view, rootdb); diff --git a/bin/tests/adb_test.c b/bin/tests/adb_test.c index 28923685b1..e277457b24 100644 --- a/bin/tests/adb_test.c +++ b/bin/tests/adb_test.c @@ -209,7 +209,7 @@ create_view(void) check_result(result, "dns_view_createresolver()"); rootdb = NULL; - result = dns_rootns_create(mctx, &rootdb); + result = dns_rootns_create(mctx, dns_rdataclass_in, NULL, &rootdb); check_result(result, "dns_rootns_create()"); dns_view_sethints(view, rootdb); dns_db_detach(&rootdb);