IDN support would be really nice to have. Unfortunately, not even Ubuntu
16.04 has it yet:


Ubuntu 16.04 (Xenial Xerus):

nornetpp@experiment:~$ host bjørvika.uio.nornet     
Host bjørvika.uio.nornet not found: 3(NXDOMAIN)
nornetpp@experiment:~$ nslookup bjørvika.uio.nornet
Server:         10.1.1.1
Address:        10.1.1.1#53

** server can't find bj\195\184rvika.uio.nornet: NXDOMAIN

nornetpp@experiment:~$ ping bjørvika.uio.nornet
ping: unknown host bjørvika.uio.nornet
nornetpp@experiment:~$ ping6 bjørvika.uio.nornet
unknown host
nornetpp@experiment:~$ dig bjørvika.uio.nornet

; <<>> DiG 9.10.3-P4-Ubuntu <<>> bjørvika.uio.nornet
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 61159
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;bj\195\184rvika.uio.nornet.    IN      A

;; AUTHORITY SECTION:
uio.nornet.             3600    IN      SOA     blindern.uninett.uio.nornet. 
root.uio.nornet. 57669665 900 60 84600 3600

;; Query time: 1 msec
;; SERVER: 10.1.1.1#53(10.1.1.1)
;; WHEN: Thu May 12 13:56:07 CEST 2016
;; MSG SIZE  rcvd: 107


On the other hand, Fedora Core 23 has is enabled by default. So, it
should not be too difficult to support it in Ubuntu as well.

Fedora Core 23:

[root@queenstown ~]# host bjørvika.uio.nornet     
bjørvika.uio.nornet is an alias for bjoervika.uninett.uio.nornet.
bjoervika.uninett.uio.nornet has address 10.1.2.100
bjoervika.uninett.uio.nornet has IPv6 address (address removed)
[root@queenstown ~]# nslookup bjørvika.uio.nornet  
Server:         10.1.1.1
Address:        10.1.1.1#53

bjørvika.uio.nornet     canonical name = bjoervika.uninett.uio.nornet.
Name:   bjoervika.uninett.uio.nornet
Address: 10.1.2.100

[root@queenstown ~]# ping -c1 bjørvika.uio.nornet
PING bjoervika.uninett.uio.nornet (10.1.2.100) 56(84) bytes of data.
64 bytes from bjoervika.uninett.uio.nornet (10.1.2.100): icmp_seq=1 ttl=62 
time=3.84 ms

--- bjoervika.uninett.uio.nornet ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 3.844/3.844/3.844/0.000 ms
[root@queenstown ~]# ping6 -c1 bjørvika.uio.nornet
PING bjørvika.uio.nornet(bjoervika.uninett.uio.nornet) 56 data bytes
64 bytes from bjoervika.uninett.uio.nornet: icmp_seq=1 ttl=62 time=5.67 ms

--- bjørvika.uio.nornet ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 5.673/5.673/5.673/0.000 ms
[root@queenstown ~]# dig bjørvika.uio.nornet any

; <<>> DiG 9.10.3-P4-RedHat-9.10.3-12.P4.fc23 <<>> bjørvika.uio.nornet any
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 62089
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 3

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;bjørvika.uio.nornet.           IN      ANY

;; ANSWER SECTION:
bjørvika.uio.nornet.    86400   IN      CNAME   bjoervika.uninett.uio.nornet.

;; AUTHORITY SECTION:
uio.nornet.             86400   IN      NS      ns.simula.nornet.
uio.nornet.             86400   IN      NS      blindern.uninett.uio.nornet.

;; ADDITIONAL SECTION:
blindern.uninett.uio.nornet. 86400 IN   A       10.1.2.1
blindern.uninett.uio.nornet. 86400 IN   AAAA    (address removed)

;; Query time: 1 msec
;; SERVER: 10.1.1.1#53(10.1.1.1)
;; WHEN: to. mai 12 13:59:19 CEST 2016
;; MSG SIZE  rcvd: 178


** Also affects: iputils (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to iputils in Ubuntu.
https://bugs.launchpad.net/bugs/175316

Title:
  no IDN in nslookup and host

Status in bind9 package in Ubuntu:
  Confirmed
Status in iputils package in Ubuntu:
  New
Status in bind9 package in Debian:
  New

Bug description:
  Binary package hint: bind9

  Neither nslookup or host supports IDN. If you try , for example, to
  get the IP for "registrera-domän.se" it fails every time. As the use
  of IDN is increasing I think it would be a good thing if these tools
  supported this.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bind9/+bug/175316/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to