[indiana-discuss] DNS problem in 2008.05 RC2
James Legg
mail at jameslegg.co.uk
Mon May 5 05:08:01 PDT 2008
The hosts line should be:
hosts dns
I had this same issue this morning, with RC2a I don't see why nwam
does not always seem to adjust this. Manually editing will provide a
temp fix.
Cheers
James
On 1 May 2008, at 20:46, Vitaly Davidenko wrote:
> 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
> 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...
>
> Thanks,
> Vitaly
>
>
>
> On 01.05.2008, at 23:18, Steffen Weiberle wrote:
>
>> Glenn Lagasse wrote:
>>> * Vitaly (java at skypoint.ru) wrote:
>>>> Hello!
>>>> I have noticed a problem with DNS in OpenSolaris 2008.05 in WMWare
>>>> Fusion virtual machine.
>>>>
>>>> Network works
>>>>
>>>> $ ifconfig -a lo0:
>>>> flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu
>>>> 8232
>>>> index 1 inet 127.0.0.1 netmask ff000000 pcn0:
>>>> flags=201004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4,CoS> mtu
>>>> 1500
>>>> index 2 inet 192.168.212.128 netmask ffffff00 broadcast
>>>> 192.168.212.255 lo0:
>>>> flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu
>>>> 8252
>>>> index 1 inet6 ::1/128
>>>>
>>>> nslookup works: $ nslookup opensolaris.org Server: 192.168.212.2
>>>> Address: 192.168.212.2#53
>>>>
>>>> Non-authoritative answer: Name: opensolaris.org Address:
>>>> 72.5.123.5
>>>>
>>>>
>>>> But other programs cannot resolve hostnames, for example, wget
>>>> says:
>>>>
>>>> $ wget opensolaris.org --13:13:26-- http://opensolaris.org/ =>
>>>> `index.html' Resolving opensolaris.org... failed: node name or
>>>> service
>>>> name not known.
>>>>
>>>>
>>>> The problem occurs both on live CD and on the installed system.
>>> I've seen an intermittant issue such as this though under different
>>> circumstances. Try restarting the name-service-cache service:
>>> pfexec svcadm restart name-service-cache
>>> And see if that gets things going for you.
>>
>> I have as well, and it is probably no dns in /etc/nsswitch.conf.
>>
>> I have not seen this with RC3.
>>
>>> cheers,
>>> Glenn
>>> _______________________________________________
>>> 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