Dear,
kalo misalnya di satu lokasi di install DNS Server dengan Forward dan
Reverse file sbb:
Lokasi B:
bandung.example.com.zone
---
$TTL 86400
@ IN SOA ns.bandung.example.com. root.bandung.example.com. (
50 ; serial
28800 ; refresh (8 hours)
7200 ; retry (2 hours)
604800 ; retire (1 week)
86400 ; ttl (1 day)
)
IN NS ns.bandung.example.com.
IN MX 10 mail.bandung.example.com.
IN A 192.168.2.2
ns IN A 192.168.2.1
www IN A 192.168.2.2
mail IN A 192.168.2.4
ftp IN CNAME www
---
2.168.192.in-addr.arpa.zone
---
$TTL 86400
@ IN SOA ns.bandung.example.com. root.bandung.example.com. (
50 ; serial
28800 ; refresh
7200 ; retry
604800 ; expire
86400 ; ttl
)
IN NS ns.bandung.example.com.
1 IN PTR ns.bandung.example.com.
2 IN PTR www.bandung.example.com.
4 IN PTR mail.bandung.example.com.
---
di Lokasi A (katakanlah pusat).
named.conf
---cut---
view "internal"
{
match-clients { localnets; trusted; };
match-destinations { localnets; trusted; };
recursion yes;
// all views must contain the root hints zone:
include "/etc/named.root.hints";
zone "example.com" {
type master;
file "zones/example.com.zone";
};
zone "1.168.192.in-addr.arpa" {
type master;
file "zones/1.168.192.in-addr.arpa.zone";
};
};
---cut---
nah pen-delegasi-an subdomain di pusat ini seharusnya bagaimana yah?
example.com.zone
---
$TTL 86400
@ IN SOA ns1.example.com. root.example.com. (
50 ; serial
28800 ; refresh (8 hours)
7200 ; retry (2 hours)
604800 ; retire (1 week)
86400 ; ttl (1 day)
)
IN NS ns1.example.com.
IN MX 10 mail.example.com.
IN A 192.168.1.2
ns1 IN A 192.168.1.1
www IN A 192.168.1.2
mail IN A 192.168.1.4
ftp IN CNAME www
---
1.168.192.in-addr.arpa.zone
---
$TTL 86400
@ IN SOA ns1.example.com. root.example.com. (
50 ; serial
28800 ; refresh
7200 ; retry
604800 ; expire
86400 ; ttl
)
IN NS ns1.example.com.
1 IN PTR ns1.example.com.
2 IN PTR www.example.com.
4 IN PTR mail.example.com.
---
---
Anton Faisal El - Fasya
--
FAQ milis di http://wiki.linux.or.id/FAQ_milis_tanya-jawab
Unsubscribe: kirim email ke [EMAIL PROTECTED]
Arsip dan info milis selengkapnya di http://linux.or.id/milis