X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org X-YMail-OSG: 5osuaF0VM1nlydzTKDatWBTTY0HssBehBdPzSKpVr7ihCgYN6GZ3.aiUJ_siNWzOSaD56QXaXwhUcX77sttzPgZMCsnXyTCgoE6CkYwLehjmoWJ6P7foMqzH1wMJ7w-- Date: Thu, 13 Sep 2007 21:05:06 -0700 (PDT) From: Brad Subject: Establishing Unix network control under cygwin? To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <234909.49983.qm@web52802.mail.re2.yahoo.com> Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hi. I've just recently installed cygwin and I'd like to ask a few questions about networking. I've installed practically all the Cygwin packages but I'm frustrated by a couple of trivial little problems. For example, when I do a ping host the host can't be found; I have to put in the fully-qualified host name: ping host.company.com Even though a lookup via the name server: nslookup host works, without the argument having to be fully-qualified. So I set up a simple /etc/nsswitch.conf, as I would on any Unix machine, with the contents: hosts: files dns and /etc/resolv.conf with: search company.com but it's had no effect. I also can't find man pages for 'nsswitch.conf' or 'resolv.conf' in my cygwin installation, or even 'getent', so I'm wondering if those files are even used by cygwin. I've searched for terms like 'cygwin' and 'nsswitch.conf' but haven't found anything to go on. I do apologise if this is a real 'newbie' question. I suspect that cygwin delegates all things networking off to Windows, and so to fix this problem I'd have to do the equivalent of an nswitch.conf entry in Windows land? Which I'm not competent to do, unfortunately. Would anyone care to: a. confirm whether 'nsswitch.conf' and such work in Cygwin? b. tell me how I can get Cygwin to search various domains when trying to resolve hostnames? c. tell me about any 'networking' FAQ for cygwin? We primarily use NIS here, although DNS as well; I believe NIS isn't available with cygwin? Many thanks, Brad ____________________________________________________________________________________ Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more. http://mobile.yahoo.com/go?refer=1GNXIC -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/