thanks for the reply
tried ping www.youtube.com
and got the first line as
PING youtube.l.google.com (18.104.22.168) 56(84) bytes of data.
Another line after this which was repeating itself
64 bytes from youtube.com (22.214.171.124): icmp_seq=2 ttl=239 time=353 ms
also cleared private data and reopened fiefox and tried accessing but got the same error as i had mentioned in my post .
Is there any chances of a virus attack ?
also tried ping / resolve youtube.com <hostname> but got the error
ping : unknown host / ( i dont know if that was what i was supposed to type)
Still i am not able to access youtube.
i have asked my friend to get his laptop to my place .
Shall keep you guys posted on that .