Re: network not respecting my hosts file [SOLVED]

2021-07-04 Thread Robbi Nespu
On 7/4/21 1:12 PM, David Wright wrote: On Sun 04 Jul 2021 at 13:07:08 (+0800), Robbi Nespu wrote: On 7/4/21 1:02 PM, David Wright wrote: If you can give correction directly via chmod also good for me :) $ ls -l /etc/hosts -rw-r--r-- 1 root root 420524 Feb 6 16:19 /etc/hosts that mean sudo

Re: network not respecting my hosts file

2021-07-03 Thread David Wright
On Sun 04 Jul 2021 at 13:07:08 (+0800), Robbi Nespu wrote: > On 7/4/21 1:02 PM, David Wright wrote: > > > > -rw--- 1 root root 2480447 Jul 4 11:01 hosts > > > > Nobody can read it except root. > > > > This could be the cause, I don't have another system to compare. What > is default

Re: network not respecting my hosts file

2021-07-03 Thread Robbi Nespu
On 7/4/21 12:35 PM, Lee wrote: Maybe your /etc/nsswitch.conf? $ grep hosts /etc/nsswitch.conf # hosts: files mdns4_minimal [NOTFOUND=return] dns hosts: files dns This is mine $ grep hosts /etc/nsswitch.conf hosts: files mdns4_minimal [NOTFOUND=return] dns --

Re: network not respecting my hosts file

2021-07-03 Thread Robbi Nespu
On 7/4/21 1:02 PM, David Wright wrote: -rw--- 1 root root 2480447 Jul 4 11:01 hosts Nobody can read it except root. This could be the cause, I don't have another system to compare. What is default permission for host file? If you can give correction directly via chmod also good

Re: network not respecting my hosts file

2021-07-03 Thread David Wright
On Sun 04 Jul 2021 at 11:51:37 (+0800), Robbi Nespu wrote: > I am using StevenBlack host file > (https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) to > block ads / malware / ect via host file. > > But somehow the system does't respecting my hosts file anymore.. that weird > >

Re: network not respecting my hosts file

2021-07-03 Thread Lee
On 7/3/21, Robbi Nespu wrote: > I am using StevenBlack host file > (https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) to > block ads / malware / ect via host file. > > But somehow the system does't respecting my hosts file anymore.. that weird > >> $ sudo cat /etc/hosts | grep