9

Please don't flag this question as a duplicate because I really need your help. I once used OpenDNS in my router to block some websites & now I'm stuck with at whatever I do. I have already removed OpenDNS from my router & tried half of the commands suggested in other question but none of them work for me. Most of the websites which deal with a proxy, adult content etc. are all blocked & I'm requesting for a solution.

guntbert
  • 13,134
  • Try this for proxy https://github.com/sshuttle/sshuttle – lordparthurnaax Jan 22 '19 at 16:41
  • 1
    Please don't flag this question as a duplicate - It is a duplicate. The correct answers are https://askubuntu.com/a/909173/446317 and https://askubuntu.com/a/907558/446317 https://askubuntu.com/a/929478/446317 - that's 3 correct answers in two other questions. Duplicate. – Phil Feb 18 '19 at 22:00

2 Answers2

14

This should clear it

# sudo systemd-resolve --flush-cache

You can check with

# sudo systemd-resolve --statistics
  • it should show 0 in Current cache size

    DNSSEC supported by current servers: no
    Transactions
    Current Transactions: 0
    Total Transactions: 93750
    
    Cache
      Current Cache Size: 0
      Cache Hits: 18686
    Cache Misses: 28576
    
    DNSSEC Verdicts
          Secure: 0
        Insecure: 0
           Bogus: 0
    Indeterminate: 0
    
1

Maybe this version also has two (2) DNS caches, like Ubuntu 20.10.

Please check the full tutorial to flush DNS caches:

https://askubuntu.com/a/1315569/136919

PabloRQ
  • 179