[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbsd-misc
Subject:    Re: dhclient -d run0
From:       Stuart Henderson <stu.lists () spacehopper ! org>
Date:       2022-12-23 8:54:07
Message-ID: slrntqar5f.255n.stu.lists () naiad ! spacehopper ! org
[Download RAW message or body]

On 2022-12-22, Geoff Steckel <gwes@oat.com> wrote:
> Are routes and resolv.conf the only things dhcpleased modifies beyond 
> configuring the interface with the leased IP?

dhcpleased only sets IP/mask and routes, and sends a nameserver proposal
on the route socket, which resolvd picks up if running.

IP/mask/DNS comes from the DHCP negotiation, routes are added based on
routers or classless-static-routes from DHCP, plus a cloning route is added
automatically if needed to reach an out-of-subnet gateway.

There's no setting of ntp server, etc.

The code is really readable and logically laid out if you want to check
anything else about what it does.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic