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.
vsr running config# vrf main
vsr running vrf main# dns proxy
vsr running proxy# forward server 192.168.0.254
vsr running dns# commit
To display the DNS proxy state:
vsr 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:
vsr 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:
vsr> cmd dns proxy clear-cache
See also
The DNS proxy command reference and the DNS proxy clear-cache description for more details