Home | History | Annotate | Line # | Download | only in ns3
      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 {% if trust_anchors is defined %}
     15 include "trusted.conf";
     16 {% set dnssec_validation = "yes" %}
     17 {% else %}
     18 {% set dnssec_validation = "auto" %}
     19 {% endif %}
     20 
     21 
     22 options {
     23         query-source address 10.53.0.3;
     24         notify-source 10.53.0.3;
     25         transfer-source 10.53.0.3;
     26         port @PORT@;
     27         pid-file "named.pid";
     28         listen-on { 10.53.0.3; };
     29         listen-on-v6 { none; };
     30         allow-transfer { any; };
     31         recursion yes;
     32         dnssec-validation @dnssec_validation@;
     33 };
     34 
     35 {% include "_common/controls.conf.j2" %}
     36 
     37 zone "." {
     38         type hint;
     39         file "../../_common/root.hint";
     40 };
     41