I am setting up two DNS servers on AWS, one is called ns1 and the other ns2. They will provide DNS records for my domain (example.com).
I have setup bind to handle forward lookups but I read that reverse lookups can be a security issue. However, mail servers might reject me.
So if ns1 had a public IP of 8.8.4.4 couldn't I use 4.4.8.8.in-addr.arpa as the reverse DNS instead of 4.8.8.in-addr-arpa?
That would prevent anyone from pretending to be part of the 8.8.4.0/24 subnet.
zone "example.com" {
type master;
file "/etc/bind/forward.example.com";
};
zone "4.4.8.8.in-addr.arpa" {
type master;
file "/etc/bind/reverse.example.com";
};