xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide
398
Chapter 28
Domain Name
System (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}
28-1
config dnsr
Description
This command is used to add or delete a static entry into the S
witch’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
- Specify to indicate that the IP address below is the address of the primary DNS server.
secondary
- Specify to indicate that the IP address below is the address of the secondary DNS
server.
nameserver
- Specify the IP address of the DNS nameserver.
<ipaddr>
- Specify the IP address of the DNS nameserver.
add
- Specify to add the DNS relay function.
delete
- Specify to delete the DNS relay function.
static
- Specify the domain name of the entry.
<domain_name32>
- Specify the domain name.
<ipaddr>
- Specify the IP address of the entry.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To set IP address 10.24.22.5 as the primary DNS server:
DGS-3620-28SC:admin# config dnsr primary nameserver 10.24.22.5
Command: config dnsr primary nameserver 10.24.22.5
Success.
Содержание xStack DGS-3620-52P
Страница 1: ...xStack DGS 3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide I...
Страница 142: ...xStack DGS 3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 137 DGS 3620 28SC admin...
Страница 436: ...xStack DGS 3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 431 DGS 3620 28SC admin...
Страница 635: ...xStack DGS 3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 630 Success DGS 3620 28SC admin...