Dear All,
Is there any way to add a DNS record from my shell so that when i ping
www.some-domain.com
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???
Best Regards,
---------- Post added at 05:32 PM CST ---------- Previous post was at 05:20 PM CST ----------
Solved
echo > /etc/hosts x.x.x.x DESCRIPTION hostname