Configures the DNS server details for the TPVM instance. DNS configuration CLI already supports IPv4 address. It is enhanced to support IPv6 address.
By default, a DNS server is not configured in TPVM.
TPVM Configuration mode
This example shows the configuration of DNS server.
SLX(config-tpvm-TPVM)# dns primary-server ?
Possible completions: 
    <A.B.C.D> IPv4 address of primary DNS 
    <A:B::C:D> IPv6 address of primary DNS       
            
            
                This example shows the configuration of a IPv6 primary DNS server and configures its domain.
SLX(config-tpvm-TPVM)# dns primary-server 100:23::45:55 ?
Possible completions: 
    domain             Domain name 
    secondary-server   Secondary name server 
<cr> 
SLX(config-tpvm-TPVM)# dns primary-server 100:23::45:55
    secondary-server 110:13::15:51 domain ? 
 Possible completions: 
    <string>
SLX(config-tpvm-TPVM)# dns primary-server 100:23::45:55
    secondary-server 110:13::15:51 domain extreme
            
            
                This example removes the secondary DNS server configuration from the TPVM.
SLX (config-tpvm-TPVM)# no dns secondary-server