Skip to main content
A newer release of this product is available.

vserver services name-service dns hosts create

Contributors
Suggest changes

Create a new host table entry

Availability: This command is available to cluster and Vserver administrators at the admin privilege level.

Description

Use the vserver services name-service dns hosts create command to create new DNS host table entries. These entries map hostnames to IP addresses.

Parameters

-vserver <vserver name> - Vserver

Use this parameter to specify the Vserver on which the host table entry will be created.

-address <IP Address> - IP Address

Use this parameter to specify the IP address of the new host table entry.

-hostname <text> - Canonical Hostname

Use this parameter to specify the full hostname for the new host table entry.

[-aliases <text>,…​] - Aliases

Use this parameter to specify any aliases to include in the new host table entry. Separate multiple aliases with commas.

Examples

This example creates a new DNS host table entry for 10.0.0.17 on the vserver vs1, with the hostname test.example.com and the alias test.

cluster1::> vserver services name-service dns hosts create -vserver vs1 -address 10.0.0.17 -hostname test.example.com -aliases test