D-Link DGS-3600 Switch User Manual


 
xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
298
disable dnsr
Purpose Used to disable DNS relay on the Switch.
Syntax
disable dnsr {[cache | static]}
Description This command is used, in combination with the enable dnsr command
above, to enable and disable DNS Relay on the Switch.
Parameters cache – This parameter will allow the user to disable the cache lookup
for the DNS relay on the Switch.
static – This parameter will allow the user to disable the static table
lookup for the DNS relay on the Switch.
Restrictions Only administrator-level users can issue this command.
Example usage:
To disable status of DNS relay.
DGS-3600:4#disable dnsr
Command: disable dnsr
Success.
DGS-3600:4#
Example usage:
To disable cache lookup for DNS relay.
DGS-3600:4#disable dnsr cache
Command: disable dnsr cache
Success.
DGS-3600:4#
Example usage:
To disable static table lookup for DNS relay.
DGS-3600:4#disable dnsr static
Command: disable dnsr static
Success.
DGS-3600:4#
show dnsr
Purpose Used to display the current DNS relay status.
Syntax
show dnsr {static}
Description This command is used to display the current DNS relay status.
Parameters
static Allows the display of only the static entries into the DNS relay
table. If this parameter is omitted, the entire DNS relay table will be
displayed.
Restrictions None.
Example usage:
To display DNS relay status: