DGS-3710 Series Layer 2 Managed Gigabit Switch CLI Reference Guide
242
Chapter 22
DNS Relay
Commands
config dnsr
[[primary | secondary] nameserver <ipaddr> | [add | delete] static <domain_name 32>
<ipaddr>]
enable dnsr
{[cache | static]}
disable dnsr
{[cache | static]}
show dnsr
{static}
22-1
config dnsr
Description
This command is used to add or delete a static entry into the Switch’s DNS resolution table, or set
up the relay server.
Format
config dnsr [[primary | secondary] nameserver <ipaddr> | [add | delete] static
<domain_name 32> <ipaddr>]
Parameters
primary
- Specifies to indicate that the IP address below is the address of the primary DNS
server.
secondary
- Specifies to indicate that the IP address below is the address of the secondary DNS
server.
nameserver
- Specifies the IP address of the DNS nameserver.
<ipaddr>
- Specifies the IP address of the DNS nameserver.
add
- Specifies to add the DNS relay function.
delete
- Specifies to delete the DNS relay function.
static
- Specifies the domain name of the entry.
<domain_name32>
- Specifies the domain name.
<ipaddr>
- Specifies the IP address of the entry.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example
To set IP address 10.24.22.5 as the primary DNS server:
DGS-3710-12C:admin#config dnsr primary nameserver 10.24.22.5
Command: config dnsr primary nameserver 10.24.22.5
Success.
DGS-3710-12C:admin#