UTF8: Avoid treating a punycoded dns lookup as an implicit redirection
[exim.git] / test / dnszones-src / db.test.ex
index 4ec367cc9e4d9ce0fb06462725b68f7d3daf9761..ab1643452a7aa1a08df7fc31a3389e077dad107c 100644 (file)
@@ -38,13 +38,15 @@ dontqualify  A       V4NET.255.255.254
 
 UpperCase    A       127.0.0.1
 
-; A host with UTF-8 characters in its name
+; A host with punycoded UTF-8 characters used for its lookup ( mx.π.test.ex )
 
-mx.π        A       V4NET.255.255.255
+mx.xn--1xa         A       V4NET.255.255.255
 
 ; A non-standard name for localhost
 
 thishost     A       127.0.0.1
+localhost4   A       127.0.0.1
+
 
 ; Something that gives both the IP and the loopback
 
@@ -356,9 +358,13 @@ mxt97        MX  1  ten-1.test.ex.
 
 mxt1c        MX  1  dontqualify.
 
-; MX with UTF-8 characters in its name
+; MX with punycoded UTF-8 characters used for its lookup ( π.test.ex )
+
+xn--1xa      MX  0  mx.π.test.ex.
+
+; MX with actual UTF-8 characters in its name, for allow_utf8_domains mode test
 
-π           MX  0  mx.π.test.ex.
+π            MX  0  mx.xn--1xa.test.ex.
 
 ; -------- Testing SRV records --------