LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 04-18-2016, 06:53 AM   #1
iftikhar.tutul
LQ Newbie
 
Registered: Sep 2011
Location: Bangladesh
Posts: 22

Rep: Reputation: Disabled
Red Hat 7> dns server slave zone file not transferred


I configured master and slave dns server. but slave zone file not transferred.

This is my zone file

zone "iftibd.com" IN {
type slave;
file "slaves/seobd.fz";
masters { 52.37.252.202;};
};

zone "228.34.52.in-addr.arpa" IN {
type slave;
file "slaves/seobd.rz";
masters { 52.37.252.202;};
};

In /var/named/slaves file created but no zone is created.

kindly help

Last edited by iftikhar.tutul; 04-18-2016 at 07:36 AM.
 
Old 04-18-2016, 08:41 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,916

Rep: Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689
Quote:
Originally Posted by iftikhar.tutul View Post
I configured master and slave dns server. but slave zone file not transferred.
This is my zone file
Code:
zone "iftibd.com" IN {
        type slave;
        file "slaves/seobd.fz";
        masters { 52.37.252.202;};
};

zone "228.34.52.in-addr.arpa" IN {
        type slave;
        file "slaves/seobd.rz";
        masters { 52.37.252.202;};
};
In /var/named/slaves file created but no zone is created. kindly help
You have been here for FIVE YEARS now...read the "Question Guidelines" link about providing details when asking a question. You don't tell us ANYTHING that you've looked at so far, give any info from log files, tell us how you've configured this, or give any hints. What do you think anyone will be able to tell you??? You posted one piece of one config file (and did not use CODE tags doing it), and told us nothing else.

Also, you say you're using RHEL 7, have you contacted Red Hat support for help??? You are PAYING FOR RHEL, RIGHT???? As such, this problem has been covered on their knowledgebase, with a verified solution:
https://access.redhat.com/solutions/59753
 
1 members found this post helpful.
Old 04-20-2016, 12:14 AM   #3
iftikhar.tutul
LQ Newbie
 
Registered: Sep 2011
Location: Bangladesh
Posts: 22

Original Poster
Rep: Reputation: Disabled
I am using amazon free tier with RHEL 7.
In slave server, /etc/named.conf file:

options {
listen-on port 53 { 127.0.0.1; 52.34.228.106; 0.0.0.0/0; };
listen-on-v6 port 53 { ::1; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
allow-query { localhost; 0.0.0.0/0; };
/*
- If you are building an AUTHORITATIVE DNS server, do NOT enable recurs ion.
- If you are building a RECURSIVE (caching) DNS server, you need to ena ble
recursion.
- If your recursive DNS server has a public IP address, you MUST enable access
control to limit queries to your legitimate users. Failing to do so w ill
cause your server to become part of large scale DNS amplification
attacks. Implementing BCP38 within your network would greatly
reduce such attack surface
*/
#options{
recursion yes;
# allow-recursion { trusted;};
#};

dnssec-enable yes;
dnssec-validation yes;

/* Path to ISC DLV key */
bindkeys-file "/etc/named.iscdlv.key";

managed-keys-directory "/var/named/dynamic";

pid-file "/run/named/named.pid";
session-keyfile "/run/named/session.key";
};

logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};

zone "." IN {
type hint;
file "named.ca";
};

include "/etc/named.rfc1912.zones";
include "/etc/named.root.key";


and /etc/rfc1912.zones file:


zone "iftibd.com" IN {
type slave;
file "slaves/seobd.fz";
masters { 52.37.252.202;};
allow-notify {52.37.252.202; };
};

zone "228.34.52.in-addr.arpa" IN {
type slave;
file "slaves/seobd.rz";
masters { 52.37.252.202;};
allow-notify {52.37.252.202;};
};

[root@ip-172-31-17-202 slaves]# nslookup iftibd.com
Server: 52.34.228.106
Address: 52.34.228.106#53

Name: iftibd.com
Address: 52.37.252.202
Name: iftibd.com
Address: 52.34.228.106

[root@ip-172-31-17-202 slaves]# nslookup 52.34.228.106
Server: 52.34.228.106
Address: 52.34.228.106#53

** server can't find 106.228.34.52.in-addr.arpa: SERVFAIL

I found only seobd.fz created but not created reverse zone.
 
Old 04-20-2016, 08:27 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,916

Rep: Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689
Quote:
Originally Posted by iftikhar.tutul View Post
I am using amazon free tier with RHEL 7.
In slave server, /etc/named.conf file:

** server can't find 106.228.34.52.in-addr.arpa: SERVFAIL

I found only seobd.fz created but not created reverse zone.
AGAIN, you need to use CODE TAGS, as you were asked before...and again, after FIVE YEARS here, this shouldn't be a surprise. And re-stating the problem still tells us nothing...you have not answered any of the questions asked of you in the first reply, and ignored the request to use CODE tags.

AGAIN, have you done any research on this? What guides did you follow to set this up? What's in the logs? What have you done/tried on your own???
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu 12.04 Server Slave Dns Zone files not creating prasanth.bbnl Linux - Newbie 3 06-04-2015 12:33 PM
Slave DNS server zone trasnsfering after 30 min rameshk_tvm Linux - Networking 4 11-06-2009 12:44 PM
DNS Master Zone Vs. DNS Slave Zone ALInux Linux - Networking 3 08-29-2007 10:28 AM
HELP: slave DNS is not updating Zone FIle from Master Cypher12 Linux - Networking 2 09-12-2006 07:12 PM


All times are GMT -5. The time now is 01:05 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration