mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-22 17:30:44 -05:00
on a missing resolv.conf file and initializes the
structure as if it had been configured with:
nameserver ::1
nameserver 127.0.0.1
Note: Callers will need to be updated to treat
ISC_R_FILENOTFOUND as a qualified success or else
they will leak memory. The following code fragment
will work with both only and new versions without
changing the behaviour of the existing code.
resconf = NULL;
result = irs_resconf_load(mctx, "/etc/resolv.conf",
&resconf);
if (result != ISC_SUCCESS) {
if (resconf != NULL)
irs_resconf_destroy(&resconf);
....
}
[RT #35194]
|
||
|---|---|---|
| .. | ||
| .gitignore | ||
| Makefile-postinstall.in | ||
| Makefile.in | ||
| nsprobe.c | ||
| resolve.c | ||
| rootkey.sh | ||
| sample-async.c | ||
| sample-gai.c | ||
| sample-request.c | ||
| sample-update.c | ||