DNS clientΒΆ

Domain Name Service (DNS) provides name to IP address mapping.

Here is an example of DNS configuration to send DNS queries to the server, and search for example.local domain.

vrouter running config# vrf main
vrouter running vrf main# dns
vrouter running dns# server
vrouter running dns# search example.local
vrouter running dns# commit

To display the DNS client state:

vrouter running config# show state vrf main dns
    search example.local
    server address

The same configuration can be made using this NETCONF XML configuration:

vrouter running config# show config xml absolute vrf main dns
<config xmlns="urn:6wind:vrouter">
    <dns xmlns="urn:6wind:vrouter/dns">

See also

The command reference for details.