beautypg.com

12 ip dns server, 13 ip dns server queue maximum, 14 ip dns server queue timeout – PLANET XGS3-24040 User Manual

Page 851: Ip dns server, Ip dns server queue maximum, Ip dns server queue timeout

background image


61-5

Example: To configure domain name suffix of com.

Switch(config)# ip domain-list com

61.12 ip dns server

Command: ip dns server

no ip dns server

Function: Enable/disable DNS SERVER function.

Parameter: None.

Command Mode: Global Mode.

Default: Disabled by default.

Usage Guide: After the DNS SERVER function is enabled, the switch will be able to receive and handle

DNS Requests from the clients by looking up locally or forward the request to the real DNS server.

Example: Configure to enable the dns server function of the switch.

Switch(config)#ip dns server

61.13 ip dns server queue maximum

Command: ip dns server queue maximum <1-5000>

no ip dns server queue maximum

Function: Configure the max number of client information in the switch queue.

Parameter: <1-5000> the value can be 1-5000.

Command Mode: Global Mode.

Default: The default client number is 3000.

Usage Guide: When receiving a DNS Request from a client, the switch will cache the client’s information.

But the number of client information in the queue should not exceed the configured maximum number;

otherwise the client’s request won’t be handled.

Example: Set the max number of client information in the switch queue as 2000.

Switch(config)#ip dns server queue maximum 2000

61.14 ip dns server queue timeout

Command: ip dns server queue timeout <1-100>

no ip dns server queue timeout

Function: Configure the timeout value of caching the client information on the switch.

Parameters: <1-100> the value can be1-100s.

Command Mode: Global Mode.

Default: The default timeout value is 5s.

Usage Guide: When receiving a DNS Request from a client, the switch will cache the client’s information.

But the time of maintaining the client information should not exceed the configured maximum timeout

value; otherwise the client’s information will be cleared out.

Example: Configure the maximum timeout value of caching the client information on the switch as 10s.

Switch(config)#ip dns server queue timeout 10