Page 1 of 1
Can't flush static DNS entries
Posted: Wed Aug 21, 2013 4:23 am
by orcinus
If you create static DNS entries, then disable them, then flush the DNS cache, the static entries remain cached until the next reboot. There does not seem to be a way to flush them besides rebooting.
I understand this isn't quite a big problem for 99.99% of people, but it's a major pain in the ass for me in my home network, when testing servers (i.e. swapping back and forth between "true" DNS entries and temporarily swapped IP addresses for the test servers).
This is on 6.2, RB2011, by the way.
Re: Can't flush static DNS entries
Posted: Wed Aug 21, 2013 7:13 am
by reverged
5.25 has the same issue.
The previous dns entries remain in cache and you get them returned in order.
Only reboot solves this.
Re: Can't flush static DNS entries
Posted: Mon Sep 02, 2013 10:33 pm
by jarda
On v. 5.25:
I disable static records and they disappear from DNS cache immediatelly. Then I remove them and they are gone forever.
No need for restart...
Re: Can't flush static DNS entries
Posted: Tue Oct 21, 2014 12:39 am
by IGHOR
I have exactly same issue on 6.20 now.
Except rebooting is not helps.
Re: Can't flush static DNS entries
Posted: Wed Oct 22, 2014 3:04 pm
by janisk
do you have any clue what request caused this? Is this crowded dns-cache?
Re: Can't flush static DNS entries
Posted: Tue May 05, 2015 5:56 pm
by blazej44800
Exactly the same problem. Deleted static DNS record is still in cache. ROS 6.27, RB2011.
Re: Can't flush static DNS entries
Posted: Sat Aug 29, 2015 10:31 am
by thc123
It happens only when there are lot of items in DNS cache.
[SOLUTION] You can use this steps until the fix arrives..
Before deleting Static DNS entries:
1. first flush dns cache
2. delete static entries.
If there are leftover entries:
1. first flush dns cache
2. recreate static entries with the same hostname / IP combination.
3. delete the same static entries.
Hope this helps.
Re: Can't flush static DNS entries
Posted: Sat Aug 29, 2015 11:17 am
by blazej44800
I already sent suppout and video, how it happend. It hapens when you rename static entry. Then the previous one trapp in cache.
Re: Can't flush static DNS entries
Posted: Sat Sep 05, 2015 12:15 pm
by blazej44800
Re: Can't flush static DNS entries
Posted: Sun Sep 20, 2015 1:19 pm
by ricreis394
It happens only when there are lot of items in DNS cache.
[SOLUTION] You can use this steps until the fix arrives..
Before deleting Static DNS entries:
1. first flush dns cache
2. delete static entries.
If there are leftover entries:
1. first flush dns cache
2. recreate static entries with the same hostname / IP combination.
3. delete the same static entries.
Hope this helps.
Thanks, it works
Re: Can't flush static DNS entries
Posted: Sun Sep 20, 2015 1:31 pm
by blazej44800
Only if there is a lot of items? I exactly found, the reason when it happend. See my video above.