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.
domain mchael_jackson.com
nameserver 10.0.0.100
nameserver 162.28.10.100
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
Server: 10.0.0.100
Address: 10.0.0.100#53Non-authoritative answer:
www.yahoo.com canonical name = www.wa1.b.yahoo.com.
www.wa1.b.yahoo.com canonical name = www-real.wa1.b.yahoo.com.
Name: www-real.wa1.b.yahoo.com
Address: 69.147.76.15