Skip to content

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

Open

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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