DGS-3710 Series Layer 2 Managed Gigabit Switch CLI Reference Guide
243
To add the entry “dns1” with IP address 10.24.22.5 to the DNS static table:
DGS-3710-12C:admin#config dnsr add static dns1 10.24.22.5
Command: config dnsr add static dns1 10.24.22.5
Success.
DGS-3710-12C:admin#
To delete the entry “dns1” with IP address 10.24.22.5 from the DNS static table:
DGS-3710-12C:admin#config dnsr delete static dns1 10.24.22.5
Command: config dnsr delete static dns1 10.24.22.5
Success.
DGS-3710-12C:admin#
22-2
enable dnsr
Description
This command is used to enable DNS relay.
Format
enable dnsr {[cache | static]}
Parameters
cache
- Specifies to enable the cache lookup for the DNS relay on the switch.
static
- Specifies to enable the static table lookup for the DNS relay on the switch.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example
To enable DNS relay:
DGS-3710-12C:admin#enable dnsr
Command: enable dnsr
Success.
DGS-3710-12C:admin#
To enable cache lookup for DNS relay: