Block Adobe Activation Servers for CS4 and CS5 via HOSTS file. Caution: Downloading and using any leaked builds or any hacked/cracked version of any software is not only illegal and a crime punishable by law, but also pose great security risks and should be avoided. Location of the HOSTS file. To use the HOSTS file to block a website, assign the IP address of 127.0.0.1 to the domain name of known ad servers and malicious websites. 127.0.0.1 is the IP address of your local computer, if you chose to run a server on it. As an example, let’s say some ad server hosts a banner ad at the URL.
If I want to block a domain e.g. foobar.com using the host file, I understand from another thread that I can't use wildcards to cover all versions of the domain but have to list each version separately.
That being so, what are all the possible versions I would have to list in order to fully block the domain? For example:
http: with/without doubleyou,doubleyou,doubleyou
doubleyou,doubleyou,doubleyou (without http)
https:
ftp
etc
What is the definitive full list? What other types need to be covered? Are some types as listed duplicates (in terms of how the host file interprets them) such as http: with doubleyou,doubleyou,doubleyou ..... and doubleyou,doubleyou,doubleyou......
(Sorry about the doubleyou,doubleyou,doubleyou but if I write them normally, the editor insists they are actual links and disallows them unless I 'wrap them in a code block' whatever that is).
3 Answers
I Assume with hosts file you're talking about /etc/hosts or it's os specific equivalent, if not, my answer won't be of any value.
First, you're lucky, as it doesn't care (or, correctly, know) anything about protocols.the hosts file is only about hostnames (or domains).
Second, you're bad luck. There is no way to retrieve all existing hosts under a specific domain. In fact, the names could be even dynamic, and don't need to exist befor beeing queried.
To block anything behind example.com., you have two options:
![Hosts Hosts](https://helpx.adobe.com/content/dam/help/en/x-productkb/policy-pricing/activation-network-issues_1/_jcr_content/main-pars/accordion_container/accordion-par/accordion_item_157905290/accordion-item-par/procedure/proc_par/step_1083526895/step_par/image/reset-hosts-file-windows.png)
Run your own local DNS server, with a record for *.foobar.com., andrecursing everthing else to the real dns.
Sniff on dns traffic, grep every request for foobar.com., anddynamically add all labels found that way to your hosts file. Thiswill only take effect after some time, so it's not bulletproof, andwill be damn hard to do correct.
2.) is bullshit.
1.) is the way do it. It's the way everyone in the need uses.
Running your own DNS isn't rocket science, and there are lots of friendly resources on the net. Try googling for 'bind howto'.
But, take a minute and reconsider your goals.
If you want to forbid some program to phone home, a moderate amount of traffic sniffing will probably reveal any hostnames it uses, and you can put them into your hosts file manually.
On the other hand, if you want prevent users (humans) watching youporn, don't bother, they are probably smarter than you, and will circumvent your actions faster than you can deploy them.
![Block Adobe Hosts Block Adobe Hosts](https://scaddistrict.com/wp-content/uploads/2017/10/83A6983.jpg)
You answered yourself. You cannot use wildcards according to hosts file specifications.
You might want to try a different and more complex approach if you really need to block a domain in its entirety. E.g. you might want to run your own DNS applying filtering properly.
The cheapest is to use a Raspberry Pi hardware to install a DNS service (be sure to run DHCP on Raspy or set your home router accordingly, or use static IPs).
Might be a old question but clearly still was never answered.
Simple:
127.0.0.1 x.y.z //direct lookup to localhost address
That will block any domain named. Its cheap and dirty but it works as you are telling your computer that this domain is located at your 'local IP' thus it never does anything but timeout.
I use this method to kill seriously sketchy popup websites that most adblock software wont even stop.
Not the answer you're looking for? Browse other questions tagged blocking or ask your own question.
- Well our article regarding Adobe CS5 Serial is already on top and helped over 10,000 users till now and still counting. But yesterday one of my friend told me about hosts file issue, when he got some problem while editing hosts file which is necessary to do for using Adobe CS5 for free. So i thought to start a new article about that and lets explain each and everything about hosts file editing…
- If you use the serial without hosts file, It will not work permanent and gives you error again and again… Remember Serials may be different but hosts file editing is same required for one time only so make it now and use all adobe cs5 products for free…
- First of all make sure you installed your Adobe’s product perfectly with its working serial number. Check latest comments on our post: Adobe CS5 Serial for Adobe Photoshop.
- Adobe CS5 Hosts File Editing
- This hosts file editing method is for WINDOWS 7 only, XP and other windows has different path for hosts file.
- Under windows 7 go to this path “C:WindowsSystem32driversetc” there you can see some files. We just need to work with hosts file. First we will copy this file and paste to somewhere else as a backup so if anything goes wrong we can replace that with our edited one.
- Step 2:
- Now click on your start button search for Notepad, right-click and select Run as Administrator. This should launch notepad with all possible privileges. Now open the hosts file from the directory path: “C:WindowsSystem32driversetc” if no file displayed, you have to display All Files by typing (*) in the box. It will show you all files of this directory. Now you can open hosts file from there.
- (remember the above path wont show any file if you try it without star number: (*) You have to use it to see the All Files)
- Step 3:
- Now the file is front of you check the last line which is “# ::1 localhost” and paste the below lines right after it.
- 127.0.0.1 hl2rcv.adobe.com
- 127.0.0.1 activate.adobe.com
- 127.0.0.1 ereg.adobe.com
- 127.0.0.1 ereg.wip3.adobe.com
- 127.0.0.1 activate-sea.adobe.com
- 127.0.0.1 activate-sjc0.adobe.com
- 127.0.0.1 3dns-1.adobe.com
- 127.0.0.1 3dns-3.adobe.com
- 127.0.0.1 adobe-dns.adobe.com
- 127.0.0.1 adobe-dns-2.adobe.com
- 127.0.0.1 adobe-dns-4.adobe.com
- 127.0.0.1 hh-software.com
- 127.0.0.1 activate.adobe.de
- 127.0.0.1 ereg.adobe.de
- 127.0.0.1 wip3.adobe.de
- 127.0.0.1 3dns-2.adobe.de
- 127.0.0.1 adobe-dns-2.adobe.de
- 127.0.0.1 ereg.wip3.adobe.de
- 127.0.0.1 wwis-dubc1-vip60.adobe.de
- 127.0.0.1 wwis-dubc1-vip60.adobe.de
- 127.0.0.1 nero.com
- 127.0.0.1 activate.nero.com
- 127.0.0.1 nero.de
- 127.0.0.1 activate.nero.de
- 127.0.0.1 validation.sls.microsoft.com
- Step 4: Now save the file and close the notepad. Congratulations you have finished it. Check out the http://justpaste.it/Adobe-Activation to look at hosts file sample. You can match your hosts file entries from there.
- OK friends I hope it will help you to edit the hosts file. Enjoy you Adobe CS5 Products for free… If you have any problem just feel free to talk about in our comments area. Have a great time…