Home | History | Annotate | Line # | Download | only in checkconf
      1 /*
      2  * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
      3  *
      4  * SPDX-License-Identifier: MPL-2.0
      5  *
      6  * This Source Code Form is subject to the terms of the Mozilla Public
      7  * License, v. 2.0.  If a copy of the MPL was not distributed with this
      8  * file, you can obtain one at https://mozilla.org/MPL/2.0/.
      9  *
     10  * See the COPYRIGHT file distributed with this work for additional
     11  * information regarding copyright ownership.
     12  */
     13 
     14 tls local-tls {
     15 	protocols { TLSv1.2; };
     16 	key-file "key.pem";
     17 	cert-file "cert.pem";
     18 	dhparam-file "dhparam.pem";
     19 	ciphers "HIGH:!aNULL:!MD5:!RC4";
     20 	prefer-server-ciphers yes;
     21 	session-tickets no;
     22 };
     23 
     24 http local-http-server {
     25 	endpoints { "/dns-query"; };
     26 	listener-clients 100;
     27 	streams-per-connection 100;
     28 };
     29 
     30 options {
     31 	listen-on { 10.53.0.1; };
     32 	http-port 80;
     33 	https-port 443;
     34 	http-listener-clients 100;
     35 	http-streams-per-connection 100;
     36 	listen-on port 443 tls local-tls http local-http-server { 10.53.0.1; };
     37 	listen-on port 8080 tls none http local-http-server { 10.53.0.1; };
     38 };
     39