xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
228
DGS-3450:admin# config dnsr add static dns1 10.43.21.12
Command: config dnsr add static dns1 10.43.21.12
Success.
DGS-3450:admin#
Example usage:
To delete an entry domain name dns1, IP address 10.43.21.12 from DNS static table.
DGS-3450:admin# config dnsr delete static dns1 10.43.21.12
Command: config dnsr delete static dns1 10.43.21.12
Success.
DGS-3450:admin#
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 and Operator-level users can issue this command.
Example usage:
To enable status of DNS relay:
DGS-3450:admin# enable dnsr
Command: enable dnsr
Success.
DGS-3450:admin#
Example usage:
To enable cache lookup for DNS relay.
DGS-3450:admin# enable dnsr cache
Command: enable dnsr cache
Success.
DGS-3450:admin#
Example usage:
To enable static table lookup for DNS relay.