On May 10, 2010, at 6:48 PM, Michelle Konzack wrote:

Hello Chris Hills,

Am 2010-05-10 09:02:35, hacktest Du folgendes herunter:
I sent a requests to isc for a new option in dig, enabled by default:-

+[no]idn
  automatically convert input to IDN

So entering:-

digتامايدوجان.سى

would give you the result as if you had entered:-

dig xn--mgbaajmr6mmaps.xn--ygb8b

Are you sure, you can enter arabic domainnames nt he console?  :-D

I can not even copy/past it.

However it would be very usefull if "dig" could outpout the inverse too, I mean if I use "dig -x a.b.c.d" and Dig woud not onle respond with the "xn--mgbaajmr6mmaps.xn--ygb8b" but also in a second line the translated
domainname.  Somehing like

I think that part of the issue with that is that the console might get very grumpy if it is not UTF8 clean -- if your console only speaks ASCII (like VT100/102) and you try to output UTF8, it barfs horribly. I guess that dig could try and work out if things are safe, but that seems fraught with peril and platform specific nonsense...

W



----[command 'dig +idn -x 192.168.0.200' ]------------------------------

; <<>> DiG 9.5.1-P3 <<>> -x 192.168.0.200
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34023
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

;; QUESTION SECTION:
;200.0.168.192.in-addr.arpa.    IN      PTR

;; ANSWER SECTION:
200.0.168.192.in-addr.arpa. 38400 IN    PTR     xn--mgbaajmr6mmaps.xn--ygb8b.
200.0.168.192.in-addr.arpa. 38400 IN    IDN     تامايدوجان.سى.

;; AUTHORITY SECTION:
0.168.192.in-addr.arpa. 38400   IN      NS      dns.private.tamay-dogan.net.

;; ADDITIONAL SECTION:
dns.private.tamay-dogan.net. 300 IN     A       192.168.0.74

;; Query time: 1 msec
;; SERVER: 192.168.0.74#53(192.168.0.74)
;; WHEN: Tue May 11 00:45:30 2010
;; MSG SIZE  rcvd: 121

------------------------------------------------------------------------

Thanks, Greetings and nice Day/Evening
   Michelle Konzack
   Systemadministrator

--
##################### Debian GNU/Linux Consultant ######################
  Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France itsyst...@tdnet UG (haftungsbeschränkt)
Gesch. Michelle Konzack          Gesch. Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz               Kinzigstraße 17
67100 Strasbourg/France         77694 Kehl/Germany
Tel: +33-6-61925193 mobil       Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

<http://www.itsystems.tamay-dogan.net/> <http://www.flexray4linux.org/ > <http://www.debian.tamay-dogan.net/> <http://www.can4linux.org/ >

Jabber linux4miche...@jabber.ccc.de
ICQ    #328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/
_______________________________________________
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

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

Reply via email to