Skip to content

IP.resolve_hostname(_addresses) fails on .local addresses #101453

@TheBlueOompaLoompa

Description

@TheBlueOompaLoompa

Tested versions

  • Reproducible in v4.3.stable.official [77dcf97]

System information

Godot v4.3.stable - Freedesktop SDK 24.08 (Flatpak runtime) - Wayland - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 2070 SUPER (nvidia) - Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz (8 Threads)

Issue description

When trying to resolve a .local domain, it fails. I have verified that Avahi mDNS is correctly configured on my machine, as I use it for ssh among other things.

print(IP.resolve_hostname_addresses('3dpi.local'))
# []
print(IP.resolve_hostname_addresses('google.com'))
# ["173.194.193.101", "173.194.193.102", ...]

Steps to reproduce

Use either IP.resolve_hostname or IP.resolve_hostname_addresses with a .local domain.

Minimal reproduction project (MRP)

In order to test a domain, select the node called "Node" in the scene panel and change the "Domain" property.

Resolve Hostname Issue.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Needs further info

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions