Running dig on a newly built Linux machine I see the below output (and man page explaining it).

To me this just seems wrong. Mucking with the bare metal here is not desirable. The zone *is* xn--xkc2al3hye2a., it is not the native script version (which is unprintable on the machine I'm on).

Comments? Should DiG's output be unchanged or is this "good?" Should the OS vendors be asked to stop this?

$ dig xn--xkc2al3hye2a. ns

; <<>> DiG 9.7.3-P3-RedHat-9.7.3-2.el6_1.P3.3 <<>> xn--xkc2al3hye2a. ns
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 20823 ;; flags: qr rd ra; QUERY: 1, ANSWER: 9, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;á¾ôÕï».              IN   NS

;; ANSWER SECTION:
á¾ôÕï». 86400     IN   NS   ns-d.nic.lk.
á¾ôÕï». 86400     IN   NS   ns-l.nic.lk.
á¾ôÕï». 86400     IN   NS   ns-t.nic.lk.
á ¾ ô Õ ï ». 86400 IN NS lk.communitydns.net. á ¾ ô Õ ï ». 86400 IN NS nic.lk-anycast.pch.net.
á¾ôÕï». 86400     IN   NS   ns1.ac.lk.
á¾ôÕï». 86400     IN   NS   ns3.ac.lk.
á¾ôÕï». 86400     IN   NS   ns-b.nic.lk.
á¾ôÕï». 86400     IN   NS   ns-c.nic.lk.

;; Query time: 281 msec
;; SERVER: 172.16.0.23#53(172.16.0.23)
;; WHEN: Mon Jul  9 15:33:27 2012
;; MSG SIZE  rcvd: 240

It's trying to be nice (from the man page):

IDN SUPPORT
       If dig has been built with IDN (internationalized domain name)
       support, it can accept and display non-ASCII domain names.  dig
       appropriately converts character encoding of domain name before
       sending a request to DNS server or displaying a reply from the
       server. If you´d like to turn off the IDN support for some reason,
       defines the IDN_DISABLE environment variable. The IDN support is
       disabled if the variable is set when dig runs.

I like the "for some reason" quip.

--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Edward Lewis
NeuStar                    You can leave a voice message at +1-571-434-5468

2012...time to reuse those 1984 calendars!
_______________________________________________
dns-operations mailing list
dns-operations@lists.dns-oarc.net
https://lists.dns-oarc.net/mailman/listinfo/dns-operations
dns-jobs mailing list
https://lists.dns-oarc.net/mailman/listinfo/dns-jobs

Reply via email to