I just installed and configure a new Sun SPARC Enterprise M3000 server. It seems that when I telnet to the sever from a remote computer it takes a while to connect and get a login prompt. Once I am able to login in, speed is not an issue.
After some research I figured out that the Solaris 10 server was doing a reverse DNS lookup for IP address initiating a telnet connection. The server had a misconfigured DNS server IP, after I corrected it the delay went away.
Here is how I configured the DNS client on the Solaris 10 server. If your server does not already have the file /etc/resolv.conf, then create it with this command.
# touch /etc/resolv.conf
You now need to open /etc/resolv.conf with the vi editor.
# vi /etc/resolv.conf
Add the below lines to the file.
You now need to enable the name resolution using DNS, copy /etc/nsswitch.dns to /etc/nsswithc.conf
# cp /etc/nsswitch.dns /etc/nsswitch.conf
Test to see if your server is able to resolve names correctly.
# /usr/sfw/sbin/nslookup www.yahoo.com
www.yahoo.com canonical name = www.wa1.b.yahoo.com.
www.wa1.b.yahoo.com canonical name = www-real.wa1.b.yahoo.com.