< Home

destination-address (DNS transparent proxy policy rule view)

Function

The destination-address command specifies a destination IP address for a DNS transparent proxy policy rule.

The undo destination-address command deletes the configuration.

Format

destination-address { address-set address-set-name &<1-6> | ipv4-address { ipv4-mask-length | mask mask-address | wildcard } [ description description ] | range ipv4-start-address ipv4-end-address [ description description ] | any }

undo destination-address { address-set address-set-name &<1-6> | ipv4-address { ipv4-mask-length | mask mask-address | wildcard } [ description ] | range ipv4-start-address ipv4-end-address [ description ] | all }

Parameters

Parameter Description Value
address-set address-set-name

Specifies an IP address set for destination IP address-based matching. address-set-name specifies the name of an IP address set.

The value must be the name of an existing address set.

ipv4-address

Specifies an IPv4 address for destination IP address-based matching.

The value is in decimal dotted notation.

ipv4-mask-length

Specifies the mask length of an IPv4 address.

The value is an integer ranging from 1 to 32.

mask mask-address

Specifies the mask length of an IPv4 address.

The value is in dotted decimal notation whose binary form cannot be inconsecutive. For example, 255.0.255.0 is not a legitimate wildcard because its binary form is 11111111.00000000.11111111.00000000. In the binary form, digits 1 are to be matched, whereas digits 0 are not. For example, 192.168.1.1/255.0.255.0 indicates that only IP addresses of the 192.*.1.* form are to be matched.
wildcard Specifies the wildcard of an IPv4 address. The value is in dotted decimal notation whose binary form cannot be inconsecutive. For example, 0.255.0.255 is not a legitimate wildcard because its binary form is 00000000.11111111.00000000.11111111. In the binary form, digits 0 are to be matched, whereas digits 1 are not. For example, 192.168.1.1/0.255.0.255 indicates that only IP addresses of the 192.*.1.* form are to be matched.
description description Specifies the description of an individual IPv4/IPv6 address or address segment. The value is a string of 1 to 128 characters.
range ipv4-start-address ipv4-end-address

Specifies an IPv4 address range for destination IP address-based matching. ipv4-start-address specifies the start IPv4 address. ipv4-end-address specifies the end IPv4 address.

-

any

Indicates any address.

-

all

Deletes all configurations that use destination IP addresses as a matching condition.

-

Views

Transparent DNS proxy policy rule view

Default Level

2: Configuration level

Usage Guidelines

None

Example

# Set the destination IP address to 10.10.1.10 for DNS transparent proxy policy rule abc.

<sysname> system-view
[sysname] dns-transparent-policy
[sysname-policy-dns] rule name abc
[sysname-policy-dns-rule-abc] destination-address 10.10.1.10 32
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >