DNS proxyΒΆ
DNS proxy allows forwarding DNS queries.
Here is an example of DNS proxy configuration to forward DNS queries to the
192.168.0.254 server.
vrouter running config# vrf main
vrouter running vrf main# dns proxy
vrouter running proxy# forward server 192.168.0.254
vrouter running dns# commit
To display the DNS proxy state:
vrouter running config# show state vrf main dns proxy
proxy
    enabled true
    forward
        server 10.200.0.2
        ..
    ..
The same configuration can be made using this NETCONF XML configuration:
vrouter running config# show config xml absolute vrf main dns proxy
<config xmlns="urn:6wind:vrouter">
  <vrf>
    <name>main</name>
    <dns xmlns="urn:6wind:vrouter/dns">
      <proxy>
        <enabled>true</enabled>
        <forward>
          <server>192.168.0.254</server>
        </forward>
      </proxy>
    </dns>
  </vrf>
</config>
To flush the proxy cache:
vrouter> cmd dns proxy clear-cache
See also
The DNS proxy command reference and the DNS proxy clear-cache description for more details.