DNS proxyΒΆ

DNS proxy allows forwarding DNS queries.

Here is an example of DNS proxy configuration to forward DNS queries to the server.

vrouter running config# vrf main
vrouter running vrf main# dns proxy
vrouter running proxy# forward server
vrouter running dns# commit

To display the DNS proxy state:

vrouter running config# show state vrf main dns proxy
    enabled true

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">
    <dns xmlns="urn:6wind:vrouter/dns">

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.