Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to clear DNS in Linux
#1
i would like to know how do i clear DNS cache similar to Windows command prompt ipconfig /flushdns?

#2
yes that would be correct

#3
i am using Linux Lite, i would like to know how do i clear DNS cache in terminal?

#4
Code:
sudo /etc/init.d/nscd restart

subject change from

Clearing DNS cache
to
how to clear DNS in Linux

#5
hello it gives me error

.png   Screenshot_2017-02-04_16-48-38.png (Size: 15.95 KB / Downloads: 54)

#6
Code:
sudo service dns-clean restart

#7
it gives me another error

.png   Screenshot_2017-02-05_13-48-59.png (Size: 20.27 KB / Downloads: 39)

#8
Code:
sudo /etc/init.d/dns-clean start

#9
1. Open the terminal 
2. Enter this in terminal:
sudo /etc/init.d/networking restart
3. Press Enter
4. Now enter the admin password and Press Enter
5. You should see Restarting Networking

#10
thank you it works
do i need to restart my computer?

.png   Screenshot_2017-02-06_14-40-09.png (Size: 17.76 KB / Downloads: 19)



Forum Jump:


Users browsing this thread:
1 Guest(s)

Powered By MyBB, © 2002-2024 Melroy van den Berg.