Iam using a Ubuntu 17.10 VM in GCP. To prevent my server's IP from being spoofed, I did the below changes in my /etc/host.conf file:
Changed from:
# The "order" line is only used by old versions of the C library.
order hosts,bind
multi on
To
# The "order" line is only used by old versions of the C library.
order bind,hosts
nospoof on
But this gave the below error:
/etc/host.conf: line 2: bad command `order bind,hosts'
/etc/host.conf: line 3: bad command `nospoof on'
What is going wrong?