Red Hat 7> dns server slave zone file not transferred
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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";
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???
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.