Thursday, December 23, 2010

IPv6 and the linux host command...

Working with ipv6/ipv4 and trying to understand how to debug issues...

And more specifically, I wanted to see if DNS was handing both ipv4 and ipv6 addresses.

So, on a mac, typing "host", it was returning both A (ipv4) and the AAAA (ipv6) addresses.
But on Debian, only the A address was returned.
Of course ""host -t AAAA" returned the AAAA record or the ipv6 address.

So, why did Debian not give me both A and AAAA.
The fix was to install bind9-hosts instead of hosts.

So, if you are running a debian workstation, you might find it helpful to run "sudo apt-get install bind9-host" which will make it replace the hosts package.


  1. Reading this kind of articles always useful and great for knowledge,Website Hosting India

  2. I was not much familiar with IPv6 Linux. You article made me get into interest with such workstation. Thanks a lot for sharing it here.
    Web hosting