Skip to content

IPv6 Domain Name Resolution Issue #721

@blankjul

Description

@blankjul

IPv6 Domain Name Resolution Issue - Works with Direct IPv6 Address but Fails with Domain Names.

The connection works in browser + tvheadend app.

Environment

  • Kodi Version: 21.2 (Omega)
  • TV Headend Addon Version: 21.2.6
  • Platform: Windows 11
  • tvheadend Version: 4.3

Issue Description

The TV Headend Addon addon fails to connect to tvheadend when using an IPv6 domain name, but works perfectly when using the direct IPv6 address.

Steps to Reproduce

  1. Configure PVR.hts addon with IPv6 domain name: example.dyndns.org
  2. Set HTSP port to 9982
  3. Enter valid username/password
  4. Attempt to connect - connection fails
  5. Change hostname to direct IPv6 address: 2001:db8:1234:5678::1 (example)
  6. Connection succeeds immediately

Expected Behavior

The addon should resolve IPv6 domain names correctly and connect successfully, just as it does with direct IPv6 addresses.

Actual Behavior

Connection fails when using domain names that resolve to IPv6 addresses, but works with direct IPv6 addresses.

Additional Context

  • tvheadend web interface works fine with the same domain name
  • Other applications can resolve and connect to the IPv6 domain successfully
  • The domain correctly resolves to the IPv6 address via DNS
  • IPv6 ping to the domain works correctly

Workaround

Use the direct IPv6 address instead of the domain name in the hostname field.

Happy to provide my urls/ipv6 in a private chat for testing.

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