From owner-freebsd-net@FreeBSD.ORG Thu Mar 28 15:00:46 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id CA49E7ED for ; Thu, 28 Mar 2013 15:00:46 +0000 (UTC) (envelope-from mattia.rossi.mailinglists@gmail.com) Received: from mail-wi0-x230.google.com (mail-wi0-x230.google.com [IPv6:2a00:1450:400c:c05::230]) by mx1.freebsd.org (Postfix) with ESMTP id 64CB2D6E for ; Thu, 28 Mar 2013 15:00:46 +0000 (UTC) Received: by mail-wi0-f176.google.com with SMTP id hm14so3395548wib.15 for ; Thu, 28 Mar 2013 08:00:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=tVpz2LpNsLXQ98TvbvVfEgQ97dDUob+5NWB7qWQUFL0=; b=grcIlD4Lww02V049pAlQkY7g07ZIjWWPjHJ7jOa5sYeKFjmwIOlHZAVnh6yfj2dXEX 6PhD6cUd1puVMcssP5XGVrt2ARsWfreZ9O67tzqoInAHXEelZOy3E6vC9dWnWClqZVoi eWT2aEVhuq52oca6bp57XcjsMXrBqO53qDa6IETQtzHCXd0Ykt5VOKWt3RL43LYj75DP s5Z4SbQjNrljJhRqK/ULlyLDlY8Miiq6kKmGn7osDIfbLRJ3Ff7GTjAkl800vwablg47 R1veiTj8IfBk1IHTVhBOw67I7mwYf2gh+7wY4K9PoSM7EOAE+y7TTFjGPa/581Tz8sYu BHmw== X-Received: by 10.180.13.197 with SMTP id j5mr17049428wic.21.1364482845573; Thu, 28 Mar 2013 08:00:45 -0700 (PDT) Received: from [192.168.0.101] (vpn.static.83-173-212-209.cybernet.ch. [83.173.212.209]) by mx.google.com with ESMTPS id q13sm16201178wie.0.2013.03.28.08.00.44 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 28 Mar 2013 08:00:44 -0700 (PDT) Message-ID: <51545B1B.2010807@gmail.com> Date: Thu, 28 Mar 2013 16:00:43 +0100 From: Mattia Rossi User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-Version: 1.0 To: freebsd-net@freebsd.org Subject: Re: Win7 client, IPv6 network, multicast DNS equests and BIND name server? References: <394652604.20130328174952@serebryakov.spb.ru> <51545A98.9020506@gmail.com> In-Reply-To: <51545A98.9020506@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Mar 2013 15:00:46 -0000 Am 28.03.2013 15:58, schrieb Mattia Rossi: > Am 28.03.2013 14:49, schrieb Lev Serebryakov: >> Hello, Freebsd-net. >> >> This question is not very FreeBSD specific, but as my router and DNS >> server are FreeBSD-based, I think a could ask it here and don't >> subscribe do BIND-related list, Ok? >> >> When DHCPv4 is not available, Win7 clients on my network pick up >> proper IPv6 prefix, but cannot pick up DNS server name from router >> advertisment. In such situation Win7 clients try to use ff01:: >> multicast addresses for DNS resolution. >> >> I have bind server, which listens on all addresses (udp6 *:53), but >> it seems, that it doesn't answer on these requests :( >> >> Is it possible to configure BIND (system one) to process such >> requests? >> > In my experience you need to run a DHCPv6 server along with the rtadvd > daemon to get the DNS server to your Win7 box. > In rtadvd.conf set the raflags to: > :raflags="o":\ > > This tells the client to look for a DHCPv6 server, and to grab the > information supplied there. > In your dhcpd.conf (ISC DHCPD) then you need an entry like this: Sorry, should be dhcpd6.conf > > subnet6 2001:db8::/64 { > option dhcp6.name-servers 2001:db8::1; > } > > Where the subnet has to reflect the actual subnet configured on the > interface you're sending out DHCP offers. > > In rc.conf add: > dhcpd6_enable="YES" > dhcpd6_ifaces="em0" or whatever interface DHCP should listen on. > > And now your Win7 should be happy. > > Win7 using ff01: for DNS lookups seems a bit strange to me, as I > thought that Win7 is using LLMNR > (http://en.wikipedia.org/wiki/Link-local_Multicast_Name_Resolution), > the counterpart to MDNS (http://en.wikipedia.org/wiki/Multicast_DNS) > to look up names on the local Lan and to discover services > (http://en.wikipedia.org/wiki/Zero_configuration_networking). Both use > addresses from the ff02: range. > > I've looked into getting MDNS to update BIND like DHCP would do for > DDNS, but had no luck to get that going. > I don't think LLMNR could interoperate with BIND at all. > > Hope that helps. > > Cheers, > > Mat >