3 show dns cache, 2 configuration commands, 1 ip hosts – Fortinet 548B User Manual

Page 409

Advertising
background image

- 409 -

Response: Number of the DNS response packets been received.

7.25.1.3 show dns cache

This command displays all entries in the DNS cache table.

Syntax

show dns cache

Default Setting

None

Command Mode

Privileged Exec

Display Message

Domain Name List: Domain Name

IP Address: IP address of the corresponding domain name, including IPv4 and IPv6.

TTL: Time in seconds that this entry will remain in the DNS cache table

Flag: Indicates if this entry is reliable. A value of 8 is not as reliable as a value of 10.

7.25.2

Configuration Commands

7.25.2.1 ip hosts

This command creates a static entry in the DNS table that maps a host name to an IP address.

There are maximum 8 entries for IPv4 and 8 entries for IPv6.

Syntax

ip host <name> <ipaddr>
no ip host <name>

<name> - Host name.

<ipaddr> - IPv4 or IPv6 address of the host.

<no> - Remove the corresponding name to IP address mapping entry.

Default Setting

None

Advertising