View Full Version : [ubuntu] How to install a full DNS resolver (replacing the stub resolver)

April 4th, 2010, 07:52 PM
I have a DNS Server which cannot process Recursive DNS queries. My ubuntu system is not able to work with this DNS server as the glibc resolver cannot do Iterative queries (i.e. It is not processing the referrals sent by the DNS server). I read in a few posts that linux and windows resolvers are usually stub-resolvers which can only do Recursive queries.
Is there any way to install a DNS client in ubuntu which can do Iterative queries?
I guess installing BIND and configuring it would help; but I am looking for just the DNS client (w/o server) to do the job.

April 7th, 2010, 12:48 AM
as i know the client naming service does not support iteration and the only way is that having cache-only name server on your linux client . :(


April 7th, 2010, 02:29 AM
Bind can do recursive queries, like a client asking other servers on internet, look at the my server's asking ( port 16599) to other external server ( port 53) and the response below.

$ sudo tcpdump -n
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
20:19:21.732149 IP > 3457 [1au] A? ubuntuforums.org. (45)
20:19:22.097599 IP > 3457*- 1/3/4 A[|domain]

Recursive queries are default in bind.