diff --git a/common/test/run-ip_port_parsing.c b/common/test/run-ip_port_parsing.c index 10ae9be12e45..073b3a632c12 100644 --- a/common/test/run-ip_port_parsing.c +++ b/common/test/run-ip_port_parsing.c @@ -128,6 +128,7 @@ int main(int argc, char *argv[]) assert(is_dnsaddr("is-valid.3hostname123.com")); assert(is_dnsaddr("just-a-hostname-with-dashes")); assert(is_dnsaddr("lightningd_dest.underscore.allowed.in.hostname.part.com")); + assert(is_dnsaddr("punycode.xn--bcher-kva.valid.com")); assert(!is_dnsaddr("UPPERCASE.invalid.com")); assert(!is_dnsaddr("-.invalid.com")); assert(!is_dnsaddr("invalid.-example.com"));