busybox dnsd to support domainname search
Denys Vlasenko
vda.linux at googlemail.com
Sun Apr 12 04:00:04 UTC 2009
On Sunday 12 April 2009 05:35, Denys Vlasenko wrote:
> > 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.
>
> I tried to implement your suggestion #2 in the attached file.
> It compiles, but I did not run test it. Can you do it?
I did some minimal testing and uncovered a bug.
Try this version instead.
--
vda
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dnsd.c
Type: text/x-csrc
Size: 17781 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20090412/4c1c03fa/attachment.c>
More information about the busybox
mailing list