Skip to content

Defaults to IPV4 when IPV4 and IPV6 are enabled for getHostByName #6

@ronanbyrne96

Description

@ronanbyrne96

#if (IPV4_SUPPORT == ENABLED)

We had a situation where one of our cellular modems would receive an IPV6 before an IPV4 address which would trigger a DNS lookup on our side. The issue was that getHostByName defaults to IPV4 when both IPV4 and IPV6 are enabled which causes getHostByName to fail.

Can checking of address type be added here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions