From owner-freebsd-net@FreeBSD.ORG Thu Mar 28 14:58:37 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 25353747 for ; Thu, 28 Mar 2013 14:58:37 +0000 (UTC) (envelope-from mattia.rossi.mailinglists@gmail.com) Received: from mail-ee0-f44.google.com (mail-ee0-f44.google.com [74.125.83.44]) by mx1.freebsd.org (Postfix) with ESMTP id B23DED53 for ; Thu, 28 Mar 2013 14:58:36 +0000 (UTC) Received: by mail-ee0-f44.google.com with SMTP id l10so5041177eei.31 for ; Thu, 28 Mar 2013 07:58:35 -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=e40D9taaT61idDGxJ/AzvtOxQ4FuGL8LhezClle04sc=; b=fFBTbZqidZmENZf5K8Xp3aCq/1LAMBCzuRDIkaE0e07MTwtPHJMzv9i/h3hhw5QnhK E+Erdrhfgu7E6onUy7Vaw018xCSsyYKAVuDgu8+4pY5CRPs4HjrVrpti0jpDxPVYfe8r RxL8Fgo2L6R8e2rfiYdj8pXEO1Tc2eSUHfSjg/EkhDt+e4+lQGrZZP14pWYNxjbKnqR8 QigKg5+g853M7tz8KbgW1cTLcW7eKrFENjF/PEirY1gTYaWuvWYjeohQBXxhMlEnTCEu Q54aWeYK8/QD8GCIzkrUSq0kz+w8pKVA9QLgLXhVQt4omKck0QmbA7vJD9FJO53KRQ2b lU1Q== X-Received: by 10.15.107.205 with SMTP id cb53mr38787279eeb.14.1364482715605; Thu, 28 Mar 2013 07:58:35 -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 3sm38246666eej.6.2013.03.28.07.58.33 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 28 Mar 2013 07:58:34 -0700 (PDT) Message-ID: <51545A98.9020506@gmail.com> Date: Thu, 28 Mar 2013 15:58:32 +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> In-Reply-To: <394652604.20130328174952@serebryakov.spb.ru> 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 14:58:37 -0000 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: 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