Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-28-2013, 04:14 AM   #1
LQ Newbie
Registered: Apr 2013
Posts: 4

Rep: Reputation: Disabled
Bind Tutorial

I was trying for a couple of hours to install bind and fix my dns servers. I was have a lot of problems to configure it but I found a simple way of configuring the named.conf . I just found this way just in a site and I want to also say it here.
First of all you have to install

[root@localhost ~]# yum install caching-nameserver [ENTER]
# If that doesn't work try this
[root@localhost ~]# yum install bind [ENTER]

Then you have to find named.conf . Some times is based on /etc/named.conf
and sometimes it's on /var/named/chroot/etc/named.conf
Also sometimes the named.conf it's calling named.caching-nameserver.conf.
In both cases you have to create or edit the named.conf

My problem was that in named.conf was having a lot of understandable code (which it wasn't needed).
You can delete all the code and just put this

zone "" IN {
type master;
file "/var/named/";



inside the file you need to put your nameservers. I found this easy generator . Complete the generator and copy paste the code that will give you in the file .
Then you have to restart bind service named restart
That is Bind is work fine without a lot of code in named.conf

Last edited by aelgate3; 04-28-2013 at 04:15 AM.
Old 04-28-2013, 05:06 AM   #2
LQ Newbie
Registered: Apr 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled

It work fine .. Just need some hours to take effect

Last edited by aelgate3; 04-28-2013 at 08:12 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can any body guide me a for a good tutorial for BIND (DNS) mikdadhussain Linux - Networking 5 08-12-2006 12:21 PM
best tutorial on the internet for DNS & bind jkmartha Linux - Software 1 06-18-2005 09:15 AM
Tutorial for BIND with mySQL backend mrEgg Red Hat 3 12-14-2004 04:20 AM
looking for a comprehensive DNS and bind tutorial coolamit78 Linux - Networking 4 11-01-2003 03:46 PM
Simple DNS/Bind tutorial cbernaut Linux - Networking 0 06-20-2002 12:22 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:49 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration