No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

FAQ-Is it possible to use device name instead of IP address when using telnet from the N2000 server

Publication Date:  2012-07-24 Views:  43 Downloads:  0
Issue Description
Q:
Is it possible to use device name instead of IP address when using telnet from the N2000 server?
Alarm Information
Null.
Handling Process
A:
Yes, it is.
To use the host name to replace the IP, we must use name services.
In Solaris, we can config the OS as a name servicees client. Here we assume that the customer has their own DNS server, and there are devices name records in the DSNS server.
1. editing /etc/nsswitch.conf file
Change 
hosts: files
To
hosts: files dns
2. editing or creating /etc/resolv.conf file to add the servername and domain
The /etc/resolv.conf file contains configuration directives for the DNS
resolver. The directives include:
nameserver Specifies the IP address of a name server for the DNS
domain in which the host is located. You can list up to
three name servers, one on each line.
domain Specifies the local domain name. Specifying the local
domain name allows queries using just the host name.
Following is an example.
# cat /etc/resolv.conf
nameserver 192.168.10.11
nameserver 192.168.20.88
domain suned.sun.com training.sun.com sun.com
If the customer doesn't has there own DNS server, please do following step.
1. Editing /etc/inet/hosts file.
Add IPs and names of all devices
2. Editing /etc/inet/ipnodes file.
Add IPs and names of all devices 
Root Cause
Null.
Suggestions
Null.

END