busybox dnsd to support domainname search
Ming-Ching Tiew
mctiew at yahoo.com
Sat Apr 11 13:57:37 UTC 2009
--- On Sat, 4/11/09, walter harms <wharms at bfs.de> wrote:
> From: walter harms <wharms at bfs.de>
> Subject: Re: busybox dnsd to support domainname search
> To: "Ming-Ching Tiew" <mctiew at yahoo.com>
> Cc: busybox at busybox.net
> Date: Saturday, April 11, 2009, 12:47 PM
>
>
> Ming-Ching Tiew schrieb:
> >
> > I have tested this with busybox 1.13.3 :-
> >
> > the busybox dnsd does not support a fqdn search
> because of two reasons :-
> >
> > 1. The MAX_HOST_LEN is too short.
> >
> > A typical fqdn is much longer
> than the default in the C file.
>
>
> you may like to choose MAXHOSTNAMELEN
> but again that is the "hostname" not the FQDN.
>
>
The 'dnsd' is a simple and static dns server, everything is obtained
from the file 'dnsd.conf'. However it's current form, if you enter
a line '1.2.3.4 www.google.com' into 'dnsd.conf', and you make a
query from a client, for example,
$ dig www.google.com
'dnsd' will never able to match it even though the file contains an
entry for www.google.com.
I thought by doing some small fixes, then 'dnsd' could be used to fool the
client that it's talking to a full fledged dns server. Isn't it the
purpose of 'dnsd' ?
regards.
More information about the busybox
mailing list