< Home

dns-cache flush

Function

The dns-cache flush command flushes the DNS cache on the virtual gateway.

Format

dns-cache flush

Parameters

None

Views

Virtual gateway basic view

Default Level

2: Configuration level

Usage Guidelines

DNS cache on the virtual gateway does not immediately age when the IP address corresponding to the domain name for intranet resources is changed. Thus, users cannot access the resources through the domain name. In this case, you need to flush the DNS cache on the virtual gateway.

Example

# Flush the DNS cache.

<sysname> system-view
[sysname] v-gateway abc
[sysname-abc] basic
[sysname-abc-basic] dns-cache flush
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >