Home >

Network HSM Installation/Configuration Guide > PSESH Command Reference > network dns

network dns

Configure the Domain Name Server (DNS) settings on the SafeNet ProtectServer Network HSM appliance. You can use this command to add or delete a DNS name server or search domain.

User Access

admin, pseoperator

Syntax

network dns
add {nameserver <IPaddress> | searchdomain <netdomain>}
delete {nameserver <IPaddress> | searchdomain <netdomain>}

Parameter

Shortcut

Description

add nameserver <IPaddress>
a n

Add a DNS name server to the list of servers used to provide DNS services to the appliance.

add searchdomain <netdomain>
a s

Add a DNS search domain to the list of search domains that are automatically appended to URLs provided by the appliance.

delete nameserver <IPaddress>
d n

Delete a DNS name server from the list of servers used to provide DNS services to the appliance.

delete searchdomain <netdomain>
d s

Delete a DNS search domain from the list of search domains that are automatically appended to URLs provided by the appliance.

Example

psesh:> net dns add nameserver 192.16.0.2
Success: Nameserver 192.16.0.2 added
 

psesh:> net dns add searchdomain 192.16.0.0
Success: Searchdomain entry 192.16.0.0 added
 

psesh:> net dns delete nameserver 192.16.0.2
Success: Nameserver 192.16.0.2 deleted
 

psesh:> net dns delete searchdomain 192.16.0.0
Success: Searchdomain entry 192.16.0.0 deleted