need some help to setup nslookup
Choi Jason
kbc_hyper at hotmail.com
Wed Jul 25 22:30:37 UTC 2007
Hello All,
I think I need your help at this time. :)
Now, I tried to use nslookup on my target system.
When I compiled busybox, I just turned on Networking Utilities -> nslookup.
And I install this busybox to my target.
And I create /etc/resolv.conf.
Contents of /etc/resolv.conf is as followings
----------------
search abc.net
nameserver 4.2.2.1
----------------
And I create /etc/hosts as followings
----------------
127.0.0.1 localhost
192.168.6.77 abc.site abc
209.131.36.158 www.yahoo.com
----------------
When I tried "nslookup www.google.com", following message is displayed.
----------------
# nslookup www.google.com
Server : 4.2.2.1
Address 1: 4.2.2.1
nslookup: can't resolve 'www.google.com'
----------------
And when I tried "nslookup www.yahoo.com", following message is displayed.
----------------
#nslookup www.yshoo.com
Server: 4.2.2.1
Address 1: 4.2.2.1
Name: www.yahoo.com
Address 1: 209.131.36.158 www.yahoo.com
-----------------
So,,I don't know why I could not get address resolve result.
Do I need more steps to setup nslookup on my target?
I think when I tried address resolve of www.yahoo.com, it could find it's
result thanks to /etc/hosts.
I hope to get some help from you guys.
Thanks in advance :)
Jason,
More information about the busybox
mailing list