Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


abena

42 posts

Geek


#11828 14-Feb-2007 05:30
Send private message

Hi, I've trying to block some DNS lookups, but i'm not sure how to do it.... i need someone to explain me pleaseeeee Cry

Create new topic
freitasm
BDFL - Memuneh
68884 posts

Uber Geek

Administrator
Trusted
Geekzone
Lifetime subscriber

#60736 14-Feb-2007 08:49
Send private message

Is this from your PC or a network? And just some IP addresses?

If it's your PC and just some IP addresses, then you can add an entry to the HOSTS file like ths:

127.0.0.1 domain

This will point such domain to localhost...





 

 

These links are referral codes

 

Geekzone broadband switch | Eletcricity comparison and switch | Hatch investment (NZ$ 10 bonus if NZ$100 deposited within 30 days) | Sharesies | Mighty Ape | Backblaze | Coinbase | TheMarket | My technology disclosure


abena

42 posts

Geek


#60751 14-Feb-2007 11:26
Send private message

Well.... let me explain you what i'm triyng to do...  is just for my pc, is not a network... I'm trying to disable the "gmail chat" and to do so, i must block a DNS, but i really dont know how, and about the host files...  Embarassed i don´t know which is it.

Thanks freitasm!


 
 
 
 


freitasm
BDFL - Memuneh
68884 posts

Uber Geek

Administrator
Trusted
Geekzone
Lifetime subscriber

  #60753 14-Feb-2007 11:29
Send private message

Well, this works if you know the IP addresses and the server names. Open notepad and add the line with IP address and server name to \windows\system32\drivers\etc\hosts (replace \windows with the folder where your Windows is installed if not the default).





 

 

These links are referral codes

 

Geekzone broadband switch | Eletcricity comparison and switch | Hatch investment (NZ$ 10 bonus if NZ$100 deposited within 30 days) | Sharesies | Mighty Ape | Backblaze | Coinbase | TheMarket | My technology disclosure


abena

42 posts

Geek


#60757 14-Feb-2007 11:39
Send private message

Ready!, it works....


THANKS! 
Kiss

abena

42 posts

Geek


#61179 19-Feb-2007 08:57
Send private message

Hi!, I'm trying to block the Windows Live Messenger, blocking the DNS lookup on the hosts file, I've be trying this:

# MSN Messenger
127.0.0.1 messenger.hotmail.com
127.0.0.1 get.live.com
127.0.0.1 messenger.msn.com
127.0.0.1 messenger.msn.es
127.0.0.1 www.messenger.hotmail.com
127.0.0.1 www.get.live.com
127.0.0.1 www.messenger.msn.es

