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 	key-file "key.pem";
     16 	cert-file "cert.pem";
     17 };
     18 
     19 http local-http-server {
     20 	endpoints { "/dns-query"; };
     21 };
     22 
     23 options {
     24 	listen-on { 10.53.0.1; };
     25 	http-port 80;
     26 	https-port 443;
     27 	listen-on port 443 http local-http-server tls local-tls { 10.53.0.1; };
     28 	listen-on port 8080 tls none http local-http-server { 10.53.0.1; };
     29 };
     30