Solution to the absence of the hostdignslookup command in centos

Source: Internet
Author: User
Tags nslookup nslookup command
Centos does not have the hostdignslookup command. today, when installing the DNS server, I want to test the DNS server and find that the hostdignslookup command is not installed, get yuminstallbind-untils now... centos does not have the host dig nslookup command. today, when installing the DNS server, I want to test the DNS server and find that the host dig nslookup command is not installed, immediately yum install bind-untils to close the job. if: stop named: [OK] Generating/etc/rndc appears. key: rndc. if there is a problem with key generation, you can regenerate rndc-confgen-r/dev/urandom-a wrote key file "/etc/rndc. key "and then restart/etc/init. d/named restart: when the master/slave DNS server is configured, the master/slave node cannot be synchronized. study "IN {type: master; name:" named. zhao. study "; allow-transfer {192.168.1.105} ;}; the configuration of the slave server zone is as follows: zone" zhao. study "IN {type: slave; file:" named. zhao. study "; masters {192.168.1.108 };}; after the master-slave server is started, it is found that the synchronization cannot be completed. then, it is found that the also-policy and policy options are not configured in the zone of the master DNS server, modify zone "zhao. study "IN {type: master; name:" named. zhao. study "; also-policy {192.168.1.108 ;}; notify yes; allow-transfer {192.168.1.105 };}; then restart the primary DNS server and check that the master-slave synchronization starts.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.