options { Hostname
DIRECTORY "/var/named";osts file.
};
acl "nets"{
{192.168.1.0/24;};
#!/sbin/s
};
file "named.ca";
};
zone "one.edu" in {
type master;
file "one.zone";
allow-transfer {"nets";};
};
zone "0.0.127.in-addr.arpa" in {
type master;
file "loopback-domain-info";
};
zone "greatalent.com" in {
type master;
file "db.greatalent.com";
allow-transfer {"nets";};
};
zone "1.168.192.in-addr.arpa" in {
type master;
file "db.192.168.1";
};
/* This is a comment */
// This is a comment
# This is a comment
# cat /var/named/db.greatalent.com$TTL 86400
@ IN SOA greatalent.com. root. greatalent.com. (
5
10800
3600
604800
86400 )
IN NS greatalent.com.
IN MX 5 greatalent.com.
www IN PTR 192.168.1.198
# cat db.192.168.1$TTL 86400
@ IN SOA greatalent.com. root. greatalent.com. (
5
10800
3600
604800
86400 )
@ IN NS greatalent.com.
发表评论