busybox dnsd to support domainname search

Ming-Ching Tiew mctiew at yahoo.com
Sun Apr 12 03:33:33 UTC 2009


Patch included.

--- On Sun, 4/12/09, Ming-Ching Tiew <mctiew at yahoo.com> wrote:

> From: Ming-Ching Tiew <mctiew at yahoo.com>
> Subject: Re: busybox dnsd to support domainname search
> To: busybox at busybox.net
> Date: Sunday, April 12, 2009, 2:26 AM
> 
> 
>  
> Ming-Ching Tiew schrieb:
> 
> > 
> > 2. I am not the dns expert, but when a fqdn get
> > delivered into dnsd, 
> > 
> >        
> >      www.xxx.yyy
>  becomes   www control-G  xxxx
> control-C yyyy
> > 
> >    ie the first dot becomes char 7, and
> second dot becomes char 3.
> > 
> >    This limitation can be workaround by
> entering the ^G ^C into dnsd.conf.
> > 
> > These are just minor fixes which could be done to
> > allow dnsd to support fqdn search from standard
> clients.
> > 
> 
> After some further testing, I found that the so-called
> control
> characters which separate the string between the dot, is
> the
> count of number of characters which follows the dot. The
> example
> above, I happened to have a 7 character string after the
> first dot,
> and a 3 character string after the second dot.
> 
> Therefore it should be trivial for the dnsd to parse the
> dnsd.conf
> and keep the "record" in the format suitable for matching
> with 
> the DNS query from the clients.
> 
> Just to clear up the confusion.
> 
> Cheers
> 



      
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dnsd-patch
Type: application/octet-stream
Size: 794 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20090411/15a5cfaa/attachment.obj>


More information about the busybox mailing list