Configure DNS client on Soalris 10 server to resolve telnet login delay

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

Non-authoritative answer: canonical name = canonical name =

About Andrew Lin

I have always wanted to creat a blog site but never had the time. I have been working in Information Technology for over 15 years. I specialize mainly in networks and server technologies and dabble a little with the programming aspects.

Andrew Lin

View all posts by Andrew Lin →

Leave a Reply

Your email address will not be published. Required fields are marked *