Linux HAM/Amateur Radio development
 help / color / mirror / Atom feed
* ax25ipd issue
@ 2005-06-11 13:38 Chuck Hast
  2005-06-11 15:41 ` John Hurst
  2005-06-11 19:43 ` Tomi Manninen
  0 siblings, 2 replies; 20+ messages in thread
From: Chuck Hast @ 2005-06-11 13:38 UTC (permalink / raw)
  To: Linux-Hams

Folks,
I am using ax25ipd to route some connections over the wire to other sites
while we get the RF paths back up and running. The issue I am having is
that some of these sites do not have fixed addresses, and the lease exp-
ires every 12 hours or so. If I use the domain name address it will pick up
the numerical address when ax25ipd is first started but once started it
appears to cash the address it got and continue to use it rather than try
to resolve the domain name each time it needs to make a connection.

In my particular case I am trying to make connetions to people using
the no-ip.com domain, but I tried it with another and the same thing
happens. It resolves the first time and continues to use that address
even after the dhcp assignment has changed which indicates to me
that it is only doing address resolution when ax25ipd is starting.

-- 
Chuck Hast 
To paraphrase my flight instructor;
"the only dumb question is the one you DID NOT ask resulting in my going
out and having to identify your bits and pieces in the midst of torn
and twisted metal."

^ permalink raw reply	[flat|nested] 20+ messages in thread
* Re: ax25ipd issue
@ 2005-06-11 20:18 dplatt
  0 siblings, 0 replies; 20+ messages in thread
From: dplatt @ 2005-06-11 20:18 UTC (permalink / raw)
  To: linux-hams

> 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.

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2005-06-23 16:13 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-11 13:38 ax25ipd issue Chuck Hast
2005-06-11 15:41 ` John Hurst
2005-06-12 19:05   ` Bernard Pidoux
2005-06-12 21:37     ` Chuck Hast
2005-06-13  9:50       ` [fpac] " Bernard Pidoux
2005-06-13 11:19         ` Chuck Hast
2005-06-11 19:43 ` Tomi Manninen
2005-06-11 19:54   ` Jeremy Utley
2005-06-11 20:09     ` Tomi Manninen
2005-06-11 20:19       ` John Hurst
2005-06-11 20:32         ` David D. Hagood
2005-06-11 20:51           ` Chuck Hast
2005-06-11 20:45         ` Chuck Hast
2005-06-23 11:51           ` Steve Fraser
2005-06-23 12:15             ` Chuck Hast
2005-06-23 16:13             ` Bernard Pidoux
2005-06-11 23:03       ` Steve Fraser
2005-06-12  4:50       ` Jeremy Utley
2005-06-12 14:24         ` Tomi Manninen
  -- strict thread matches above, loose matches on Subject: below --
2005-06-11 20:18 dplatt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox