Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-27-2009, 03:00 AM
|
#1
|
Member
Registered: Jul 2007
Posts: 36
Rep:
|
Unable to run DNS resolver in kernel 2.6.25.7/busybox 19.1.
Hi,
I am using linux kernel 2.6.25.7 and busybox 1.9.1 in a embedded system. The problem is, I cant use DNS in my system.
I have seen that, dnsd is present in the system, but cant use nslookup to resolve www.yahoo.com.
It is thowing the error message, nslookup: can't resolve 'www.yahoo.com'
Please help me to configure dns resolver in my system.
Thanks and regards,
Amit
|
|
|
02-27-2009, 03:53 AM
|
#2
|
Member
Registered: Jun 2005
Location: U.S.
Distribution: xubuntu 8.10, linux 2.6.27-11-generic
Posts: 78
Rep:
|
If all you need is the IP, check to see if you can do 'dig' or 'host'. This is what I get from those commands:
Code:
[justin : ~] dig yahoo.com
; <<>> DiG 9.5.0-P2 <<>> yahoo.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 63906
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;yahoo.com. IN A
;; ANSWER SECTION:
yahoo.com. 80 IN A 206.190.60.37
;; Query time: 177 msec
;; SERVER: 192.168.2.1#53(192.168.2.1)
;; WHEN: Fri Feb 27 02:50:03 2009
;; MSG SIZE rcvd: 43
[justin : ~] host yahoo.com
yahoo.com has address 206.190.60.37
yahoo.com has address 206.190.60.37
yahoo.com has address 206.190.60.37
|
|
|
03-02-2009, 07:15 PM
|
#3
|
Member
Registered: Jul 2007
Posts: 36
Original Poster
Rep:
|
Thanks for your reply, but in my system dig and host are not available. I am developing a small embedded system.
Here is the error message i am getting,
# nslookup www.yahoo.com
Server: 219.250.36.130
Address 1: 219.250.36.130
nslookup: can't resolve 'www.yahoo.com'
The same dns server is working fine for my Linux PC but not giving result for my embedded system.
Is there any problem with glibc?
|
|
|
03-04-2009, 04:33 PM
|
#4
|
Member
Registered: Jun 2005
Location: U.S.
Distribution: xubuntu 8.10, linux 2.6.27-11-generic
Posts: 78
Rep:
|
It looks like nslookup is running fine, so I would guess that it's a network problem.
However, I'm never set up a dns server, so I don't really know what to tell you.
Maybe someone else can help.
|
|
|
03-08-2009, 08:57 AM
|
#5
|
Member
Registered: Jul 2007
Posts: 36
Original Poster
Rep:
|
Hi,
Thanks for your help.
I found the solution, few libraries were missing in my system, libresolve.so and libdns.so.
Regards,
Amit
|
|
|
All times are GMT -5. The time now is 03:51 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|