summaryrefslogtreecommitdiff
path: root/op-mode-definitions/dns-forwarding.xml
blob: 3d7483641003d2e54e9fbc6f536172b69906b6e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?xml version="1.0"?>

<interfaceDefinition>
  <node name="show">
    <children>
      <node name="dns">
        <children>
          <node name="forwarding">
            <properties>
              <help>Show DNS forwarding information</help>
            </properties>
            <children>
              <leafNode name="statistics">
                <properties>
                  <help>Show DNS forwarding statistics</help>
                </properties>
                <command>${vyos_op_scripts_dir}/dns_forwarding_statistics.py</command>
              </leafNode>
            </children>
          </node>
        </children>
      </node>
    </children>
  </node>
  <node name="restart">
    <children>
      <node name="dns">
        <children>
          <leafNode name="forwarding">
            <properties>
              <help>Restart DNS forwarding service</help>
            </properties>
            <command>${vyos_op_scripts_dir}/dns_forwarding_restart.sh</command>
          </leafNode>
         </children>
      </node>
    </children>
  </node>
</interfaceDefinition>