summaryrefslogtreecommitdiff
path: root/usr.sbin/nsd/options.h
diff options
context:
space:
mode:
authorStuart Henderson <sthen@cvs.openbsd.org>2021-04-01 09:56:13 +0000
committerStuart Henderson <sthen@cvs.openbsd.org>2021-04-01 09:56:13 +0000
commit05ddf102e264b5237162df515ae685a140dfd340 (patch)
treee70b8569e0fbeefcca4c321c73dc1845fce69bdf /usr.sbin/nsd/options.h
parentaf8406fd802895a9cbb6c393e29475fc2627652b (diff)
merge NSD 4.3.6rc1
Diffstat (limited to 'usr.sbin/nsd/options.h')
-rw-r--r--usr.sbin/nsd/options.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/usr.sbin/nsd/options.h b/usr.sbin/nsd/options.h
index 14a7f88bfef..2bda9aa341e 100644
--- a/usr.sbin/nsd/options.h
+++ b/usr.sbin/nsd/options.h
@@ -213,6 +213,7 @@ struct pattern_options {
struct acl_options* request_xfr;
struct acl_options* notify;
struct acl_options* provide_xfr;
+ struct acl_options* allow_query;
struct acl_options* outgoing_interface;
const char* zonestats;
#ifdef RATELIMIT
@@ -471,5 +472,9 @@ void config_apply_pattern(struct pattern_options *dest, const char* name);
* when a fileread fails because it is a directory, helps the user figure
* out what just happened */
void warn_if_directory(const char* filetype, FILE* f, const char* fname);
+/* resolve interface names in the options "ip-address:" (or "interface:")
+ * and "control-interface:" into the ip-addresses associated with those
+ * names. */
+void resolve_interface_names(struct nsd_options* options);
#endif /* OPTIONS_H */