And then setting the hosts file as "Read Only" but it doesn`t work, the msn is still working... How do I know which DNS is the right one???

freitasm
BDFL - Memuneh
68884 posts

Uber Geek

Administrator
Trusted
Geekzone
Lifetime subscriber

  #61180 19-Feb-2007 09:14
Send private message

I think those URL should all be left out of the hotsts file. Try blocking this one as a start: gateway.messenger.hotmail.com. If you want you can also try blocking with some software, for example http://www.plevna.f9.co.uk/blockmsnmessenger.htm.








 

 

These links are referral codes

 

Geekzone broadband switch | Eletcricity comparison and switch | Hatch investment (NZ$ 10 bonus if NZ$100 deposited within 30 days) | Sharesies | Mighty Ape | Backblaze | Coinbase | TheMarket | My technology disclosure


abena

42 posts

Geek


#61200 19-Feb-2007 11:46
Send private message

Hi... firstable, thank you so much for your help Mauricio.... Well, i added the one you suggested me, but it didn't work either.... Now, my dude is bigger... is there any way to know which URLs is accessed by an specific program, i mean, how can i know, if there is a way, to know what URL is using my MSN, for example?

Thanks !!
Smile

 
 
 
 


abena

42 posts

Geek


#61227 19-Feb-2007 14:57
Send private message

Ok, I could do it all ready, this is what I did:



On the Hosts file:
127.0.0.1 messenger.msn.com
127.0.0.1 messenger.hotmail.com



Set the file as "Read Only" and reboot.


Laughing It works perfectly, it blocks the use of the msn perfectly, and to unblock it again, just comment (#) the line




juha
1319 posts

Uber Geek

Trusted

  #61241 19-Feb-2007 15:51
Send private message

Hola Abena. The Hosts file is quite a crude mechanism really, but you could try setting a Group Policy instead to prevent the use of certain programs. As Administrator, run "gpedit.msc" without the " quotes. On a single machine, drill down the Administrative Templates tree like so:
GPEDIT
And configure Windows Messenger not to run.

That's Windows Messenger though, and it may not work with MSN or Live Messenger, in case it's installed. For that, go into the User Configuration tree, Administrative Templates, and the System branch. In there, double-click the Don't run specified Windows applications item and list the IM programs you don't want to run.

If you have a Windows network with a Domain Controller and Active Directory, you won't have to specify the above on each machine of course.




abena

42 posts

Geek


#61242 19-Feb-2007 16:11
Send private message

Wow!, that sounds really interesting!, but when i try "gpedit.msc" it says that the system can't find the file, I think this is because i'm using a Home Edition XP Version... Ii don't know if to execute "Regedit" is the same... is it?


juha
1319 posts

Uber Geek

Trusted

  #61243 19-Feb-2007 16:18
Send private message

The Group Policy Editor Microsoft Management Console or gpedit.msc is not the same as the Registry Editor :).

It should be in your %windir%\system32 folder (like c:\windows\system32). Which version of Windows are you using?

But... if you're inexperienced as an administrator, please be careful here. If you make a mistake, you could lock yourself out of your system. Make sure you have back ups of everything.






abena

42 posts

Geek


  #61244 19-Feb-2007 16:23
Send private message

I working on a home edition version, and I just read this: GPEDIT.MSC (Group Policy Editor) isn't available on XP Home Edition, partly because XP Home cannot join a domain by desig....  Frown Is there any alternative??


Gracias Juha..





juha
1319 posts

Uber Geek

Trusted

  #61245 19-Feb-2007 16:36
Send private message

Hmm, XP Home Edition is crippled so it's not easy to replicate the functionality found in XP Pro unfortunately. If upgrading to Pro isn't an option, your fastest and least painful way forward is to use Mauricio's tip. Yes, by hacking the Registry and/or installing the various files required by the Group Policy MMC, you can do what I suggested, but life's too short and it's summer in the southern hemisphere so... Laughing




abena

42 posts

Geek


#61246 19-Feb-2007 16:43
Send private message

Jajaja.... it's ok Juha, now i'm gonna have to upgrate to XP Pro because of you... I want to try the "gpedit.msc"... when i do it, i
definitely let you know.

Hasta Pronto!


juha
1319 posts

Uber Geek

Trusted

  #61247 19-Feb-2007 16:48
Send private message

OK... buena suerte with the upgrade and remember: back up. First. Before you do anything. :)




Create new topic





News »

Huawei launches IdeaHub Pro in New Zealand
Posted 27-Oct-2020 16:41


Southland-based IT specialist providing virtual services worldwide
Posted 27-Oct-2020 15:55


NASA discovers water on sunlit surface of Moon
Posted 27-Oct-2020 08:30


Huawei introduces new features to Petal Search, Maps and Docs
Posted 26-Oct-2020 18:05


Nokia selected by NASA to build first ever cellular network on the Moon
Posted 21-Oct-2020 08:34


Nanoleaf enhances lighting line with launch of Triangles and Mini Triangles
Posted 17-Oct-2020 20:18


Synology unveils DS16211+
Posted 17-Oct-2020 20:12


Ingram Micro introduces FootfallCam to New Zealand channel
Posted 17-Oct-2020 20:06


Dropbox adopts Virtual First working policy
Posted 17-Oct-2020 19:47


OPPO announces Reno4 Series 5G line-up in NZ
Posted 16-Oct-2020 08:52


Microsoft Highway to a Hundred expands to Asia Pacific
Posted 14-Oct-2020 09:34


Spark turns on 5G in Auckland
Posted 14-Oct-2020 09:29


AMD Launches AMD Ryzen 5000 Series Desktop Processors
Posted 9-Oct-2020 10:13


Teletrac Navman launches integrated multi-camera solution for transport and logistics industry
Posted 8-Oct-2020 10:57


Farmside hits 10,000 RBI customers
Posted 7-Oct-2020 15:32









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.