setting up slave server with Zoneedit need help
cuongvt
cuongvt at fpt.vn
Sat Dec 1 21:53:54 PST 2007
I have a `internal' network visible only internally. Let say: hanhnhu.local.
This is my master for the local zone.
I registered 'vuhanhnhu.com' domain with my registrar and pointed it to
zoneedit nameservers: ns3.zoneedit.com and
ns9.zoneedit.com. I'm using NAT.
So how can I set up slave with zoneedit for "vuhanhnhu.com" zone?
Thanks you very much.
below is my files related to local internal DNS:
File named.conf:
options {
directory "/etc/namedb";
pid-file "/var/run/named/pid";
dump-file "/var/dump/named_dump.db";
statistics-file "/var/stats/named.stats";
listen-on { 192.168.0.1; 127.0.0.1; };
forwarders {
210.245.0.131;
};
};
zone "hanhnhu.local" in {
type master;
file "grv.zone";
};
zone "0.168.192.in-addr.arpa" in {
type master;
file "grv.rev";
};
zone "localhost" in {
type master;
file "local.zone";
};
zone "0.0.127.in-addr.arpa" in {
type master;
file "local.rev";
};
zone "." {
type hint;
file "named.root";
};
----------------------------------------------------------
File grv.zone
$TTL 3600
@ IN SOA hanhnhu.local. root.hanhnhu.local. (
2000012201 ; Selial
10800 ; Refresh 3 hours
3600 ; Retry 1 hour
3600000 ; Expire 1000 hours
86400 ; Minimum 24 hours
)
IN NS hanhnhu.local.
IN A 192.168.0.1
; hosts
localhost IN A 127.0.0.1
windows1 IN A 192.168.0.253
windows2 IN A 192.168.0.254
; aliases
www IN CNAME hanhnhu.local.
ftp IN CNAME hanhnhu.local.
mail IN CNAME hanhnhu.local.
-----------------------------------------
File grv.rev:
$TTL 3600
@ IN SOA hanhnhu.local. root.hanhnhu.local. (
2000012201 ; Selial
10800 ; Refresh 3 hours
3600 ; Retry 1 hour
3600000 ; Expire 1000 hours
86400 ; Minimum 24 hours
)
IN NS hanhnhu.local.
; hosts
1 IN PTR hanhnhu.local.
253 IN PTR windows1.hanhnhu.local.
254 IN PTR windows2.hanhnhu.local.
--
View this message in context: http://www.nabble.com/setting-up-slave-server-with-Zoneedit-need-help-tf4930698.html#a14112921
Sent from the freebsd-questions mailing list archive at Nabble.com.
More information about the freebsd-questions
mailing list