DNS46&NAT46 Settings   /rest/apv/network/ipv6/DNSNAT46Settings

The DNS46 and NAT46 functions are used to ensure that IPv4 clients can communicate with IPv6 servers normally. The DNS46 function converts the DNS A queries sent from IPv4 clients to DNS AAAA queries and then converts the DNS AAAA responses to DNS A responses. It also creates mapping records between the IPv6 addresses and IPv4 addresses. The appliance returns the translated IPv4 addresses to IPv4 clients. When IPv4 clients use these IPv4 addresses to access IPv6 servers, the NAT46 function converts IPv4 packets sent from clients to IPv6 packets based on the created mapping records. When the appliance receives IPv6 packets from IPv6 servers, the NAT46 function converts IPv6 packets to IPv4 packets. Because the DNS46 and NAT46 functions both use the mapping records, they must be deployed on one appliance.

  • Relational-instance Queries:
  • GET
    /rest/apv/network/ipv6/DNSNAT46Settings/ipmap_list
    Query the IP Mapping Records info of the corresponding DNS46&NAT46 Settings.
    Normal response codes
    200(OK)
    Error response codes
    401(unauthorized), 403(access forbidden), 404(no such instance), 500(internal service error), 501(unimplemented)
    Request parameters
    Parameter Type Description
    instance_id URI ID of the instance
    Response format
    {
        "DNSNAT46Settings": {
            "instance_id":<instance_id>,
            "ipmap_list":[
               {
                <field1>:<value1>,
                <field2>:<value2>,
                ...
               }
            ]
        }
    }
                                
    Examples
  • GET
    /rest/apv/network/ipv6/DNSNAT46Settings/connection
    Query the Connection info of the corresponding DNS46&NAT46 Settings.
    Normal response codes
    200(OK)
    Error response codes
    401(unauthorized), 403(access forbidden), 404(no such instance), 500(internal service error), 501(unimplemented)
    Request parameters
    Parameter Type Description
    instance_id URI ID of the instance
    Response format
    {
        "DNSNAT46Settings": {
            "instance_id":<instance_id>,
            "connection":[
               {
                <field1>:<value1>,
                <field2>:<value2>,
                ...
               }
            ]
        }
    }
                                
    Examples