Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Feb 2000 04:30:03 -0800 (PST)
From:      Borja Marcos <borjamar@sarenet.es>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/16892: "domain" directive in /etc/resolv.conf not consistent  when using IPv6 and IPv4
Message-ID:  <200002221230.EAA01552@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/16892; it has been noted by GNATS.

From: Borja Marcos <borjamar@sarenet.es>
To: freebsd-gnats-submit@FreeBSD.org, borjamar@sarenet.es
Cc:  
Subject: Re: bin/16892: "domain" directive in /etc/resolv.conf not consistent 
 when using IPv6 and IPv4
Date: Tue, 22 Feb 2000 13:25:02 +0100

 	I have been looking at the code. The IPv6 resolution has
 been added to /sys/lib/libc/net/gethostnamadr.c, modifying the
 gethostbyname() function. With IPv6 enabled, it queries first for
 a IPv6 address and, if this fails, for an IPv4 address.
 
 	The queries for IPv6 and IPv4 should be done in the DNS
 resolver routines, at a lower level, preserving the "search" and
 "domain" semantics.
 
 	A candidate would be res_search()? 
 -- 
 ***********************************************************************
 Borja Marcos                    * Internet: borjam@we.lc.ehu.es
 Alangoeta, 11 1 izq             *           borjamar@sarenet.es
 48990 - Algorta (Vizcaya)       *           borjam@uninet.edu
 SPAIN                           *           borjam@well.com
 ***********************************************************************
 --- FreeBSD, turning PCs into workstations
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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