LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 02-27-2009, 03:00 AM   #1
kumar_bst
Member
 
Registered: Jul 2007
Posts: 36
Blog Entries: 1

Rep: Reputation: 15
Unhappy 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
 
Old 02-27-2009, 03:53 AM   #2
shakezilla
Member
 
Registered: Jun 2005
Location: U.S.
Distribution: xubuntu 8.10, linux 2.6.27-11-generic
Posts: 78

Rep: Reputation: 16
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
 
Old 03-02-2009, 07:15 PM   #3
kumar_bst
Member
 
Registered: Jul 2007
Posts: 36

Original Poster
Blog Entries: 1

Rep: Reputation: 15
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?
 
Old 03-04-2009, 04:33 PM   #4
shakezilla
Member
 
Registered: Jun 2005
Location: U.S.
Distribution: xubuntu 8.10, linux 2.6.27-11-generic
Posts: 78

Rep: Reputation: 16
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.
 
Old 03-08-2009, 08:57 AM   #5
kumar_bst
Member
 
Registered: Jul 2007
Posts: 36

Original Poster
Blog Entries: 1

Rep: Reputation: 15
Hi,

Thanks for your help.

I found the solution, few libraries were missing in my system, libresolve.so and libdns.so.

Regards,

Amit
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
i have a question over resolver and DNS jonhanna Linux - Newbie 6 01-26-2009 07:14 AM
strange thing with dns resolver Barq Linux - Networking 12 12-14-2007 10:11 PM
LFS6.1toolchain+busybox+kernel=can not run gcc? augustus Linux From Scratch 2 10-11-2006 11:39 AM
DNS Resolver Cache shipon_97 Linux - Newbie 4 04-25-2006 10:06 AM
dns client resolver Fraudulent SUSE / openSUSE 2 05-17-2005 11:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration