summaryrefslogtreecommitdiff
path: root/op-mode-definitions/dns-forwarding.xml
blob: 96fa1a6f42a50d7ad5bfba89e11c90a1a925c722 (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_bindir}/vyos-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_bindir}/vyos-restart-dns-forwarding.sh</command>
          </leafNode>
         </children>
      </node>
    </children>
  </node>
</interfaceDefinition>