Hostname doesn't resolve on iOS and Android

Discussion to talk about software related topics only.
Post Reply
Heliotopos
Posts: 27
Joined: Thu Jun 27, 2013 8:30 am

Hostname doesn't resolve on iOS and Android

Post 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
User avatar
Forrest
Posts: 289
Joined: Wed Apr 23, 2008 10:05 am

Re: Hostname doesn't resolve on iOS and Android

Post 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.
Forrest Stanley
Project Engineer
NetBurner, Inc

NetBurner Learn Articles: http://www.netburner.com/learn
Heliotopos
Posts: 27
Joined: Thu Jun 27, 2013 8:30 am

Re: Hostname doesn't resolve on iOS and Android

Post by Heliotopos »

True, but I thought the name should still be resolvable via DNS because I set the hostname as well.
Post Reply