Article View: aus.computers.sun
Article #388Re: nslookup
From: Kralizec Craig
Date: Sat, 21 Jul 2007 01:50
Date: Sat, 21 Jul 2007 01:50
65 lines
3747 bytes
3747 bytes
"Basil Holloway" <farl7FAKE@bigpond.com> writes: >On Solaris 9 cannot get >#nslookup www.sun.com cannot find server >#ping www.sun.com no answer >to work . >However using Netscape I can navigate to any page and it seems to work okay. >Setting up email I can receive email but cannot send. Get a message SNMP >authentication failure. Mail settings have been double checked and seem >okay. Is the web browser set to use a proxy server or to go direct to the internet to fetch pages? Usually Netscape/Firefox won't automatically pick up system settings for proxies unless it's told to look for a proxy.pac file, but as far as actually resolving domain names, I don't know if the web browser does that itself or hands it off to a sub-application. I tend to try things like 'traceroute 11.12.13.14' which bypasses nameserver lookups to try and deduce what's going on routing-wise. >I installed Solaris9 on this box in 2004 and am trying to get the network >settings installed, which were not installed on the original installation of >Solaris9. Did not feel confortable using sys-unconfig. That's certainly one way to do it, but it unconfigures everything, which might not be what you want to happen. 8-) >/eyc/hosts 127.0.0.1 localhost ( should loopback be inserted >after 127.0.0.1 ) I've never fiddled with any of the 127.0.0.1 entries in the /etc/inet/hosts file (symlinked to /etc/hosts) and always leave them alone. >192.168.0.106 ultra2 loghost >/etc/defaultrouter 192.168.0.1 If that is the IP allocated to whatever piece of hardware is your network gateway or router (in my case it's a Cisco 2611), that would be ok as it'll cause a 'default' route to be set up when SunOS 5.9 boots up. You can check that it's been done using the 'netstat' command - 'netstat -rn' to display routing info without DNS resolving, or 'netstat -r' to show hostnames for IP's that the system knows about. >/etc/hostname.home0 ultra2 That would need to be 'hostname.hme0' if the machine has one of the 'hme' 10/100 mbps ethernet engines. The earlier systems used 'leo' 10 mbps engines so on those machines (everything before the Ultra-1 'Enterprise' systems in the Sparc line), the hostname file is called 'hostname.leo0'. >Network Domain: (Couldn't Ascertain) Unless the machine is directly routed out to the Internet you shouldn't need to set a domain name. If you did, you'd have a 'domain xxxx' entry in the /etc/resolv.conf file. Regards, Craig. -- SUN RIPENED KERNELS - Surplus Sun Microsystems Equipment, Parts + Accessories Location: Sydney, Australia - Web: http://www.sunrk.com.au - Get back on track at the SunShack - Web: http://www.sunshack.org - Cobalt Users mailing list Web: http://lios.apana.org.au/mailman/listinfo/cobalt_users
Technical Details
Message-ID:
<f7room$8pd$1@yoda.apana.org.au>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!fu-berlin.de!news.wa.apana.org.au!news.yoda.apana.org.au!cdReferences:
<kGzmi.7387$4A1.4067@news-server.bigpond.net.au>Show Full Headers
Complete Article Headers
X-Google-Thread: 10d053,c510a5244c3ae904 X-Google-Thread: 1070f0,5de9c4abc3f810fb,start X-Google-Attributes: gid10d053,gid1070f0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Kralizec Craig <cd@lios.apana.org.au> Newsgroups: aus.computers.sun,comp.unix.solarism,comp.sys.sun.admin Subject: Re: nslookup Date: Sat, 21 Jul 2007 01:50:14 +0000 (UTC) Organization: Core Matrix Foundation inc. ORBnet Lines: 65 Message-ID: <f7room$8pd$1@yoda.apana.org.au> References: <kGzmi.7387$4A1.4067@news-server.bigpond.net.au> NNTP-Posting-Host: lios.apana.org.au X-Trace: yoda.apana.org.au 1184982614 9005 203.14.152.52 (21 Jul 2007 01:50:14 GMT) X-Complaints-To: postmaster@yoda.apana.org.au NNTP-Posting-Date: Sat, 21 Jul 2007 01:50:14 +0000 (UTC) User-Agent: nn/6.6.5 Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!fu-berlin.de!news.wa.apana.org.au!news.yoda.apana.org.au!cd