Find the answer to your Linux question:
Results 1 to 2 of 2
hi everybody i need to block yahoo web chat. i had googled a lot n come to know that i need to block dnslookups for these urls httpcs.msg.yahoo.com and webcs.msg.yahoo.com ...
  1. #1
    Just Joined!
    Join Date
    Oct 2009
    Posts
    2

    want to block yahoo web chat through dansgurarian(squid)

    hi everybody
    i need to block yahoo web chat. i had googled a lot n come to know that i need to block dnslookups for these urls httpcs.msg.yahoo.com and webcs.msg.yahoo.com and these should return 127.0.0.1. i havent have DNS configured so tried by making an entry in etc hosts file
    but unforunately it didnt worked. if anybody can help
    then i will genuinely give u a yellow rose.
    thanks in advance
    reagrds

  2. #2
    Linux Engineer nujinini's Avatar
    Join Date
    Apr 2009
    Posts
    1,229
    Hi and welcome!

    The only way I know is to:
    su -
    Password

    nano /etc/hosts

    0.0.0.0 www.yahoo.com<---- ADD THESE

    Cntrl x
    y
    exit
    However, this method would totally block yahoo in your system.

    I'm very sure the gurus can give you a better method. Meanwhile, you might want to try this out.

    Enjoy the hunt!

    EDIT: Man, I tried it my system and was surprised it still allows me to go in yahoomail.com inspite of the block of yahoo.com. I'm afraid my response is not very accurate Sorry
    Last edited by nujinini; 06-01-2010 at 08:29 AM.
    nujinini
    Linux User #489667

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...