Skip to content

resolvectl query / systemd-resolved errors on emoji IDN/punycode (sub)domains #14483

Closed

Description

@raspi

systemd version the issue has been seen with

242.153-2

Used distribution

Manjaro

Expected behaviour you didn't see

DNS record succesfully queried and resolved

Unexpected behaviour you saw

Error

Steps to reproduce the problem

  1. resolvectl query "xn--s28h.raspi.fi" or systemd-resolve "xn--s28h.raspi.fi"
  2. xn--s28h.raspi.fi: resolve call failed: Invalid argument

or:

  1. Try to go to https://😎.raspi.fi/

I can go to https://😎.raspi.fi/ with my phone but on GNU/Linux systemd-resolve doesn't resolve. See also: https://en.wikipedia.org/wiki/Emoji_domain

Activity

  1. added
    bug 🐛
    on Jan 6, 2020
  2. yuwata commented on Jan 6, 2020

    @yuwata
    Member
    systemd-resolved[4156794]: idn2_lookup_u8: xn--s28h.raspi.fi → (null)
    systemd-resolved[4156794]: idn2_lookup_u8("xn--s28h.raspi.fi") failed: -304/string contains a disallowed character
    

    https://gitlab.com/libidn/libidn2/issues/25

  3. removed
    bug 🐛
    on Jan 6, 2020
  4. added 2 commits that reference this issue on Dec 2, 2020
    378a93b
  5. added a commit that references this issue on Dec 2, 2020
    d80e72e
  6. added a commit that references this issue on Jan 16, 2021
    6790521
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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions