Bug 8776 - nslookup always returns valid IP address when looking up integer number
Summary: nslookup always returns valid IP address when looking up integer number
Status: NEW
Alias: None
Product: Busybox
Classification: Unclassified
Component: Networking (show other bugs)
Version: 1.24.x
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-08 18:08 UTC by holgerk
Modified: 2020-02-04 10:47 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description holgerk 2016-03-08 18:08:04 UTC
When looking up an integer number with busybox nslooup it always resolves it successful to an IP address: e.g:

nslookup 1
Server:    192.168.80.13
Address 1: 192.169.80.13 myserver.local

Name:      1
Address 1: 0.0.0.1

The nslookup version coming with the bind package would return an error.
Comment 1 Natanael Copa 2020-02-04 10:47:12 UTC
I believe this is fixed with FEATURE_NSLOOKUP_BIG:

$ busybox nslookup 1
Server:         172.16.4.1
Address:        172.16.4.1:53

** server can't find 1: NXDOMAIN