summaryrefslogtreecommitdiffstats
path: root/usr.sbin/nsd/options.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/nsd/options.h')
-rw-r--r--usr.sbin/nsd/options.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/usr.sbin/nsd/options.h b/usr.sbin/nsd/options.h
index 1d30156bbbe..97e2dd07ed8 100644
--- a/usr.sbin/nsd/options.h
+++ b/usr.sbin/nsd/options.h
@@ -61,9 +61,12 @@ struct nsd_options {
int ip_transparent;
int ip_freebind;
+ int send_buffer_size;
+ int receive_buffer_size;
int debug_mode;
int verbosity;
int hide_version;
+ int hide_identity;
int do_ip4;
int do_ip6;
const char* database;
@@ -72,6 +75,7 @@ struct nsd_options {
const char* logfile;
int server_count;
int tcp_count;
+ int tcp_reject_overflow;
int tcp_query_count;
int tcp_timeout;
int tcp_mss;
@@ -97,6 +101,15 @@ struct nsd_options {
int refuse_any;
int reuseport;
+ /* private key file for TLS */
+ char* tls_service_key;
+ /* ocsp stapling file for TLS */
+ char* tls_service_ocsp;
+ /* certificate file for TLS */
+ char* tls_service_pem;
+ /* TLS dedicated port */
+ const char* tls_port;
+
/** remote control section. enable toggle. */
int control_enable;
/** the interfaces the remote control should listen on */