D-Link xStackTM DGS/DXS-3300 Series Switch User Manual


 
xStack DGS/DXS-3300 Series Layer 3 Stackable Gigabit Ethernet Switch CLI Manual
286
To add an entry domain name dns1, IP address 10.43.21.12 to DNS static table:
DGS-3324SRi:4#config dnsr add static dns1 10.43.21.12
Command: config dnsr add static dns1 10.43.21.12
Success.
DGS-3324SRi:4#
Example Usage:
To delete an entry domain name dns1, IP address 10.43.21.12 from DNS static table.
DGS-3324SRi:4#config dnsr delete static dns1 10.43.21.12
Command: config dnsr delete static dns1 10.43.21.12
Success.
DGS-3324SRi:4#
enable dnsr
Purpose Used to enable DNS relay.
Syntax
enable dnsr {cache | static}
Description
This command is used, in combination with the disable dnsr
command below, to enable and disable DNS Relay on the Switch.
Parameters cache - This parameter will allow the user to enable the cache
lookup for the DNS rely on the Switch.
static - This parameter will allow the user to enable the static table
lookup for the DNS rely on the Switch.
Restrictions Only administrator-level users can issue this command.
Example Usage:
To enable status of DNS relay:
DGS-3324SRi:4#enable dnsr
Command: enable dnsr
Success.
DGS-3324SRi:4#
Example Usage:
To enable cache lookup for DNS relay.