EternalTerminal icon indicating copy to clipboard operation
EternalTerminal copied to clipboard

DNS Requests Every Second When Remote Host Unreachable

Open AGI-chandler opened this issue 6 months ago • 4 comments

I use et to access various computers at work, which require login to a VPN first.  The VPN disconnects every 24 hours, so et has been really helpful.  Even though the terminal appears frozen, and even if I don't reconnect the VPN for hours on end, et will maintain the link and whenever the VPN connection is reestablished, all data/commands get delivered to the server. That all works perfectly, thanks.

Now lately I have been working with my DNS settings and watching DNS queries and I noticed a huge spike in queries when the VPN disconnects.  I noticed when that happened, there were queries once per second for 2 of 4 hosts I was connected to with et which need the VPN established.  As soon as I suspended (SIGSTOP) the 2 et processes, the DNS queries stopped, and when I resumed the et processes, they picked up again.  When connection to the VPN was reestablished, the queries also stopped.

It appears to be due to the fact these 2 hosts have internal-only IP addresses (i.e. 10.x.y.z), so their records are not exported/propagated to the global directory.  Once a connection to the VPN is established, the DNS queries are routed though it and the proper 10.x.y.z A record is returned.

I ran et with --verbose=9 and the relevant log data is below.  There was only etclient data that had been produced; etclient-stderr didn't have any data, etserver doesn't even exist for today, neither did etserver-stderr.  Below that is the server's et log data.

Really hope you have ideas for a patch or at least a temp workaround because I'm limited in the number of monthly DNS queries.  Let me know if I can help with anything else. Thx

Client etclient log data.txt

Server etterminal log data.txt

AGI-chandler avatar Aug 24 '24 20:08 AGI-chandler