Even after following these steps
i am still redirected to the same site, can any one please help me
Go to System Preferences > Network
There you will see a padlock icon in the lower left corner and the note "Click the lock to make changes".
Click the lock and enter your administrator password, so you can change DNS servers
with your network selected on the left column, click the "Advanced" button
Click the DNS tab to see the listing of your DNS Servers
If any of the DNS servers are greyed out after entering your admin password, refer to this: 10.5: Disable DHCP-specified DNS servers
Click the "-" icon to remove all existing DNS servers
Click the "+" icon to add the following servers.
You may choose either OpenDNS or Google servers (not both sets):
OpenDNS:
Primary DNS Server: 208.67.222.222
Secondary DNS Server: 208.67.220.220
Google:
Primary DNS Server: 8.8.8.8
Secondary DNS Server: 8.8.4.4
When you've completed your changes, click "OK" to close the Advanced settings window
Click "Apply" on the Network window to save your changes
I have changed setting to OPEN dns.