xStack DGS-3612G Layer 3 Gigabit Ethernet Managed Switch CLI Manual
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-3612G:4#disable dnsr
Command: disable dnsr
Success.
DGS-3612G:4#
Example usage:
To disable cache lookup for DNS relay.
DGS-3612G:4#disable dnsr cache
Command: disable dnsr cache
Success.
DGS-3612G:4#
Example usage:
To disable static table lookup for DNS relay.
DGS-3612G:4#disable dnsr static
Command: disable dnsr static
Success.
DGS-3612G:4#
show dnsr
Purpose
Used to display the current DNS relay status.
Syntax
show dnsr {static}
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.
Description
Example usage:
To display DNS relay status:
234