[haiku-bugs] [Haiku] #5636: Move resolv.conf updating from DHCP Client to net_server

  • From: "vegardw" <trac@xxxxxxxxxxxx>
  • Date: Fri, 26 Mar 2010 15:44:38 -0000

#5636: Move resolv.conf updating from DHCP Client to net_server
--------------------------------+-------------------------------------------
 Reporter:  vegardw             |       Owner:  axeld         
     Type:  enhancement         |      Status:  new           
 Priority:  normal              |   Milestone:  R1            
Component:  Servers/net_server  |     Version:  R1/Development
 Keywords:  resolv.conf DHCP    |   Blockedby:                
 Platform:  All                 |    Blocking:                
--------------------------------+-------------------------------------------
 I'm currently working on a patch that will move the updating of
 resolv.conf from the DHCP client to the net_server.

 The way I've invisioned it is to define a separate kMsgConfigureResolver
 message that is sent to the net_server from the DHCP client. The rationale
 for creating a new message and not adding the info to the existing
 kMsgConfigureInterface message is that the resolver settings is system
 wide, not really Interface-specific.

 This could also be used by when the network preflet need to update
 resolv.conf instead of the preflet writing the file by itself as it does
 now.

 Does this seem like a good way to handle the resolv.conf updating?

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/5636>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: