Nmap Development mailing list archives
DNS resolution not working with RPM installation on Fedora-12 x86_64
From: Bert Sutherland <bert842 () yahoo com>
Date: Wed, 5 May 2010 11:50:17 -0700 (PDT)
I recently completed a net install of Fedora 12 x86_64 and I noticed that all of the instances of nmap installed via RPM package were unable to perform DNS resolution. I tested this with both 32-bit and 64-bit RPM installers for nmap 5.30BETA1 and neither were able to do DNS lookup. I had no better luck with the nmap 5.21 64-bit installer either. I don't know if this might have anything to do with the fact that this was on a laptop using a wireless connection; probably not, but maybee.... However, DSN resolution worked in all cases where I downloaded and compiled the .tar.bz2 source. Please see the console session below for further detail. ----------------------------------------------------------------------- [root@localhost ~]# cat /etc/issue Fedora release 12 (Constantine) Kernel \r on an \m (\l) [root@localhost ~]# uname -a Linux localhost.localdomain 2.6.32.11-99.fc12.x86_64 #1 SMP Mon Apr 5 19:59:38 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux [root@localhost ~]# rpm -qa | grep nmap nmap-5.30BETA1-1.x86_64 [root@localhost ~]# nmap -sL yahoo.com Starting Nmap 5.30BETA1 ( http://nmap.org ) at 2010-05-05 04:58 PDT Failed to resolve given hostname/IP: yahoo.com. Note that you can't use '/mask' AND '1-4,7,100-' style IP ranges WARNING: No targets were specified, so 0 hosts scanned. Nmap done: 0 IP addresses (0 hosts up) scanned in 0.00 seconds [root@localhost ~]# cd nmap-5.30BETA1 [root@localhost nmap-5.30BETA1]# ./nmap -sL yahoo.com Starting Nmap 5.30BETA1 ( http://nmap.org ) at 2010-05-05 04:59 PDT Nmap scan report for yahoo.com (69.147.125.65) Hostname yahoo.com resolves to 5 IPs. Only scanned 69.147.125.65 rDNS record for 69.147.125.65: ir1.fp.vip.re1.yahoo.com Nmap done: 1 IP address (0 hosts up) scanned in 0.03 seconds [root@localhost ~]# rpm -e nmap-5.30BETA1-1.x86_64 [root@localhost ~]# rpm -Uvh http://nmap.org/dist/nmap-5.30BETA1-1.i386.rpm Retrieving http://nmap.org/dist/nmap-5.30BETA1-1.i386.rpm Preparing... ########################################### [100%] 1:nmap ########################################### [100%] [root@localhost ~]# rpm -qa | grep nmap nmap-5.30BETA1-1.i386 [root@localhost ~]# nmap -sL -Pn yahoo.com Starting Nmap 5.30BETA1 ( http://nmap.org ) at 2010-05-05 05:11 PDT Failed to resolve given hostname/IP: yahoo.com. Note that you can't use '/mask' AND '1-4,7,100-' style IP ranges WARNING: No targets were specified, so 0 hosts scanned. Nmap done: 0 IP addresses (0 hosts up) scanned in 0.00 seconds [root@localhost ~]# rpm -e nmap-5.30BETA1-1.i386 [root@localhost ~]# rpm -Uvh http://nmap.org/dist/nmap-5.21-1.x86_64.rpm Retrieving http://nmap.org/dist/nmap-5.21-1.x86_64.rpm Preparing... ########################################### [100%] 1:nmap ########################################### [100%] [root@localhost ~]# nmap -sL -Pn yahoo.com Starting Nmap 5.21 ( http://nmap.org ) at 2010-05-05 05:15 PDT Failed to resolve given hostname/IP: yahoo.com. Note that you can't use '/mask' AND '1-4,7,100-' style IP ranges WARNING: No targets were specified, so 0 hosts scanned. Nmap done: 0 IP addresses (0 hosts up) scanned in 0.00 seconds
Attachment:
nmap_dns.txt
Description:
_______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- DNS resolution not working with RPM installation on Fedora-12 x86_64 Bert Sutherland (May 05)
- Re: DNS resolution not working with RPM installation on Fedora-12 x86_64 David Fifield (May 05)