LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 02-04-2012, 10:23 AM   #1
abisheikh21
LQ Newbie
 
Registered: Feb 2012
Posts: 6

Rep: Reputation: Disabled
configure a new linux dns server


HI guy,
I'm a new to linux I've installed redhat 6.1 server, I would like that server to be a dns server,
I've installed the following packages
bind-xx-xx-xx.i386.rpm
bind-libs-xx-xx.i386.rpm
bind-utils-xx-xx.i386.rpm
bind-chroot-xx-xx.i386.rpm
can someone tell me how to configure the named.conf file and the 2 zones file (forward and reverse),
or do I've to configure anything else..thx
 
Old 02-04-2012, 10:27 AM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 10,003

Rep: Reputation: 1189Reputation: 1189Reputation: 1189Reputation: 1189Reputation: 1189Reputation: 1189Reputation: 1189Reputation: 1189Reputation: 1189
Quote:
Originally Posted by abisheikh21 View Post
HI guy,
I'm a new to linux I've installed redhat 6.1 server, I would like that server to be a dns server,I've installed the following packages
bind-xx-xx-xx.i386.rpm
bind-libs-xx-xx.i386.rpm
bind-utils-xx-xx.i386.rpm
bind-chroot-xx-xx.i386.rpm
can someone tell me how to configure the named.conf file and the 2 zones file (forward and reverse), or do I've to configure anything else..thx
Please spell out your words. And a quick Google search would have gotten you an answer faster than posting here.
http://www.linuxtopia.org/online_boo...NS_Server.html

Since you're using RHEL, though, you can call RedHat support for more help, since you're paying for it, right?
 
Old 02-04-2012, 10:40 AM   #3
abisheikh21
LQ Newbie
 
Registered: Feb 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
yes, but I've a basic installation support and for other issues I've to pay more, and I don't have money for that..and that's why I posted here so someone can help me out..thx
 
Old 02-04-2012, 11:07 AM   #4
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 10,003

Rep: Reputation: 1189Reputation: 1189Reputation: 1189Reputation: 1189Reputation: 1189Reputation: 1189Reputation: 1189Reputation: 1189Reputation: 1189
Quote:
Originally Posted by abisheikh21 View Post
yes, but I've a basic installation support and for other issues I've to pay more, and I don't have money for that..and that's why I posted here so someone can help me out..thx
Again, SPELL OUT YOUR WORDS. And there are plenty of how-to docs on configuring bind/DNS, have you tried any of them?
 
1 members found this post helpful.
Old 02-04-2012, 11:22 AM   #5
abisheikh21
LQ Newbie
 
Registered: Feb 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
I've tried a few and also looked at the redhat website and tried their doc too, but won't work, I just need the basic lines for the named.conf file and the basic lines for the zones files so I can compare and find out what I'm doing wrong...
 
Old 02-04-2012, 11:25 AM   #6
tanveer
Member
 
Registered: Feb 2004
Location: e@rth
Distribution: RHEL-3/4/5,Gloria,opensolaris
Posts: 463

Rep: Reputation: 36
what errors you are getting though?
 
Old 02-04-2012, 11:44 AM   #7
abisheikh21
LQ Newbie
 
Registered: Feb 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
I've tried quite a few scenarios and each time I got different error, that's why I just need the path and file names to be updated, with the correct syntax, if anyone had configured a dns server in the past, can help me out..thanks..
 
Old 02-04-2012, 01:41 PM   #8
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 10,003

Rep: Reputation: 1189Reputation: 1189Reputation: 1189Reputation: 1189Reputation: 1189Reputation: 1189Reputation: 1189Reputation: 1189Reputation: 1189
Quote:
Originally Posted by abisheikh21 View Post
I've tried quite a few scenarios and each time I got different error, that's why I just need the path and file names to be updated, with the correct syntax, if anyone had configured a dns server in the past, can help me out..thanks..
You are not providing anyone with enough information to help you. The named.conf files for each setup are different, and the documentation I provided a link to already has examples, if you read them.

Again, a Google search will turn up lots if you bothered trying, such as this:
http://www.linuxhomenetworking.com/w...onfiguring_DNS

Again, with examples/etc. Unless you tell us what error(s) you're getting, where, and when, there's little we can tell you. And I will also again say that since you're using RHEL, you can CALL REDHAT SUPPORT since you're paying for it with your RHEL subscription. Their knowledgebase also has detailed docs that you're paying for access to as well, which can also give you examples.
 
Old 02-05-2012, 08:13 PM   #9
chrism01
Guru
 
Registered: Aug 2004
Location: Brisbane
Distribution: Centos 6.2, Centos 5.8
Posts: 11,740

Rep: Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905
Both the links provided by TB0ne should be read, especially the first one.
If you still have problems, we need details eg cfg files, what cmd you use, EXACT error msgs returned.
There's no one-size-fits-all setting.
 
1 members found this post helpful.
Old 02-07-2012, 08:37 AM   #10
abisheikh21
LQ Newbie
 
Registered: Feb 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
hello guys,
thanks for the links, but for a basic dns server configuration (redhat 6.1), I don't think so to start with that link, first of all is a little complicated for me.
So, finally I figure it out if someone need help to configure a linux dns server please use this youtube video there is no sound but very easy to follow all the steps..
http://www.youtube.com/watch?v=ZQkMYWTx28o
thanks...
 
Old 02-09-2012, 11:43 AM   #11
abisheikh21
LQ Newbie
 
Registered: Feb 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
Guys, have other issue now the linux 6.1 dns server is all setup, I've added another linux server named is vm.gui.net and I've added that name in the dns server zone file and I can ping that server with ip and domain name..nslookup all looks fine from the dns server. But when I ping the server domain name (domain.gui.net)from the client linux named (vm.gui.net)got error with "unknown host" my resolv.conf file of the client machine is as follows...any thoughts...thx
domain gui.net
search domain.gui.net
nameserver 192.168.x.xxx
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to configure another dns server to combine use with primary current dns server. hocheetiong Linux - Newbie 1 05-29-2008 06:57 PM
Configure Linux as secondary DNS Server js_valencia Linux - Networking 1 07-28-2006 11:51 PM


All times are GMT -5. The time now is 11:02 AM.

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