[indiana-discuss] DNS problem in 2008.05 RC2
Dave Miner
dminer at opensolaris.org
Thu May 1 15:47:26 PDT 2008
Vitaly Davidenko wrote:
> Thanks, Steffen
> DNS works, it happens immediately after modification of the file /etc/
> nsswitch.conf
> It is magically that not need to restart any system service after
> modification of /etc file.
>
You should not need to modify /etc/nsswitch.conf by hand if your DHCP
server supplied DNS parameters and NWAM is operating correctly.
However, many of us periodically see NWAM fail to properly update
nsswitch.conf, there are several bugs already filed in bugzilla about
this. I continue to hope that someone from the NWAM team will pick it
up and investigate...
Dave
> Thanks,
> Vitaly
>
>
>
> On 02.05.2008, at 0:46, Steffen Weiberle wrote:
>
>> Vitaly wrote:
>>> [i]
>>> Oops... Registration on this site does not allow to post email
>>> messages to indiana-discuss mail list without subscription, i have
>>> subscribed yet, but my previous replies still blocked.
>>> [/i]
>>> The problem has not resolved after restarting of name-service-cache.
>>> Here is /etc/nsswitch.conf from my system:
>>> # CDDL HEADER START
>>> #
>>> # The contents of this file are subject to the terms of the
>>> # Common Development and Distribution License (the "License").
>>> # You may not use this file except in compliance with the License.
>>> #
>>> # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
>>> # or http://www.opensolaris.org/os/licensing.
>>> # See the License for the specific language governing permissions
>>> # and limitations under the License.
>>> #
>>> # When distributing Covered Code, include this CDDL HEADER in each
>>> # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
>>> # If applicable, add the following below this CDDL HEADER, with the
>>> # fields enclosed by brackets "[]" replaced with your own identifying
>>> # information: Portions Copyright [yyyy] [name of copyright owner]
>>> #
>>> # CDDL HEADER END
>>> #
>>> # Copyright 2006 Sun Microsystems, Inc. All rights reserved.
>>> # Use is subject to license terms.
>>> #
>>> # ident "@(#)nsswitch.files 1.16 06/03/24 SMI"
>>> #
>>> # /etc/nsswitch.files:
>>> #
>>> # An example file that could be copied over to /etc/nsswitch.conf; it
>>> # does not use any naming service.
>>> #
>>> # "hosts:" and "services:" in this file are used only if the
>>> # /etc/netconfig file has a "-" for nametoaddr_libs of "inet"
>>> transports.
>>> passwd: files
>>> group: files
>>> hosts: files
>> add dns temporarily to get DNS to be used as well
>>
>> hosts: files dns
>>
>>> ipnodes: files
>>> networks: files
>>> protocols: files
>>> rpc: files
>>> ethers: files
>>> netmasks: files
>>> bootparams: files
>>> publickey: files
>>> # At present there isn't a 'files' backend for netgroup; the
>>> system will
>>> # figure it out pretty quickly, and won't use netgroups at all.
>>> netgroup: files
>>> automount: files
>>> aliases: files
>>> services: files
>>> printers: user files
>>> auth_attr: files
>>> prof_attr: files
>>> project: files
>>> tnrhtp: files
>>> tnrhdb: files
>>> May be this information is helpful...
>>> P.S. Excuse me for newbie question, how to watch system log
>>> messages? I found syslog file in /var/log, but it contains only
>>> messages from Sendmail:
>>> vitaly at opensolaris:~# ls /var/log/
>>> authlog gdm pool postrun.log sysidconfig.log syslog Xorg.
>>> 0.log Xorg.0.log.old
>>> vitaly at opensolaris:~# cat /var/log/syslog
>>> May 1 12:22:46 opensolaris sendmail[927]: [ID 702911 mail.warning]
>>> gethostbyaddr(192.168.212.128) failed: 1
>>> May 1 12:22:46 opensolaris sendmail[927]: [ID 702911 mail.notice]
>>> alias database /etc/mail/aliases rebuilt by root
>>> May 1 12:22:46 opensolaris sendmail[927]: [ID 702911 mail.info] /
>>> etc/mail/aliases: 12 aliases, longest 10 bytes, 138 bytes total
>>> May 1 12:22:46 opensolaris sendmail[934]: [ID 702911 mail.warning]
>>> gethostbyaddr(192.168.212.128) failed: 1
>>> May 1 12:22:46 opensolaris sendmail[940]: [ID 702911 mail.info]
>>> starting daemon (8.14.2+Sun): SMTP+queueing at 00:15:00
>>> May 1 12:22:47 opensolaris sendmail[948]: [ID 702911 mail.info]
>>> starting daemon (8.14.2+Sun): queueing at 00:15:00
>>> Thanks,
>>> Vitaly
>>> --
>>> This message posted from opensolaris.org
>>> _______________________________________________
>>> indiana-discuss mailing list
>>> indiana-discuss at opensolaris.org
>>> http://mail.opensolaris.org/mailman/listinfo/indiana-discuss
>
> _______________________________________________
> indiana-discuss mailing list
> indiana-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/indiana-discuss
More information about the indiana-discuss
mailing list