Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

non-ascii zone

4 views
Skip to first unread message

Martin Fuxa

unread,
Dec 14, 2009, 3:45:25 AM12/14/09
to bind-...@lists.isc.org
Hi guys,
how to define zone for domain with non-ascii characters by right way?

Something like
zone "españa.eu" IN {
type master;
file "zone/master/españa.eu";
}

Regards Martin

Şener ATAŞ

unread,
Dec 14, 2009, 5:02:28 AM12/14/09
to bind-...@lists.isc.org
hi,

you can write your zone to browser, so you can see how does it write

www.españa.eu -> www.xn--espaa-rta.eu

> _______________________________________________
> bind-users mailing list
> bind-...@lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users
>
>
>
>
>


Martin Fuxa

unread,
Dec 14, 2009, 8:38:11 AM12/14/09
to bind-...@lists.isc.org
ok, I understand ...

domain name must bee processed by idn / libidn

idn --idna-to-ascii españa.eu
result
xn--espaa-rta.eu

PHP equivalent function is idn_to_ascii.

Right zone definition

zone "xn--espaa-rta.eu" IN {
type master;
file "zone/master/españa.eu";
}

For whois (4.7.24) I can use UTF8 domain names,
but for dig (9.4.2-P1) is required non-ascii string = idn converted.
And the same for other network tools.

Thanks for pointing.


Regards Maring

0 new messages