Bug 13441 - nslookup does not append items in search
Summary: nslookup does not append items in search
Status: NEW
Alias: None
Product: Busybox
Classification: Unclassified
Component: Networking (show other bugs)
Version: 1.32.x
Hardware: PC Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-11 03:37 UTC by zhiguo.lee
Modified: 2021-01-11 03:37 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 zhiguo.lee 2021-01-11 03:37:10 UTC
1. Create a pod with busybox:1.32.0-musl
2. Enter the pod , and do nslookup commond ,such as nslookup google.com 
3. Coredns' log shows only google.com. is send.
4 .Run commond nslookup google  
5. Coredns' log shows each search item is appended. 

Also busybox:1.32.0-glic follows the same process. 


The /etc/resolv.conf in pod as bellow:
nameserver 172.16.253.163
search default.svc.cluster.local svc.cluster.local cluster.local
options ndots:5


According the definations for search and ndots in /etc/resolv.conf , the nslookup should append each item before do the last reqeust nslookup google.com.