{"id":3189,"date":"2012-05-20T00:27:17","date_gmt":"2012-05-19T16:27:17","guid":{"rendered":"https:\/\/webhostinggeeks.com\/howto\/?p=3189"},"modified":"2023-04-28T09:49:16","modified_gmt":"2023-04-28T09:49:16","slug":"how-to-install-bind-utilities-on-fedora-16","status":"publish","type":"post","link":"https:\/\/webhostinggeeks.com\/howto\/how-to-install-bind-utilities-on-fedora-16\/","title":{"rendered":"How to Install Bind Utilities on Fedora 16"},"content":{"rendered":"<p><strong>Question :<\/strong><br \/>\nWhen i try to test mx record using host command and other bind utility command such as nslookup, i get this error :<\/p>\n<pre>\n[root@fedora16 ~]# host -t mx fedora16.local\n-bash: host: command not found\n<\/pre>\n<p><strong>Solution :<\/strong><br \/>\nBIND Utilities is not a separate package, it is a collection of the client side programs that are included with BIND-9. The BIND package includes the client side programs nslookup, dig and host.<\/p>\n<p>Simply run the following command to install bind-utils on Fedora 16 :<\/p>\n<pre>\n[root@fedora16 ~]# yum install bind-utils -y\n<\/pre>\n<p>Examples :<\/p>\n<pre>\n[root@fedora16 ~]# yum install bind-utils -y\nSetting up Install Process\nResolving Dependencies\n--> Running transaction check\n---> Package bind-utils.i686 32:9.8.2-1.fc16 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n====================================================================================================\n Package                 Arch              Version                       Repository            Size\n====================================================================================================\nInstalling:\n bind-utils              i686              32:9.8.2-1.fc16               updates              179 k\n\nTransaction Summary\n====================================================================================================\nInstall       1 Package\n\nTotal download size: 179 k\nInstalled size: 411 k\nDownloading Packages:\nbind-utils-9.8.2-1.fc16.i686.rpm                                             | 179 kB     00:01\nRunning Transaction Check\nRunning Transaction Test\nTransaction Test Succeeded\nRunning Transaction\n  Installing : 32:bind-utils-9.8.2-1.fc16.i686                                                  1\/1\n\nInstalled:\n  bind-utils.i686 32:9.8.2-1.fc16\n\nComplete!\n<\/pre>\n<p>Test DNS using host command example :<\/p>\n<pre>\n[root@fedora16 ~]# host -t mx fedora16.local\nfedora16.local mail is handled by 10 mail.fedora16.local.\n<\/pre>\n<p>Test DNS using nslookup command example:<\/p>\n<pre>\n[root@fedora16 ~]# nslookup\n> ns.fedora16.local\nServer:         127.0.0.1\nAddress:        127.0.0.1#53\n\nName:   ns.fedora16.local\nAddress: 192.168.1.47\n> mail.fedora16.local\nServer:         127.0.0.1\nAddress:        127.0.0.1#53\n\nName:   mail.fedora16.local\nAddress: 192.168.1.51\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Question : When i try to test mx record using host command and other bind utility command such as nslookup, i get this error : [root@fedora16 ~]# host -t mx&#8230;<\/p>\n","protected":false},"author":6,"featured_media":2351,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"wds_primary_category":0,"footnotes":""},"categories":[1111,1138,2057],"tags":[1228,1280,1337,1371,1536,1546],"class_list":["post-3189","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-bind9","category-dns","category-fedora","tag-bind","tag-chroot","tag-dns","tag-fedora-16","tag-linux","tag-linux-utilities"],"_links":{"self":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/3189","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=3189"}],"version-history":[{"count":0,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/3189\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media\/2351"}],"wp:attachment":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media?parent=3189"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/categories?post=3189"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/tags?post=3189"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}