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.
| Field Group Name | Field Name | Type | Description |
|---|---|---|---|
| default | dns_vs | asso | Specifies the DNS virtual service for which the DNS46 and NAT46 functions are enabled. The DNS46 and NAT46 functions can be enabled on only the DNS virtual service. This virtual service, acting as the DNS proxy, converts DNS A queries to DNS AAAA queries and then converts DNS AAAA responses to DNS A responses. To make the DNS46 and NAT46 functions work properly, you need to configure the "default" and "backup" policies for this virtual service. |
| default | timeout | int | Sets the idle timeout period for NAT46 TCP connections. |
| default | ippool | asso | Sets the IPv6 pool used by the NAT46 function. The NAT46 function will convert the source IPv4 addresses in the packets to IPv6 addresses in the IP pool. |
| ipmap | ip | ip4addr | Sets the IPv4 address of the IP mapping subnet. |
| ipmap | mask | string | Sets the netmask of the IP mapping subnet. |
| ipmap | ipmap_timeout | int | Sets the timeout period of the IP mapping records created using the IP mapping subnet. |
| ipmap_list | ipmap_list | asso | |
| connection | connection | asso |
{
"DNSNAT46Settings": {
"meta": {
"abstract": false,
"verbose_name": DNS46&NAT46 Settings,
},
"fieldgroups": [
{
"fields": [
{
"verbose_name": field_verbose_name1,
"field_name": field_name1
},
...
],
"group_name": field_group_name1
},
...
]
}
}
| Parameter | Type | Description |
|---|---|---|
| field_group_name | URI | (optional) Target field group name to query. Available names are: default, ipmap, ipmap_list, connection, Notice: There could only be one field_group_name or field_name in the URL. And if both field_group_name and field_name are not specified, will try to query default field_group data. |
| field_name | URI | (optional) Target field name to query. Available names are: dns_vs, timeout, ip, mask, ipmap_timeout, ippool, ipmap_list, connection, Notice: There could only be one field_group_name or field_name in the URL. |
| Field Group Name | Field Name | Type | Description |
|---|---|---|---|
| default | dns_vs | asso | Specifies the DNS virtual service for which the DNS46 and NAT46 functions are enabled. The DNS46 and NAT46 functions can be enabled on only the DNS virtual service. This virtual service, acting as the DNS proxy, converts DNS A queries to DNS AAAA queries and then converts DNS AAAA responses to DNS A responses. To make the DNS46 and NAT46 functions work properly, you need to configure the "default" and "backup" policies for this virtual service. |
| default | timeout | int | Sets the idle timeout period for NAT46 TCP connections. |
| default | ippool | asso | Sets the IPv6 pool used by the NAT46 function. The NAT46 function will convert the source IPv4 addresses in the packets to IPv6 addresses in the IP pool. |
| ipmap | ip | ip4addr | Sets the IPv4 address of the IP mapping subnet. |
| ipmap | mask | string | Sets the netmask of the IP mapping subnet. |
| ipmap | ipmap_timeout | int | Sets the timeout period of the IP mapping records created using the IP mapping subnet. |
| ipmap_list | ipmap_list | asso | |
| connection | connection | asso |
{
"DNSNAT46Settings": {
<field1>:<value1>,
<field2>:<value2>,
...
}
}
When some field_group name is provided:
{
"DNSNAT46Settings": {
<field1>:<value1>,
<field2>:<value2>,
...
}
}
When some field name is provided:
{
"DNSNAT46Settings": {
<field>:<value>,
}
}
{
<field_name>:<value>
}
When field name is specified in URL:
Notice: The fields not provided are left untouched.
{
<field_name1>:<value1>,
<field_name2>:<value2>,
...
}
| Parameter | Type | Description |
|---|---|---|
| field_name | URI | (optional) Target field name to update. Available field names are: dns_vs, timeout, ip, mask, ipmap_timeout, ippool, ipmap_list, connection, |
| Field Name | Type | Description |
|---|---|---|
| timeout | int | Sets the idle timeout period for NAT46 TCP connections. |
| ip | ip4addr | Sets the IPv4 address of the IP mapping subnet. |
| mask | string | Sets the netmask of the IP mapping subnet. |
| ipmap_timeout | int | Sets the timeout period of the IP mapping records created using the IP mapping subnet. |
All configuration fields and their values are replied:
{
"DNSNAT46Settings": {
<field1>:<value1>,
<field2>:<value2>,
...
<field_group1>: {
<field3>:<value3>,
<field4>:<value4>,
...
},
<field_group2>: {
<field5>:<value5>,
<field6>:<value6>,
...
},
...
}
}
| Parameter | Type | Description |
|---|---|---|
| instance_id | URI | ID of the instance |
{
"DNSNAT46Settings": {
"instance_id":<instance_id>,
"ipmap_list":[
{
<field1>:<value1>,
<field2>:<value2>,
...
}
]
}
}
| Parameter | Type | Description |
|---|---|---|
| instance_id | URI | ID of the instance |
{
"DNSNAT46Settings": {
"instance_id":<instance_id>,
"connection":[
{
<field1>:<value1>,
<field2>:<value2>,
...
}
]
}
}