How to Install and Configure ‘Cache Only DNS Server’ with ‘Unbound’ in RHEL/CentOS 7

Best Affordable Linux and WordPress Services For Your Business
Outsource Your Linux and WordPress Project and Get it Promptly Completed Remotely and Delivered Online.

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Babin Lonston

I'm Working as a System Administrator for last 10 year's with 4 years experience with Linux Distributions, fall in love with text based operating systems.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

6 Responses

  1. Apurba says:


    This is very useful article. Whenever I’m stuck, this website helps me a lot. Thanks to you.

  2. tuem says:

    Dear Babin Lonston,

    Thanks for your guide, but i have a problem . When i do follow step by step above. I have a error when check unbound.conf file

    [[email protected] unbound]# unbound-checkconf /etc/unbound/unbound.conf
    /etc/unbound/unbound_server.key: No such file or directory
    [1511340951] unbound-checkconf[9120:0] fatal error: server-key-file: “/etc/unbound/unbound_server.key” does not exist

    How can i fix it ? I find out a command like “control-use-cert: no” in some unbound version. But it is not available for unbound 1.4.20 on Centos7 .
    Thanks and wait for your reply :)

  3. Jalal Hajigholamali says:

    Very useful article
    Thanks a lot

  4. Rodolfo says:

    Hi, thank you for the post.

    How did you manage to get all that options in the setup command in Red Hat 7? In Centos 7 I only have System Authentication and System Services.

    I know nmtui, which is good to configure dns clientes, and firewall-config for firewall.

    But it would be nice to try all that options from setup command.

    Thanks in advance

Got something to say? Join the discussion.

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.