From: Serkan AKSU (aksu@karaelmas.edu.tr)
Date: Thu 25 Dec 2003 - 09:37:32 EST
Redhat9 yüklü makinada kurduğum yerel ağda DNS sunucyu çalıştıramıyorum. Ayar dosyalar aşağıdaki gibidir. Yardımcı olursanız sevinirim.
named.conf
// generated by named-bootconf.pl
options {
directory "/var/named";
query-source address * port 53;
};
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
zone "." IN {
type hint;
file "named.ca";
};
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};
zone "aksu.com" IN {
type master;
file "aksu.com.zone";
allow-update { none; };
};
zone "1.168.192.in-addr.arpa" IN {
type master;
file "1.168.192.in-addr.arpa.zone";
allow-update { none; };
};
include "/etc/rndc.key";
#########################
aksu.com.zone
$ORIGIN aksu.com.
@ IN SOA serkan.aksu.com. root.serkan.aksu.com.
(
42 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
@ IN NS serkan.aksu.com.
serkan IN A 192.168.1.10
server1 IN A 192.168.1.1
lab1 IN A 192.168.1.5
www IN CNAME server1
####################################
1.168.192.in-addr.arpa.zone
$TTL 86400
@ IN SOA serkan.aksu.com. root.serkan.aksu.com. (
4 ; serial
28800 ; refresh
7200 ; retry
604800 ; expire
86400 ; ttk
)
@ IN NS serkan.aksu.com.
@ IN NS serkan.aksu.com.
10 IN PTR serkan.aksu.com.
1 IN PTR server1.aksu.com.
5 IN PTR lab.aksu.com.