Page 1 of 1

Hostname doesn't resolve on iOS and Android

Posted: Mon Aug 26, 2013 2:38 pm
by Heliotopos
I've got a MOD5234 that sets its hostname and enables NetBIOS:

Code: Select all

// Global
extern const char *pDHCPOfferName;
static char Hostname[20];

// UserMain()
sprintf(Hostname, "Unit%llx", serial_number);
pDHCPOfferName = Hostname;
//...
NetbiosEnableNameService(Hostname, TRUE);
There's a Windows domain and DNS server on the network, and I can browse the NetBurner by hostname from another Windows machine just fine. However, iOS and Android devices connected via Wi-Fi to the same network can't resolve the name (they can browse by IP address successfully though). Is there something I'm doing wrong, or is this an issue with the network?

Thank you

Re: Hostname doesn't resolve on iOS and Android

Posted: Tue Aug 27, 2013 9:59 am
by Forrest
I typed out a simple reply to this, but found a stackoverflow post that is much more concise. See http://serverfault.com/a/53737

Basically IOS/Android do not support netbios, and do not have SAMBA, which is what linux/osx use to support netbios.

Re: Hostname doesn't resolve on iOS and Android

Posted: Tue Aug 27, 2013 12:56 pm
by Heliotopos
True, but I thought the name should still be resolvable via DNS because I set the hostname as well.