I have a VPS (CentOS 7) with 2 IP addresses.
I am hosting my own DNS server using Bind. Running Apache. Amongst others I have "A" records for
ns1.example.com -> X.X.X.X
ns2.example.com -> Y.Y.Y.Y
mail.example.com -> X.X.X.X
server.example.com -> X.X.X.X (Fully Qualified Hostname)
If I type mail.example.com in my browser, it shows the website located at example.com.
How do I make mail.example.com inaccessible from a browser without affecting the DNS setup ?
Similarly how do I block access to ns1.example.com, ns2.example.com and server.example.com ?