Bug 8776

Summary: nslookup always returns valid IP address when looking up integer number
Product: Busybox Reporter: holgerk <holger.klaas>
Component: NetworkingAssignee: unassigned
Status: NEW ---    
Severity: normal CC: busybox-cvs
Priority: P5    
Version: 1.24.x   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:

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