Nmap Development mailing list archives

Re: "Illegal character(s) in hostname" problem


From: Henri Salo <henri () nerv fi>
Date: Thu, 2 Apr 2009 18:35:16 +0300

On Thu, Apr 02, 2009 at 04:48:29PM +0200, Daniel Roethlisberger wrote:
Henri Salo <henri () nerv fi> 2009-04-02:
I have seen this before. Has there been any patches against this? Do you know why it happens?

fgeek@foo:~$ /usr/bin/nmap -P0 -sV 208.53.138.195

Starting Nmap 4.85BETA7 ( http://nmap.org ) at 2009-04-02 17:12 EEST
Illegal character(s) in hostname -- replacing with '*'
<snip>

That IP address has an illegal PTR record in reverse DNS.
It points to the DNS root node (".").


$ dig -x 208.53.138.195

; <<>> DiG 9.3.5-P2 <<>> -x 208.53.138.195
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 10926
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 1

;; QUESTION SECTION:
;195.138.53.208.in-addr.arpa.   IN      PTR

;; ANSWER SECTION:
195.138.53.208.in-addr.arpa. 28800 IN   PTR     .

;; AUTHORITY SECTION:
138.53.208.in-addr.arpa. 28800  IN      NS      ns3.fdcservers.net.
138.53.208.in-addr.arpa. 28800  IN      NS      ns4.fdcservers.net.

;; ADDITIONAL SECTION:
ns4.fdcservers.net.     14399   IN      A       66.90.66.138

;; Query time: 619 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu Apr  2 16:46:41 2009
;; MSG SIZE  rcvd: 124

-- 
Daniel Roethlisberger
http://daniel.roe.ch/


Ok. Thank you. Why does Nmap even check the hostname since I was using IP-address?

---
Henri Salo

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


Current thread: