Skip to content

WiFi.hostByName resolves to 255.255.255.255 when should return error #7944

@gnalbandian

Description

@gnalbandian

Hi.

I'm having issues with WiFi.hostByName.
The function is returning 255.255.255.255 when trying to resolve google.com.er, which doesn't exists.
It should return error.

The function used internally is dns_gethostbyname.

Can someone else makes some test to figure out is this is an actual issue or is something particularly of my own code.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions