Is there any way to add a DNS record from my shell so that when i ping
it diverts to the manually entered IP address.
one way is probably to edit the hostnames file but it would require service restart which takes huge time
. Any ideas???
---------- Post added at 05:32 PM CST ---------- Previous post was at 05:20 PM CST ----------
echo > /etc/hosts x.x.x.x DESCRIPTION hostname