[openbeosnetteam] Re: r18408 moved to network

  • From: Oliver Tappe <openbeos@xxxxxxxxxxxxxxx>
  • To: openbeosnetteam@xxxxxxxxxxxxx
  • Date: Sat, 12 Aug 2006 20:06:14 +0200

On 2006-08-11 at 01:07:16 [+0200], Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> 
wrote:
> Oliver Tappe <openbeos@xxxxxxxxxxxxxxx> wrote:
> > > I had thought you'd need TCP for DNS, but then, I dunno if it's
> > > really
> > > required.
> > Yes, I suppose you need TCP for a full DNS implementation but most
> > queries
> > are handled via UDP AFAIK. Furthermore, I'd like to look into the
> > required
> > infrastructure, a.k.a. the resolver (cache, access to .../etc/hosts
> > if we
> > want to support that)? Or is that already in place (haven't checked
> > at all)?
> 
> Well, we have BIND as part of our libnetwork.so, in the dns/ subfolder.
> I think Waldemar originally ported it.
> 
> > > But IIRC someone wrote a DHCP client for us, and we might want to
> > > have
> > > a look at it before porting something. I just have no idea where it
> > > is
> > > in the repository, though.
> > > Does anybody know this?
> > I'll check out David's stuff during the next days.
> 
> >From what I can tell, it looks pretty basic, but also not wrong :-)
> Have you thought about how DHCP should be done yet? To support it
> correctly, I think it has to be a kernel service. But since it's also
> AF_INET specific, I'm not sure how to integrate it best.

I can't yet see why it would have to be a kernel service. What reason are you 
thinking of? I thought we could just make the dhcpclient part of the userland 
net_server that deals with the networking configuration (and which could 
contain the dnscache, too).

cheers,
        Oliver

Other related posts: