iT邦幫忙

0

Win2016 DNS備援到Fedora28

  • 分享至 

  • xImage

各位大家好

最近接觸了Win2016的DNS備援到Fedora(virtualbox)

但都會出現說"具有這個IP位址的伺服器不是授權管理所需區域的伺服器"

Fedora28上裝了Bind

Win2016的Domain Name為xxxx.edu,IP:192.168.99.253/24,Gateway192.168.99.254

dnsmasq.conf裡有設定Port=0

named.conf

//
// named.conf
//
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
// server as a caching only nameserver (as a localhost DNS resolver only).
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//

options {
	listen-on port 53 { any; };
	listen-on-v6 port 53 { none; };
	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";
	secroots-file	"/var/named/data/named.secroots";
	recursing-file	"/var/named/data/named.recursing";
	allow-query     { any; };

	recursion yes;

	dnssec-enable yes;
	dnssec-validation yes;

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

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

	include "/etc/crypto-policies/back-ends/bind.config";
};

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";

zone "xxxx.edu" in{
	type slave;
	file "slaves/named.xxxx.edu";
	masters {192.168.99.253;};
};

zone "99.168.192.in-addr.arpa" in{
	type slave;
	file "slaves/named.192.168.99";
	masters {192.168.99.253;};
};

selinux跟防火牆都關了

有時候放著不管他過一陣子就OK了

請問這問題是出在哪呢

rh551206 iT邦新手 5 級 ‧ 2019-11-15 13:34:56 檢舉
Windows DNS 要做區域轉送
在看看在zone有沒有載入然後對照serail 有跟 master 同步就可以了
ayu iT邦好手 2 級 ‧ 2019-11-15 23:05:44 檢舉
在win2016, 對於 xxxx.edu 這個網域, 你有將fc28的IP列為slave(次要伺服器)嗎?

請在 fc28 測試一下:
dig @192.168.99.253 xxxx.edu axfr
有回應這個zone的資料嗎? 還是Transfer failed?
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友回答

立即登入回答