{"id":3738,"date":"2012-08-06T23:50:49","date_gmt":"2012-08-06T15:50:49","guid":{"rendered":"https:\/\/webhostinggeeks.com\/howto\/?p=3738"},"modified":"2023-04-28T09:49:00","modified_gmt":"2023-04-28T09:49:00","slug":"how-to-install-nslookup-on-centos-6-3","status":"publish","type":"post","link":"https:\/\/webhostinggeeks.com\/howto\/how-to-install-nslookup-on-centos-6-3\/","title":{"rendered":"How to Install nslookup on CentOS 6.3"},"content":{"rendered":"<p>nslookup is a command-line tool used to query DNS servers and obtain domain-related information, such as IP addresses, mail servers, and other records. It is a helpful utility for network administrators and web hosting specialists when troubleshooting DNS issues. CentOS 6.3 is an older version of the CentOS operating system, and nslookup might not be installed by default.<\/p>\n<p>In this short tutorial, we will explain how to install nslookup on CentOS 6.3 using the BIND Utilities package, which contains various DNS tools, including nslookup.<\/p>\n<h2>Step 1: Update Your System<\/h2>\n<p>Before installing any new software, it is a good practice to update your system. Run the following command to update your CentOS 6.3 system:<\/p>\n<pre>\r\nsudo yum update\r\n<\/pre>\n<h2>Step 2: Install BIND Utilities<\/h2>\n<p>The nslookup tool is part of the BIND Utilities package. To install the package on CentOS 6.3, run the following command:<\/p>\n<pre>\r\nsudo yum install bind-utils\r\n<\/pre>\n<p>During the installation process, you may be prompted to confirm the installation. Press y and then Enter to continue.<\/p>\n<p>The output:<\/p>\n<pre>\r\nLoaded plugins: fastestmirror, presto\r\nLoading mirror speeds from cached hostfile\r\n * base: ossm.utm.my\r\n * extras: ossm.utm.my\r\n * updates: ossm.utm.my\r\nCentOS6.3-Repository                                                         | 4.0 kB     00:00 ...\r\nSetting up Install Process\r\nResolving Dependencies\r\n--> Running transaction check\r\n---> Package bind-utils.i686 32:9.8.2-0.10.rc1.el6_3.2 will be installed\r\n--> Processing Dependency: bind-libs = 32:9.8.2-0.10.rc1.el6_3.2 for package: 32:bind-utils-9.8.2-0.10.rc1.el6_3.2.i686\r\n--> Processing Dependency: liblwres.so.80 for package: 32:bind-utils-9.8.2-0.10.rc1.el6_3.2.i686\r\n--> Processing Dependency: libisccfg.so.82 for package: 32:bind-utils-9.8.2-0.10.rc1.el6_3.2.i686\r\n--> Processing Dependency: libisccc.so.80 for package: 32:bind-utils-9.8.2-0.10.rc1.el6_3.2.i686\r\n--> Processing Dependency: libisc.so.83 for package: 32:bind-utils-9.8.2-0.10.rc1.el6_3.2.i686\r\n--> Processing Dependency: libdns.so.81 for package: 32:bind-utils-9.8.2-0.10.rc1.el6_3.2.i686\r\n--> Processing Dependency: libbind9.so.80 for package: 32:bind-utils-9.8.2-0.10.rc1.el6_3.2.i686\r\n--> Running transaction check\r\n---> Package bind-libs.i686 32:9.8.2-0.10.rc1.el6_3.2 will be installed\r\n--> Finished Dependency Resolution\r\n\r\nDependencies Resolved\r\n\r\n====================================================================================================\r\n Package              Arch           Version                                Repository         Size\r\n====================================================================================================\r\nInstalling:\r\n bind-utils           i686           32:9.8.2-0.10.rc1.el6_3.2              updates           180 k\r\nInstalling for dependencies:\r\n bind-libs            i686           32:9.8.2-0.10.rc1.el6_3.2              updates           882 k\r\n\r\nTransaction Summary\r\n====================================================================================================\r\nInstall       2 Package(s)\r\n\r\nTotal download size: 1.0 M\r\nInstalled size: 2.7 M\r\nDownloading Packages:\r\nSetting up and reading Presto delta metadata\r\nProcessing delta metadata\r\nPackage(s) data still to download: 1.0 M\r\n(1\/2): bind-libs-9.8.2-0.10.rc1.el6_3.2.i686.rpm                             | 882 kB     00:09\r\n(2\/2): bind-utils-9.8.2-0.10.rc1.el6_3.2.i686.rpm                            | 180 kB     00:01\r\n----------------------------------------------------------------------------------------------------\r\nTotal                                                                97 kB\/s | 1.0 MB     00:10\r\nRunning rpm_check_debug\r\nRunning Transaction Test\r\nTransaction Test Succeeded\r\nRunning Transaction\r\n  Installing : 32:bind-libs-9.8.2-0.10.rc1.el6_3.2.i686                                         1\/2\r\n  Installing : 32:bind-utils-9.8.2-0.10.rc1.el6_3.2.i686                                        2\/2\r\n  Verifying  : 32:bind-utils-9.8.2-0.10.rc1.el6_3.2.i686                                        1\/2\r\n  Verifying  : 32:bind-libs-9.8.2-0.10.rc1.el6_3.2.i686                                         2\/2\r\n\r\nInstalled:\r\n  bind-utils.i686 32:9.8.2-0.10.rc1.el6_3.2\r\n\r\nDependency Installed:\r\n  bind-libs.i686 32:9.8.2-0.10.rc1.el6_3.2\r\n\r\nComplete!\r\n<\/pre>\n<h2>Step 3: Verify nslookup Installation<\/h2>\n<p>Once the installation is complete, verify that nslookup has been installed correctly by running the following command:<\/p>\n<pre>\r\nnslookup example.com\r\n<\/pre>\n<p>Replace example.com with any domain you want to query. If nslookup is installed correctly, you should see output containing information about the domain&#8217;s DNS records.<\/p>\n<p>For example:<\/p>\n<pre>\r\nnslookup google.com\r\n\r\nServer:         8.8.8.8\r\nAddress:        8.8.8.8#53\r\n\r\nNon-authoritative answer:\r\nwww.google.com  canonical name = www.l.google.com.\r\nName:   www.l.google.com\r\nAddress: 209.85.175.147\r\nName:   www.l.google.com\r\nAddress: 209.85.175.103\r\nName:   www.l.google.com\r\nAddress: 209.85.175.104\r\nName:   www.l.google.com\r\nAddress: 209.85.175.105\r\nName:   www.l.google.com\r\nAddress: 209.85.175.106\r\nName:   www.l.google.com\r\nAddress: 209.85.175.99\r\n<\/pre>\n<h2>Commands Mentioned:<\/h2>\n<ul>\n<li><span class=\"fw-bold\">sudo yum update<\/span> &#8211; Updates the CentOS 6.3 system<\/li>\n<li><span class=\"fw-bold\">sudo yum install bind-utils<\/span> &#8211; Installs the BIND Utilities package, including nslookup<\/li>\n<li><span class=\"fw-bold\">nslookup<\/span> &#8211; Queries a domain&#8217;s DNS records<\/li>\n<\/ul>\n<h2>Conclusion<\/h2>\n<p>By following the steps in this guide, you have successfully installed nslookup on CentOS 6.3 using the BIND Utilities package. You can now use nslookup to query DNS records and troubleshoot DNS-related issues on your CentOS system. Remember that CentOS 6.3 is an older version of CentOS, and it is recommended to upgrade to a newer version for improved security and features.<\/p>\n<p>If you have any comments or suggestions for improving this guide, please feel free to share your thoughts. We&#8217;re always eager to learn from our readers and make our content even better.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>nslookup is a command-line tool used to query DNS servers and obtain domain-related information, such as IP addresses, mail servers, and other records. It is a helpful utility for network&#8230;<\/p>\n","protected":false},"author":6,"featured_media":3620,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"wds_primary_category":0,"footnotes":""},"categories":[2055],"tags":[1228,1244,1337,1536,1607],"class_list":["post-3738","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-centos","tag-bind","tag-centos","tag-dns","tag-linux","tag-nslookup"],"_links":{"self":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/3738","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/comments?post=3738"}],"version-history":[{"count":0,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/3738\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media\/3620"}],"wp:attachment":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media?parent=3738"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/categories?post=3738"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/tags?post=3738"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}