Menu

New feature for your consideration: Clear IP Cache (Ctrl-C)

2026-02-18
2026-02-21
  • Ronald W. Henderson

    I have implemented a Clear IP Cache feature in the View Menu (Ctrl-C) for your consideration with an attached diff file.

    Reasoning: Recent versions of c-ares ares_gethostbyaddr() do consult /etc/hosts for reverse DNS lookups. If one wants to add aliases in their /etc/hosts file or make name changes, updated name resolving in etherape will not occur until the IP Cache has been expired or pruned. This can take minutes or not occur at all. A restart of etherape will then be required and is not desirable. With this new feature the changes will take effect immediately by clearing the IP Cache (i.e., Ctrl-C), thus causing a name resolution refresh. I have also tested the feature with node dialogs being displayed. All name change updates occurred as expected in the diagram and node dialogs.

    --Ronald Henderson

     
    • R. Ghetta

      R. Ghetta - 2026-02-21

      applied, many thanks

       

Log in to post a comment.

MongoDB Logo MongoDB