[Samba] Name to address resolution: A and AAAA records

Jeremy Allison jra at samba.org
Wed Feb 10 15:58:23 MST 2010


On Wed, Feb 10, 2010 at 08:42:48PM -0200, Ernesto Silva wrote:
> Hi,  I'm installing a few linux clients and one server with samba. The
> network addresses are IPv6 in the .local domain.
> 
> The avahi-daemon implements de MDSN resolver.
> 
> A standard "ping6 -Ieth0 servername.local" generates a "AAAA" query packet
> which is correctly responded by the servername.local machine and the ping
> works fine.
> 
> "smbclient -L servername.local" generates a "A" query packet, which de
> avahi-daemon can't respond because (I think) it's a IPv4 query over a IPv6
> channel, and there is not IPv4 address to answer.
> 
> Shouldn't smbclient query for a "AAAA" record over a IPv6 channel?

Modern smbclients just does a getaddrinfo() call, we don't
explicitly ask for IPv4 or IPv6. What we get back is what
we get back.

What version of Samba on what platform ?

Jeremy.


More information about the samba mailing list