I am using a linode running nginx. I wanted to have mail sending capabilities on my VPS, so I change the hostnames and reverse DNS but now I have messed up my DNS somehow and the site doesn't even resolve.
Here is what my DNS manager for the domain looks like
Here is what my Reverse DNS setting looks like (I changed it to
127.0.0.1 localhost 18.104.22.168 mail.bankpo.in # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts
hostname -f gives
hostname: Name or service not known
I have also rebooted it, but it seems like I have done something wrong. Any advice please?