DNS name resolution

Matthew Baker mu.beta.06 at gmail.com
Wed Mar 7 02:11:50 WST 2012


Hi there,

I recently cross-compiled dropbear using the GNU ARM compiler from
CodeSourcery for Android and everything seems to be working as expected
with the exception of DNS name resolution, for example:

./dbclient mat at 192.168.0.8

works, however,

./dbclient mat at mat-laptop does not work.

In the Android shell I can run ping mat-laptop successfully so I am not
quite sure what is happening in the dropbear case. I am compiling the
latest version of dropbear and using android platform 8 i.e. Froyo aka 2.2.
Another source has indicated that they experienced similar problems with
2.x Android platforms and dropbear which do not seem to present themselves
in Android 3.x.

I was wondering if anyone on this list have any suggestions as to what
might be going wrong and where to start looking to address the issue. I
believe I have tracked the issue down to 'getaddrinfo()' in which I can
only presume is going wrong on the os side.

Any advice will be appreciated.

Kind Regards,

Matthew Baker
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ucc.gu.uwa.edu.au/pipermail/dropbear/attachments/20120306/1d9c8486/attachment.htm 


More information about the Dropbear mailing list