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 <IP_address> | searchdomain <netdomain>}
delete {nameserver <IP_address> | searchdomain <netdomain>}
Argument(s) |
Shortcut |
Description |
---|---|---|
add nameserver <IP_address> |
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 <IP_address> |
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