Display host-byname struct
Availability: This command is available to cluster and Vserver administrators at the advanced privilege level.
Description
The vserver services name-service cache hosts forward-lookup show command
displays the cached host to IP lookup entries.
Parameters
- { [-fields <fieldname>, ...]
- If you specify the -fields <fieldname>, ... parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify.
- | [-instance ]}
- Use this parameter to display
detailed information about the cached forward lookup table entries.
- [-vserver <vserver name>] - Vserver
- Use this parameter to specify
the Vserver for which the cached forward lookup table entries
need to be displayed.
- [-host <text>] - Hostname
- Use this parameter to display information only about
the cached forward lookup table entries that have the specified hostname.
- [-protocol {Any|ICMP|TCP|UDP}] - Protocol
- Use this parameter to display information only about
the cached forward lookup table entries that have the specifed protocol.
- [-sock-type {SOCK_ANY|SOCK_STREAM|SOCK_DGRAM|SOCK_RAW}] - Sock Type
- Use this parameter to display information only about
the cached forward lookup table entries that have the specified socket type.
- [-flags {FLAG_NONE|AI_PASSIVE|AI_CANONNAME|AI_NUMERICHOST|AI_NUMERICSERV}] - Flags
- Use this parameter to display information only about
the cached forward lookup table entries that have the specified flags.
- [-family {Any|Ipv4|Ipv6}] - Family
- Use this parameter to display information only about
the cached forward lookup table entries that have the specified family.
- [-canonname <text>] - Canonical Name
- Use this parameter to display information only about
the cached forward lookup table entries that have the specified canonical name.
- [-ips <IP Address>, ...] - IP Addresses
- Use this parameter to display information only about
the cached forward lookup table entries that have the specified IPs.
- [-ip-protocol {Any|ICMP|TCP|UDP}, ...] - Protocol
- Use this parameter to display information only about
the cached forward lookup table entries that have the specified protocol
of the resolved IP address from forward lookup.
- [-ip-sock-type {SOCK_ANY|SOCK_STREAM|SOCK_DGRAM|SOCK_RAW}, ...] - Sock Type
- Use this parameter to display information only about
the cached forward lookup table entries that have the specified socket type
of the resolved IP address from forward lookup.
- [-ip-family {Any|Ipv4|Ipv6}, ...] - Family
- Use this parameter to display information only about
the cached forward lookup table entries that have the specified IP address family
of the resolved IP address from forward lookup.
- [-ip-addr-length <integer>, ...] - Length
- Use this parameter to display information only about
the cached forward lookup table entries that have the specified IP address length
of the resolved IP address from forward lookup.
- [-source {none|files|dns|nis|ldap|netgrp_byname|dc}] - Source of the Entry
- Use this parameter to display information only about
the cached forward lookup table entries that have the specified IP source
of the resolved IP address from forward lookup.
- [-create-time <MM/DD/YYYY HH:MM:SS>] - Create Time
- Use this parameter to display information only about
the cached forward lookup table entries that have the specified time when the
entry was cached.
- [-ttl <integer>] - DNS TTL
- Use this parameter to display information only about
the cached forward lookup table entries that have the specified Time To Live.
Examples
The following example displays all the cached forward lookup entries:
cluster1::> vserver services name-service cache hosts forward-lookup show
The following example displays all the cached forward lookup entries for Vserver vs0:
cluster1::> vserver services name-service cache hosts forward-lookup show -vserver vs0