D-Link DGS-3600 Switch User Manual


 
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
261
To delete the static host name entry “www.example.com”:
DGS-3627:admin# delete host_name www.example.com
Command: delete host_name www.example.com
Success.
DGS-3627:admin#
show host_name
Purpose Used to display the current host name.
Syntax
show host_name {static | dynamic}
Description The show host_name command is used to display the current host name entries. If the
parameters for “static” and “dynamic” are not specified, both static and dynamic host name
entries will be displayed.
Parameters
static - Display the static host name entries
dynamic - Display the dynamic host name entries
Restrictions None.
Example usage:
To display the static and dynamic host name entries:
DGS-3627:admin# show host_name
Command: show host_name
Static Host Name Table
Host Name IP Address
---------------------------------- ------------------
www.example.com 10.10.10.10
www.exampla.com 20.20.20.20
Total Static Entries: 2
Dynamic Host Name Table
Host Name IP Address TTL
---------------------------------- --------------- --------
www.examplc.com 30.30.30.30 60 minutes
www.exampld.com 40.40.40.40 10 minutes
Total Dynamic Entries: 2
DGS-3627:admin#
enable dns_resolver
Purpose Used to configure the DNS Resolver state of the switch to enabled.
Syntax
enable dns_resolver
Description The enable dns_resolver command is used to configure the switch’s DNS Resolver state.
Parameters None.
Restrictions Only Administrator and Operator-level users can issue this command.