Here's how I'm currently setting up my zones in bind:
[user@host ~]$ cat /etc/bind/named.conf.local
zone "test.com" {
type master;
file "/etc/bind/zones/test.com.db";
};
zone "0.168.192-in-addr.arpa" {
type master;
file "/etc/bind/zones/rev.0.168.192.in-addr.arpa";
};
[user@host ~]$ cat /etc/bind/zones/test.com.db
test.com. IN SOA ns1.test.com. admin.example.com. (
2006081401
28800
3600
604800
38400
)
test.com. IN NS ns1.test.com.
www IN A 192.168.0.2
[user@host ~]$ cat /etc/bind/zones/rev.0.168.192.in-addr.arpa
@ IN SOA ns1.test.com. admin.example.com. (
2006081401;
28800;
604800;
604800;
86400
)
IN NS ns1.test.com.
1 IN PTR test.com
I'm wondering though, do I need to create the reverse zone?
I SSH'd into my old VPS, that used WebHost Manager to configure Bind, and saw that no reverse zones were created. Are they required? Can I omit them?