This discussion is archived
10 Replies Latest reply: May 7, 2013 2:15 AM by Zoltan Kecskemethy RSS

Difference in making a DNS server in RHEL 5 & RHEL 6

975148 Newbie
Currently Being Moderated
I wanted to know the difference in the making of a DNS server in RHEL 5 & RHEL 6. One difference which is evident is that there is a bind package in RHEL 6 which is not there in RHEL 5.

I hope, my query is clear.

Please revert with the reply to my query.

Regards
  • 1. Re: Difference in making a DNS server in RHEL 5 & RHEL 6
    Dude! Guru
    Currently Being Moderated
    Bind has been available and standard ever since.
  • 2. Re: Difference in making a DNS server in RHEL 5 & RHEL 6
    975148 Newbie
    Currently Being Moderated
    Thanks for your answer. Does it mean that there are no differences in making a DNS server in RHEL 5 & RHEL 6? I have noticed that the file /etc/named.conf is readily available in RHEL 6 but it is not so in RHEL 5.
  • 3. Re: Difference in making a DNS server in RHEL 5 & RHEL 6
    Zoltan Kecskemethy Expert
    Currently Being Moderated
    Yes. Bind is available for both RHEL 5 and 6. Just do a
    yum search bind
    and should get info about available versions.
    yum whatprovides /etc/named.conf
    shows you that this file could come from bind or caching-nameserver or bind97 package ...

    HTH, Zoltan
  • 4. Re: Difference in making a DNS server in RHEL 5 & RHEL 6
    Dude! Guru
    Currently Being Moderated
    BIND is not installed and configured by default and as such there is no universal named configuration file. Different version of BIND provide different features. The default installation of BIND under RHEL 6 installs a caching only nameserver for localhost. You will always have to configure BIND to your needs in a real world scenario. You need to read the product documentation, such as the RHEL deployment guides, or search for information on the web. There is plenty of resourceful information and examples on how to setup BIND.
  • 5. Re: Difference in making a DNS server in RHEL 5 & RHEL 6
    975148 Newbie
    Currently Being Moderated
    Thanks but I did not see the /etc/named.conf in our RHEL 5.8 server even when DNS server is implemented on the server.
  • 6. Re: Difference in making a DNS server in RHEL 5 & RHEL 6
    Dude! Guru
    Currently Being Moderated
    Are you using chrooted BIND? In this case, check /var/named/chroot/etc/.

    What is your trouble with named.conf? Are you questioning why the default installation of BIND under RHEL 6 comes with a named.conf file and RHEL 5 does not? Well, software and installations evolve and it's noting unusual. I'm afraid you have to ask Red Hat.

    RHEL 5 and 6 are obviously using different versions, but the BIND fundamentals remain the same. If named.conf does not exist you may have installed BIND, but you did not configure the service yet. Like I mentined already, you have to create or configure the named.conf file in a real world scenario. There is plenty of documentation and examples if you do not know how.

    If you are looking for a OS that comes with everything installed and preconfigured than Enterprise Linux is not the right choice.

    Edited by: Dude on Apr 29, 2013 4:00 AM
  • 7. Re: Difference in making a DNS server in RHEL 5 & RHEL 6
    975148 Newbie
    Currently Being Moderated
    RHEL 5.8 seems to be having a chrooted BIND.
  • 8. Re: Difference in making a DNS server in RHEL 5 & RHEL 6
    alvaromiranda Explorer
    Currently Being Moderated
    not true

    if you install the chroot package, will be chrooted, otherwise not
  • 9. Re: Difference in making a DNS server in RHEL 5 & RHEL 6
    975148 Newbie
    Currently Being Moderated
    Thanks. But, does that mean that BIND has different implementations for a chrooted package and also otherwise? In that case, there must be a different package for a chrooted BIND and one for a normal BIND. Do all these packages come in a default installation of RHEL 5 or RHEL 6?

    I hope, there is clarity on the points listed above by me.
  • 10. Re: Difference in making a DNS server in RHEL 5 & RHEL 6
    Zoltan Kecskemethy Expert
    Currently Being Moderated
    This is one of my server using a RHEL 5.6 DVD as repository. So there are these two packages available...
    myuser@myserver:~> yum info bind-chroot.x86_64 bind.x86_64
    Loaded plugins: rhnplugin, security
    Available Packages
    Name       : bind
    Arch       : x86_64
    Epoch      : 30
    Version    : 9.3.6
    Release    : 16.P1.el5
    Size       : 988 k
    Repo       : cd-media
    Summary    : The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) server.
    URL        : http://www.isc.org/products/BIND/
    License    : BSD-like
    Description: BIND (Berkeley Internet Name Domain) is an implementation of the DNS
               : (Domain Name System) protocols. BIND includes a DNS server (named),
               : which resolves host names to IP addresses; a resolver library
               : (routines for applications to use when interfacing with DNS); and
               : tools for verifying that the DNS server is operating properly.
    
    Name       : bind-chroot
    Arch       : x86_64
    Epoch      : 30
    Version    : 9.3.6
    Release    : 16.P1.el5
    Size       : 46 k
    Repo       : cd-media
    Summary    : A chroot runtime environment for the ISC BIND DNS server, named(8)
    URL        : http://www.isc.org/products/BIND/
    License    : BSD-like
    Description: This package contains a tree of files which can be used as a
               : chroot(2) jail for the named(8) program from the BIND package.
               : Based off code from Jan "Yenya" Kasprzak <kas@fi.muni.cz>

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points