Hot answers tagged dns
In addition to using the correct interface name, and correcting the netmask line, as suggested in comments, your file also lists the address field as 192.168.0.107 instead of 192.168.1.107. You also need to remove these two lines: auto lo enp2s0 iface lo inet loopback And replace them with: auto enp2s0 So your whole /etc/network/interfaces file ...
Change in /etc/network/interfaces auto lo enp2s0 iface lo inet loopback iface enp2s0 inet static address 192.168.1.107 netmask 255.255.255.0 gateway 192.168.1.1 dns-nameservers 126.96.36.199 188.8.131.52
Command for deny whole 184.108.40.206/8 network is sudo ufw deny from 220.127.116.11/8 when you list rules sudo ufw status you will see To Action From -- ------ ---- ... Anywhere DENY 18.104.22.168/8 This will deny any traffic from ip's witch start with 91.x.x.x But I recommend ...
Try to connect/evaluate the connection with the command-line utility nmcli This will give you more output about what is really happening.
The first thing to try in case of a failing network connection that does not lie outside the system is to restart the Network Manager service. On pre-systemd machines (like 14.04) the command is sudo service NetworkManager restart. On systemd machines you would do either systemctl restart NetworkManager or systemctl restart network-manager.
Pick one of the systems, set up dnsmasq (see man dnsmasq), Edit /etc/hosts on that system, restart dnsmasq, tell the others to resolve DNS through the picked system.
Only top voted, non community-wiki answers of a minimum length are eligible