Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Aug 2007 11:52:09 +0800
From:      blue <susan.lan@zyxel.com.tw>
To:        freebsd-net@freebsd.org
Subject:   A and AAAA DNS query process in getaddrinfo()?
Message-ID:  <46BBE0E9.1070707@zyxel.com.tw>

next in thread | raw e-mail | index | archive | help
Dear all:

When looking into kame-20070801-freebsd54-snap, the function, 
_dns_getaddrinfo(), defined in getaddrinfo.c, will check if the device 
gets any IPv4/global IPv6 address before sending out any A/AAAA query by 
calling addrconfig() if the user does not specify the family type 
(AF_UNSPEC). However, FreeBSD-CURRENT (known is going to be FreeBSD7.0), 
does not do the process.

Do we need to do the same check before sending out the A/AAAA query?

Thanks.

BR,

Yi-Wen



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46BBE0E9.1070707>