Project

General

Profile

Actions

Feature #215

closed

Default nsswitch.conf should try to use DNS

Added by Albert Lee almost 12 years ago. Updated almost 9 years ago.

Status:
Rejected
Priority:
Low
Assignee:
Category:
Caiman (Installer)
Target version:
-
Start date:
2010-09-16
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:

Description

The default nsswitch.conf only has 'hosts: files' and 'ipnodes: files'. Both the standard DHCP configuration and NWAM use update_nss in /lib/svc/method/net-svc to add 'dns' to nsswitch.conf and comment out the original entries upon obtaining a DHCP lease. After DHCP or NWAM is disabled, the original entries are reverted (however, resolv.conf is nott changed).

This means the administrator has to edit nsswitch.conf or overwrite it with nsswitch.dns when switching to a network/physical:default configuration and has been a source of confusion to users unfamiliar with Solaris networking.

Are there reasons DNS should not be used by default?

Filing it here instead of against Illumos since this is more of a distribution policy issue.


Related issues

Has duplicate illumos gate - Bug #2775: /etc/nsswitch.conf should use file and dnsClosed2012-05-23

Actions
Actions

Also available in: Atom PDF