Project

General

Profile

Feature #2876

sysidcfg name_service setting to enforce fetching DNS config from DHCP

Added by Jim Klimov over 7 years ago. Updated over 3 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
2012-06-14
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

In /etc/sysidcfg templates we can set name_service to be DNS, LDAP, NIS or NONE. Would it be inappropriate to define a new type and set it to "DHCP" (and then fetch name-service info from DHCP)?

Some networking clients might want the changes to their DNS/nsswitch config files from a dynamic wizard, others might not. The policy might even differ per-local zone (see also bug #2875 regarding DHCP-DNS support for local zones). For example, there is "fear" of scripts which might corrupt manually crafted settings for files+dns+ldap host lookups, etc.

So far I have not seen any configurable switch that would request or forbid changes to the /etc/resolv.conf and /etc/nsswitch.conf files using data from DHCP.

As an option, might it make sense to integrate this solution (an SMF service to combine user-preferred and DHCP-dynamic resolver options, which can then be enabled or disabled on a particular zone)?

I've started a thread on the mailing list (also touching on some other related issues), but so far got no answers, here: http://www.mail-archive.com/openindiana-discuss@openindiana.org/msg08029.html

History

#1

Updated by Ken Mays over 6 years ago

  • Assignee set to OI Userland
#2

Updated by Aurélien Larcher over 3 years ago

Is it still applicable to the new system configuration tool or should this be closed ?

Also available in: Atom PDF