![D-Link xStack DGS-3420 Series Reference Manual Download Page 379](http://html.mh-extra.com/html/d-link/xstack-dgs-3420-series/xstack-dgs-3420-series_reference-manual_78239379.webp)
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
374
Chapter 27
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}
27-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
- 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:
Summary of Contents for xStack DGS-3420 Series
Page 1: ...xStack DGS 3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide I ...
Page 188: ...xStack DGS 3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 183 ...
Page 713: ...xStack DGS 3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 708 ...
Page 902: ...xStack DGS 3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 897 ...