H3C S3100 Series Command Manual page 1070

Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

You can configure a maximum of 6 DNS servers, including those with IPv6 addresses.
Related commands: display dns server.
Examples
# Configure 172.16.1.1 for a DNS Server.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] dns server 172.16.1.1
ip host
Syntax
ip host hostname ip-address
undo ip host hostname [ ip-address ]
View
System view
Parameters
hostname: Host name, a string of 1 to 20 characters which can be letters, numbers, hyphens (-), or dots
(.). The host name must include at least one letter.
ip-address: IP address of the specified host, in dotted decimal notation.
Description
Use the ip host command to create a mapping between host name and IP address in the static DNS
database.
Use the undo ip host command to remove the mapping.
No mappings are created by default.
Each host name can correspond to only one IP address. When IP addresses are configured for the
same host for multiple times, only the IP address configured last time is valid.
Related commands: display ip host.
Examples
# Configure IP address 10.110.0.1 for host aaa.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] ip host aaa 10.110.0.1
nslookup type
Syntax
nslookup type { ptr ip-address | a domain-name }
View
Any view
1-6

Advertisement

Table of Contents
loading

Table of Contents