Skip to contentSkip to conversation

ax25ipd issue

DISCUSSION [email protected] 1 participant 1 message Jun 11, 2005

lore
Share & tools
lore
#0 lore raw
Quoted 9 lines

AX25IP works with not TCP, not UDP, but with IP protocol 93. It's a stateless protocol consisting of not much else than wrapping an AX.25 packet to an IP frame. Then there are variants that use UDP to do pretty much the same.

If doing a DNS lookup for each outgoing AX.25 packet is ok for people then so be it. You have the source. Modify it.

I find it braindead. The fix should be something else.

I'm not sure that actually doing a DNS lookup (via the resolver interface) is necessary or desireable.

However, I do think that when the daemon does such a lookup, and caches the resulting IP address, it should also cache the current time and the time-to-live value from the DNS lookup. Once the response's time-to-live expires, it should discard the callsign-to-IP-address mapping and look it up again.

For the daemon to assume that a DNS response has an effectively infinite lifetime is not a good thing.