diff options
author | Florian Weimer <fweimer@redhat.com> | 2024-07-24 12:06:47 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2024-07-24 12:10:37 +0200 |
commit | 765325951ac5c7d072278c9424930b29657e9758 (patch) | |
tree | b4ad5f5ed63cf52e6038493c8d8716f6218ac2d5 /resolv/resolv.h | |
parent | 95f61610f3e481d191b6184432342236fd59186d (diff) | |
download | glibc-765325951ac5c7d072278c9424930b29657e9758.zip glibc-765325951ac5c7d072278c9424930b29657e9758.tar.gz glibc-765325951ac5c7d072278c9424930b29657e9758.tar.bz2 |
resolv: Implement strict-error stub resolver option (bug 27929)
For now, do not enable this mode by default due to the potential
impact on compatibility with existing deployments.
Reviewed-by: DJ Delorie <dj@redhat.com>
Diffstat (limited to 'resolv/resolv.h')
-rw-r--r-- | resolv/resolv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/resolv/resolv.h b/resolv/resolv.h index f40d6c5..b8a0f66 100644 --- a/resolv/resolv.h +++ b/resolv/resolv.h @@ -133,6 +133,7 @@ struct res_sym { #define RES_NORELOAD 0x02000000 /* No automatic configuration reload. */ #define RES_TRUSTAD 0x04000000 /* Request AD bit, keep it in responses. */ #define RES_NOAAAA 0x08000000 /* Suppress AAAA queries. */ +#define RES_STRICTERR 0x10000000 /* Report more DNS errors as errors. */ #define RES_DEFAULT (RES_RECURSE|RES_DEFNAMES|RES_DNSRCH) |