{"id":542,"date":"2009-12-03T10:24:34","date_gmt":"2009-12-03T15:24:34","guid":{"rendered":"http:\/\/www.gamescheat.ca\/?p=542"},"modified":"2019-09-04T19:57:40","modified_gmt":"2019-09-05T00:57:40","slug":"configure-dns-client-on-soalris-10-server-to-resolve-telnet-login-delay","status":"publish","type":"post","link":"http:\/\/www.gamescheat.ca\/?p=542","title":{"rendered":"Configure DNS client on Soalris 10 server to resolve telnet login delay"},"content":{"rendered":"<p>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.<\/p>\n<p>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.<\/p>\n<p>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. <\/p>\n<blockquote><p># touch \/etc\/resolv.conf<\/p><\/blockquote>\n<p>You now need to open \/etc\/resolv.conf with the vi editor.<\/p>\n<blockquote><div style=\"float: right;\"><div style=\"margin: 15px 15px 15px 15px\";><script type=\"text\/javascript\"><!--\ngoogle_ad_client = \"pub-3319935785736004\";\ngoogle_alternate_color = \"FFFFFF\";\ngoogle_ad_width = 234;\ngoogle_ad_height = 60;\ngoogle_ad_format = \"234x60_as\";\ngoogle_ad_type = \"text_image\";\ngoogle_ad_channel =\"\";\ngoogle_color_border = \"cccccc\";\ngoogle_color_link = \"cc0000\";\ngoogle_color_bg = \"ffffff\";\ngoogle_color_text = \"000000\";\ngoogle_color_url = \"008000\";\n\/\/--><\/script>\n<script type=\"text\/javascript\"\n  src=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\">\n<\/script><\/div><\/div><p># vi \/etc\/resolv.conf<\/p><\/blockquote>\n<p>Add the below lines to the file.<\/p>\n<blockquote><p>domain mchael_jackson.com<br \/>\nnameserver 10.0.0.100<br \/>\nnameserver 162.28.10.100<\/p><\/blockquote>\n<p>You now need to enable the name resolution using DNS, copy \/etc\/nsswitch.dns to \/etc\/nsswithc.conf<\/p>\n<blockquote><p># cp \/etc\/nsswitch.dns \/etc\/nsswitch.conf <\/p><\/blockquote>\n<p>Test to see if your server is able to resolve names correctly.<\/p>\n<blockquote><p># \/usr\/sfw\/sbin\/nslookup www.yahoo.com<br \/>\nServer:         10.0.0.100<br \/>\nAddress:        10.0.0.100#53                                    <\/p>\n<p>Non-authoritative answer:<br \/>\nwww.yahoo.com   canonical name = www.wa1.b.yahoo.com.<br \/>\nwww.wa1.b.yahoo.com     canonical name = www-real.wa1.b.yahoo.com.<br \/>\nName:   www-real.wa1.b.yahoo.com<br \/>\nAddress: 69.147.76.15                                             <\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>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&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"http:\/\/www.gamescheat.ca\/?p=542\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[19],"tags":[55,35],"_links":{"self":[{"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=\/wp\/v2\/posts\/542"}],"collection":[{"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=542"}],"version-history":[{"count":9,"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=\/wp\/v2\/posts\/542\/revisions"}],"predecessor-version":[{"id":985,"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=\/wp\/v2\/posts\/542\/revisions\/985"}],"wp:attachment":[{"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=542"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=542"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=542"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}