LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-05-2014, 02:02 AM   #1
boby.kumar
Member
 
Registered: Mar 2013
Posts: 94

Rep: Reputation: Disabled
How to create master+forwarder dns server in linux


Hi Team
I have created one new dns server in lab and its working properly.
Earlier we were using another dns server for lab pc's as 10.20.30.xx. which is outside the lab premises.
now issue with newly created as its not resolving query as previous. I am told by some to use forwarder option for this.
I want to use previous dns server as forwarding if newly can't resolved the queries
so i am looking to create master+forwarder dns server at new dns server so we could get easily replication.

can anyone clarify how to create forwarder option in named.conf at newly server?
 
Old 04-06-2014, 01:12 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,633

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by boby.kumar View Post
Hi Team
I have created one new dns server in lab and its working properly. Earlier we were using another dns server for lab pc's as 10.20.30.xx. which is outside the lab premises. now issue with newly created as its not resolving query as previous. I am told by some to use forwarder option for this. I want to use previous dns server as forwarding if newly can't resolved the queries so i am looking to create master+forwarder dns server at new dns server so we could get easily replication.

can anyone clarify how to create forwarder option in named.conf at newly server?
I'm sure one of the over TEN MILLION HITS on Google for "how to set up named forwarding in Linux" can probably tell you:
http://www.linuxhomenetworking.com/w..._in_named.conf
http://www.tldp.org/HOWTO/DNS-HOWTO-10.html
 
Old 04-08-2014, 12:16 AM   #3
boby.kumar
Member
 
Registered: Mar 2013
Posts: 94

Original Poster
Rep: Reputation: Disabled
Hi TBOne

Its not working me following your link.
 
Old 04-08-2014, 11:08 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,633

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by boby.kumar View Post
Hi TBOne
Its not working me following your link.
A few things:
  • You don't bother telling us what version/distro of Linux you're using
  • You don't bother telling us what you mean by "not working", such as giving us ANY error messages, etc.
  • You don't say WHICH of the TWO links I sent you that you tried, or what the results were
  • You don't acknowledge that there were over TEN MILLION other hits that you COULD have looked up/tried, since you didn't provide any of the other details mentioned.
Ask a clear question and provide details, or look things up on your own.
 
Old 04-14-2014, 04:25 AM   #5
boby.kumar
Member
 
Registered: Mar 2013
Posts: 94

Original Poster
Rep: Reputation: Disabled
Its not forwarding queries to forwarder dns server.

** server can't find XXX.com: SERVFAIL
Red Hat Enterprise Linux Server release 6.2 (Santiago) with
bind-utils-9.7.3-8.P3.el6.i686
rpcbind-0.2.0-8.el6.i686
bind-9.7.3-8.P3.el6.i686
samba-winbind-3.5.10-114.el6.i686
bind-chroot-9.7.3-8.P3.el6.i686
bind-dyndb-ldap-0.2.0-7.el6.i686
bind-libs-9.7.3-8.P3.el6.i686
samba-winbind-clients-3.5.10-114.el6.i686

There is no error in /var/log/messages for this. also tried with wireshark but nothing captured.

Can have now comment on this?

Last edited by boby.kumar; 04-14-2014 at 04:30 AM.
 
Old 04-14-2014, 10:34 AM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,633

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by boby.kumar View Post
Its not forwarding queries to forwarder dns server.

** server can't find XXX.com: SERVFAIL
Red Hat Enterprise Linux Server release 6.2 (Santiago) with
bind-utils-9.7.3-8.P3.el6.i686
rpcbind-0.2.0-8.el6.i686
bind-9.7.3-8.P3.el6.i686
samba-winbind-3.5.10-114.el6.i686
bind-chroot-9.7.3-8.P3.el6.i686
bind-dyndb-ldap-0.2.0-7.el6.i686
bind-libs-9.7.3-8.P3.el6.i686
samba-winbind-clients-3.5.10-114.el6.i686

There is no error in /var/log/messages for this. also tried with wireshark but nothing captured.
Can have now comment on this?
You were given things to check/try before, but you *STILL* don't say what you did to generate that message. One of the two links I looked up for you previously has troubleshooting tips...did you try them? Did you check your firewall/iptables rules? Did you check your configuration, since if you don't have it set correctly, forwarding won't work??

Red Hat's knowledegbase has LOTS of information on how to set up forwarding with bind
https://access.redhat.com/site/docum...e/s1-BIND.html

...along with troubleshooting tips, which you can STILL find with a brief search:
http://www.linuxhomenetworking.com/w..._in_named.conf

Again, unless you post ERRORS or give us any details, THERE IS NOTHING WE CAN TELL YOU. It's failing for SOME reason, but you don't share your configuration, and say you're not getting any errors at all. Since that's the case, what do you think anyone can tell you?? Since you're using Red Hat Enterprise, you should contact Red Hat support...you are PAYING FOR RHEL, RIGHT????
 
1 members found this post helpful.
  


Reply



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
DNS - Problems setting up forwarder (Linux SLES11 and Windows) KaMe SUSE / openSUSE 2 01-09-2013 04:09 PM
DNS server/ Forwarder + URL filtering using whitelist bkankur Linux - Software 0 03-12-2009 06:34 AM
how to configure master dns in windows2003 server and its slave dns in rhel5 suneellinux Linux - Newbie 1 04-11-2008 05:13 PM
Win2k3 DNS + PFsense DNS Forwarder = No internal DNS resolution Panopticon Linux - Networking 1 11-19-2007 09:59 PM
How to Create DNS server in LINUX :( saqib389 Linux - Networking 5 11-03-2006 06:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration