Sunday, April 28, 2024
 Popular · Latest · Hot · Upcoming
26
rated 0 times [  26] [ 0]  / answers: 1 / hits: 27891  / 1 Year ago, mon, may 8, 2023, 6:05:12

I know hot to block single tumblr blog with



127.0.1.1 something.tumblr.com


but I want to block entire tumblr. I tried 127.0.1.1 tumblr.com but it's not working.



Is there a way to do this?


More From » hosts

 Answers
2

From Ubuntu 14.04 LTS (Trusty Tahr) and above, which already have NetworkManager and use dnsmasq by default you don't need to install it.


Just create a file /etc/NetworkManager/dnsmasq.d/local:


address=/tumblr.com/127.0.0.1

and reboot or restart NetworkManager


$ sudo service network-manager restart

This will block tumblr.com and all of its subdomains by redirecting it to localhost (127.0.0.1).


Note this won't do anything unless you also set up your connection to use localhost/dnsmasq for name resolution.




On older than Trusty versions install dnsmasq:


$ sudo apt-get install dnsmasq

Then in /etc/dnsmasq.conf (which you may have to create) add the line:


address=/tumblr.com/127.0.0.1

[#37647] Tuesday, May 9, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
tionverflow

Total Points: 500
Total Questions: 115
Total Answers: 120

Location: Northern Ireland
Member since Mon, Nov 14, 2022
1 Year ago
;