Chapter 38: domain name service commands, Ip host, Table 38-1 dns – Asante Technologies 40240/40480-10G User Manual

Page 647: Commands

Advertising
background image

ip host

This command creates a static entry in the DNS table that maps a host name to an
IP address. Use the no form to remove an entry.

Syntax

[no] ip host name address1 [address2address8]

• name - Name of the host. (Range: 1-127 characters)

address1 - Corresponding IP address.

address2address8 - Additional corresponding IP addresses.

Default Setting

No static entries

Command Mode

Global Configuration

38-1

Chapter 38: Domain Name Service Commands

These commands are used to configure Domain Naming System (DNS) services.
Entries can be manually configured in the DNS domain name to IP address mapping
table, default domain names configured, or one or more name servers specified to
use for domain name to address translation.

Note that domain name services will not be enabled until at least one name server is
specified with the ip name-server command and domain lookup is enabled with the
ip domain-lookup command.

Table 38-1 DNS Commands

Command Function

ip host

Creates a static host name-to-address mapping

clear host

Deletes entries from the host name-to-address table

ip domain-name

Defines a default domain name for incomplete host names

ip domain-list

Defines a list of default domain names for incomplete host names

ip name-server

Specifies the address of one or more name servers to use for host

name-to-address translation

ip domain-lookup

Enables DNS-based host name-to-address translation

show hosts

Displays the static host name-to-address mapping table

show dns

Displays the configuration for DNS services

show dns cache

Displays entries in the DNS cache

clear dns cache

Clears all entries from the DNS cache

Mode Page

GC 38-1

PE 38-2

GC 38-3

GC 38-3

GC 38-4

GC 38-5

PE 38-6

PE 38-7

PE 38-7

PE 38-8

Advertising