X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=1.2 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_NONE,TW_BG,TW_BL,TW_BX,TW_IB,TW_KB,TW_MK,TW_XC,TW_XK,TW_XR X-Spam-Check-By: sourceware.org Message-ID: <4BDF721D.2010204@brolin.be> Date: Mon, 03 May 2010 18:02:21 -0700 From: Brolin Empey User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.2pre) Gecko/20100302 Lanikai/3.1b1 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: 1.7: hostname resolution works for Windows programs, but not Cygwin programs Content-Type: multipart/mixed; boundary="------------020907020605080106040505" X-IsSubscribed: yes 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 --------------020907020605080106040505 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Hello, I have a new installation of Cygwin 1.7 on Windows 7 Professional 32-bit on brolin-V13, my Dell Vostro V13 laptop. Windows (non-Cygwin) programs, such as nslookup, can resolve the hostnames of Ubuntu PCs on the LAN, but Cygwin programs, such as ssh from OpenSSH, cannot resolve the same hostnames. The Cygwin programs can communicate with the Ubuntu PCs when I use the Ubuntu PC’s IP addresses instead of hostnames. How can I get hostname resolution working for Cygwin programs? Hostname resolution stopped working for Cygwin programs in 2 other Cygwin installations which were upgraded from Cygwin 1.5 too: one of these installations is on howard, which is a desktop running Windows 2000 Professional Edition SP4 i386. The other is optiplex960, a tower running Windows Vista Ultimate Edition SP2 32-bit, which was upgraded from SP1. The DNS server is dnsmasq on DD-WRT on a Linksys WRT54GL v1.1. I have searched Google Search (briefly), the archives for the cygwin mailing list, the Cygwin FAQ, and the Cygwin/X FAQ. I can provide cygcheck.out from howard + optiplex960 upon request. Thanks, Brolin -- Sometimes I forget how to do small talk: “If you have to ask why, you’re not a member of the intended audience.” — Bob Zimbinski, --------------020907020605080106040505 Content-Type: text/plain; name="cygcheck.out" Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="cygcheck.out" Cygwin Configuration Diagnostics Current System Time: Mon May 03 17:12:27 2010 Windows 7 Professional N Ver 6.1 Build 7600 Path: C:\Windows\system32 C:\Windows C:\Windows\System32\Wbem C:\Windows\System32\WindowsPowerShell\v1.0\ c:\Program Files\WIDCOMM\Bluetooth Software\ Output from C:\cygwin\bin\id.exe UID: 1000(brolin) GID: 513(None) 0(root) 544(Administrators) 545(Users) 1001(HomeUsers) 513(None) SysDir: C:\Windows\system32 WinDir: C:\Windows Path = 'C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\Program Files\WIDCOMM\Bluetooth Software\' ALLUSERSPROFILE = 'C:\ProgramData' APPDATA = 'C:\Users\brolin\AppData\Roaming' CommonProgramFiles = 'C:\Program Files\Common Files' COMPUTERNAME = 'BROLIN-V13' ComSpec = 'C:\Windows\system32\cmd.exe' FP_NO_HOST_CHECK = 'NO' HOMEDRIVE = 'C:' HOMEPATH = '\Users\brolin' LOCALAPPDATA = 'C:\Users\brolin\AppData\Local' LOGONSERVER = '\\BROLIN-V13' NUMBER_OF_PROCESSORS = '2' OS = 'Windows_NT' PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' PROCESSOR_ARCHITECTURE = 'x86' PROCESSOR_IDENTIFIER = 'x86 Family 6 Model 23 Stepping 10, GenuineIntel' PROCESSOR_LEVEL = '6' PROCESSOR_REVISION = '170a' ProgramData = 'C:\ProgramData' ProgramFiles = 'C:\Program Files' PROMPT = '$P$G' PSModulePath = 'C:\Windows\system32\WindowsPowerShell\v1.0\Modules\' PUBLIC = 'C:\Users\Public' SystemDrive = 'C:' SystemRoot = 'C:\Windows' TEMP = 'C:\Users\brolin\AppData\Local\Temp' TMP = 'C:\Users\brolin\AppData\Local\Temp' USERDOMAIN = 'brolin-V13' USERNAME = 'brolin' USERPROFILE = 'C:\Users\brolin' windir = 'C:\Windows' HKEY_CURRENT_USER\Software\Cygwin HKEY_CURRENT_USER\Software\Cygwin\Program Options HKEY_CURRENT_USER\Software\Cygwin\setup HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\Installations (default) = '\??\C:\cygwin' HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\Program Options HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\setup (default) = 'C:\cygwin' obcaseinsensitive set to 1 Cygwin installations found in the registry: System: Key: c5e39b7a9d22bafb Path: C:\cygwin c: hd NTFS 461899Mb 13% CP CS UN PA FC OS m: fd FAT 123Mb 62% CP UN BROLIN C:\cygwin / system binary,auto C:\cygwin\bin /usr/bin system binary,auto C:\cygwin\lib /usr/lib system binary,auto cygdrive prefix /cygdrive user binary,auto Not Found: awk Not Found: bash Not Found: cat Not Found: cp Not Found: cpp (good!) Not Found: crontab Found: C:\Windows\system32\find.exe Not Found: gcc Not Found: gdb Not Found: grep Not Found: kill Not Found: ld Not Found: ls Not Found: make Not Found: mv Not Found: patch Not Found: perl Not Found: rm Not Found: sed Not Found: ssh Not Found: sh Not Found: tar Not Found: test Not Found: vi Not Found: vim Warning: cygwin1.dll not found on your path No Cygwin services found. Cygwin Package Information Last downloaded files to: ¬î" Last downloaded files from: ¬î" Package Version _update-info-dir 00864-1 alternatives 1.3.30c-10 base-cygwin 2.1-1 base-files 3.9-3 base-passwd 3.1-1 bash 3.2.49-23 bzip2 1.0.5-10 chere 1.1-1 coreutils 7.0-2 crypt 1.1-1 csih 0.9.1-1 cygrunsrv 1.34-1 cygutils 1.4.2-1 cygwin 1.7.1-1 cygwin-doc 1.5-1 dash 0.5.5.1-2 diffutils 2.8.7-2 dog 1.7-1 e2fsprogs 1.35-3 editrights 1.01-2 figlet 2.2.2-2 file 5.00-3 findutils 4.5.5-1 font-adobe-dpi75 1.0.1-1 font-alias 1.0.2-1 font-encodings 1.0.3-1 font-misc-misc 1.1.0-1 fontconfig 2.8.0-1 gawk 3.1.7-1 gettext 0.17-11 grep 2.5.4-2 groff 1.19.2-2 gzip 1.3.12-2 ipc-utils 1.0-1 less 429-1 lftp 4.0.5-1 libbz2_1 1.0.5-10 libdb4.5 4.5.20.2-2 libexpat1 2.0.1-1 libfontconfig1 2.8.0-1 libfontenc1 1.0.5-1 libfreetype6 2.3.11-1 libgcc1 4.3.4-3 libgdbm4 1.8.3-20 libGL1 7.5.2-1 libglib1.2_0 1.2.10-10 libgmp3 4.3.1-3 libICE6 1.0.6-1 libiconv2 1.13.1-1 libidn11 1.16-1 libintl3 0.14.5-1 libintl8 0.17-11 liblzma1 4.999.9beta-10 libncurses10 5.7-18 libncurses7 5.3-4 libncurses8 5.5-10 libncurses9 5.7-16 libpcre0 8.00-1 libpixman1_0 0.16.4-1 libpopt0 1.6.4-4 libreadline5 4.3-5 libreadline6 5.2.14-12 libreadline7 6.0.3-2 libSM6 1.1.1-1 libssp0 4.3.4-3 libstdc++6 4.3.4-3 libwrap0 7.6-20 libX11_6 1.3.2-2 libXau6 1.0.5-1 libXaw7 1.0.7-1 libxcb1 1.5-1 libXdmcp6 1.0.3-1 libXext6 1.1.1-1 libXft2 2.1.14-1 libxkbfile1 1.0.6-1 libXmu6 1.0.5-1 libXmuu1 1.0.5-1 libXpm4 3.5.8-1 libXrender1 0.9.5-1 libXt6 1.0.7-1 login 1.10-10 luit 1.0.4-2 man 1.6e-1 mc 4.6.1-2 mkfontdir 1.0.5-1 mkfontscale 1.0.7-1 netcat 1.10-2 openssh 5.3p1-1 openssl 0.9.8l-2 patch 2.5.8-9 perl 5.10.1-2 ping 1.0-1 rebase 3.0.1-1 rsync 3.0.6-1 run 1.1.12-11 screen 4.0.3-5 sed 4.1.5-2 tar 1.22.90-1 terminfo 5.7_20091114-13 terminfo0 5.5_20061104-11 texinfo 4.13-3 tzcode 2009k-1 units 1.87-1 unzip 6.0-10 upx 3.01-1 util-linux 2.14.1-1 vim 7.2.264-1 wget 1.11.4-4 which 2.20-2 whois 4.7.36-1 xauth 1.0.4-1 xcursor-themes 1.0.2-1 xinit 1.2.0-2 xkbcomp 1.1.1-1 xkeyboard-config 1.7-1 xmodmap 1.0.4-1 xorg-server 1.7.3-1 xrdb 1.0.6-1 xterm 255-1 xz 4.999.9beta-10 zip 3.0-11 zlib 1.2.3-10 zlib-devel 1.2.3-10 zlib0 1.2.3-10 Use -h to see help about each section --------------020907020605080106040505 Content-Type: text/plain; charset=us-ascii -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple --------------020907020605080106040505--