Soluții

How many Tabs does it take to slow down your Browser

There’s no denying that browser tabs are a divisive topic. Share a screenshot of your desktop with more than 10 tabs open, and you’ll undoubtedly get comments about it. But do all of those tabs actually do any harm to your browser’s performance?

It feels like sound logic to assume that the more tabs that are open in your browser, the harder it has to work. Therefore, performance should be negatively affected if you constantly have dozens of tabs eating up resources. That’s not necessarily the case, though. Modern browsers have some cool tricks up their sleeves.

[mai mult...]

Tutorial: creating a UFW Rule for DNS access from a specific IP

UFW (Uncomplicated Firewall) is a straightforward tool for managing firewall rules on Linux systems. If you want to allow DNS access only from a specific IP, you can do so by configuring a specific rule in UFW. Here’s how:

Step 1: Install UFW (if not already installed)

If you don’t already have UFW installed, you can do so using the following command in the terminal:

sudo apt install ufw

Step 2: Enable UFW

If UFW is not already enabled, you can do so using the command:

sudo ufw enable

Step 3: Adding a Rule for DNS Access

To allow DNS access only from a specific IP (let’s assume the IP address is 192.168.1.100), use the command:

sudo ufw allow from 192.168.1.100 to any port 53

This command allows traffic from the specified IP address to any destination on port 53, which is the standard port used for the DNS service.

Step 4: Checking the Added Rule

You can check the added rule using the command:

sudo ufw status

This will show you a list of all active UFW rules.

Step 5: Testing DNS Access

Finally, you can test whether the rule is working as intended. You can use a command such as nslookup or dig to test DNS access to an external DNS server from the specified IP address.

Make sure to replace the IP address specified in the command sudo ufw allow from 192.168.1.100 to any port 53 with the IP address you want to allow DNS access from. Also, verify and adjust any other settings or ports as per your specific needs.

[mai mult...]