Tiny Core Linux
Tiny Core Base => CorePlus => Topic started by: cedm5cd on February 15, 2026, 02:54:27 PM
-
This post exception is modern usage of outlook.com, chatgpt.com and reddit.com websites in Tinycorelinux CorePlus version 16.2?
-
i forget to mension i want also to just allow mdoern usage of kmeleonbrowser.org and https://msfn.org/
-
i forgot to mention i just also want to allow modern usage of tinycorelinux.net
-
Did I do something to not be helped?
-
The reason why i used more than one reply is because i didn’t know that i could edit replies and how to do it, now that i know the answer to both question i wont’t reply more than once on posts
-
Hi cedm5cd. It sounds like you want a domain whitelist, which may be a bit tricky to implement (a blacklist would be simpler).
A naive solution is to put the domain names and ip addresses of the sites you want into /etc/hosts, so that it looks like this (add the other domains you want, one per line--there are many ways to get the ip address, simplest way is "nslookup blahblahblah.org"):
127.0.0.1 box localhost localhost.local
kmeleonbrowser.org 216.105.38.10
tinycorelinux.net 128.127.66.77
msfn.org 151.106.17.234
Then disable DNS by changing /etc/resolv.conf to this:
nameserver 0.0.0.0
You probably want to make /etc/resolv.conf immutable (to prevent network managers etc. from adding a dns server to it):
sudo chattr +i /etc/resolv.conf
You'd also need some mechanism to periodically update /etc/hosts, because the ip address associated with each domain may change.
Other users may have a better solution, but I think the above would work.
-
Hi cedm5cd
Did I do something to not be helped?
No.
Sometimes it takes a while for someone with an answer to respond.
Sometimes no knows the answer to someones question.