Debian BIND設定 SRV - Linux
By Candice
at 2013-05-02T16:19
at 2013-05-02T16:19
Table of Contents
我 在 Windows Server 2008 R2 上建立了 Active Directory 和 LINUX 架了
DNS(BIND9)
====Windows Server ====
IP : 192.168.17.86
網域 : intra.tnsc.tw
=====================
===========================Debian====================
IP : 192.168.17.87
===/etc/bind/named.conf.default-zones===
zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";
};
zone "tnsc.tw" {
type master;
file "/etc/bind/db.tnsc.tw";
};
zone "17.168.192.in-addr.arpa" {
type master;
file "/etc/bind/db.17";
};
====================================
=========== /etc/bind.tnsc.tw============
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA localhost. root.localhost. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS localhost.
intra.tnsc.tw. IN A 192.168.17.86
www.tnsc.tw. IN A 192.168.17.55
web.tnsc.tw. IN A 192.168.17.44
==========================================
=================================================
結果,Client 可以用 nslookup 查詢到 intra.tnsc.tw 在 192.168.17.87
去無法加入.... , 翻了好久的書終於查到 似乎是"DNS 需要將 網域寫入 SRV 紀錄中"
我卻不會 用SRV~~ 有大大能夠告訴我 怎麼去設定嗎 ><??
--
DNS(BIND9)
====Windows Server ====
IP : 192.168.17.86
網域 : intra.tnsc.tw
=====================
===========================Debian====================
IP : 192.168.17.87
===/etc/bind/named.conf.default-zones===
zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";
};
zone "tnsc.tw" {
type master;
file "/etc/bind/db.tnsc.tw";
};
zone "17.168.192.in-addr.arpa" {
type master;
file "/etc/bind/db.17";
};
====================================
=========== /etc/bind.tnsc.tw============
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA localhost. root.localhost. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS localhost.
intra.tnsc.tw. IN A 192.168.17.86
www.tnsc.tw. IN A 192.168.17.55
web.tnsc.tw. IN A 192.168.17.44
==========================================
=================================================
結果,Client 可以用 nslookup 查詢到 intra.tnsc.tw 在 192.168.17.87
去無法加入.... , 翻了好久的書終於查到 似乎是"DNS 需要將 網域寫入 SRV 紀錄中"
我卻不會 用SRV~~ 有大大能夠告訴我 怎麼去設定嗎 ><??
--
Tags:
Linux
All Comments
By Harry
at 2013-05-07T07:27
at 2013-05-07T07:27
Related Posts
取代(sed)變數(遞增值)方法
By Yuri
at 2013-05-02T15:31
at 2013-05-02T15:31
sudo passwd
By Edwina
at 2013-05-02T15:06
at 2013-05-02T15:06
請問一下big5 轉碼上bbs
By Carol
at 2013-05-02T11:47
at 2013-05-02T11:47
直接丟檔案與透過WinSCP.exe
By Yedda
at 2013-05-02T11:38
at 2013-05-02T11:38
有沒有偵測耗電量的軟體
By Skylar DavisLinda
at 2013-05-01T23:37
at 2013-05-01T23:37