Page MenuHomeVyOS Platform

`reset dns forwarding all` can't clear all dns cache
Closed, InvalidPublic

Description

reset dns forwarding all can't clean all dns cache.
Must need run sudo systemctl restart pdns-recursor to fix this issue.

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Unspecified (please specify)

Event Timeline

@dongjunbo What do you mean?
Could you send a real example? I don't see any issues (VyOS 1.3-stable-202207280515).

vyos@r1:~$ show dns forwarding statistics 

DNS forwarding statistics:

Cache entries: 74
Cache size: 21.12 kbytes

vyos@r1:~$ 
vyos@r1:~$ reset dns forwarding all
wiped 74 records, 4 negative records, 0 packets
vyos@r1:~$ 
vyos@r1:~$ show dns forwarding statistics 

DNS forwarding statistics:

Cache entries: 0
Cache size: 0.00 kbytes

vyos@r1:~$ 
vyos@r1:~$

We didn't get the requested information.
Reopen it if it is required with steps to reproduce and some output.