From owner-freebsd-questions@FreeBSD.ORG Mon Sep 20 12:57:10 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0A20106566C for ; Mon, 20 Sep 2010 12:57:09 +0000 (UTC) (envelope-from faust64@gmail.com) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9397D8FC14 for ; Mon, 20 Sep 2010 12:57:09 +0000 (UTC) Received: by qyk4 with SMTP id 4so4758460qyk.13 for ; Mon, 20 Sep 2010 05:57:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=glfAdJiQ5uPvl7P37ROeXOtZcyi09ksFtAIEwAKU50M=; b=JoTVpYTtUjJ0PW1XGN1+Ec2Sy0FEiLp/fNU159l3PyTAEQE7MExFYtq4AbUCzepsYp FyPZWKxD1k5d01s8kS9mUJW/pBMcj2CUXuzcQg9pGPfPZyTyvgxDu83LJajwC44lN5y6 oreITdDg64xfb4M2g8Xgew91ygsFFDozOWOmI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=A4lPEB1VunbkMyHgVbqIgFj0PEld60Vi6EFtClOmBmhJLgI8br/vgBkz7iDflwNfn+ bTmnFzYkPSrw5IVLORdfWwKXcTdiWaM7B+Db71Cm9ZtYRrQT1iyCPqIjd3XkcdQdOdih swFHWuM9VEnTh+wW9dhZbDPCP96D6Cp3Dba/E= Received: by 10.224.28.139 with SMTP id m11mr5747174qac.347.1284987425191; Mon, 20 Sep 2010 05:57:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.187.212 with HTTP; Mon, 20 Sep 2010 05:56:35 -0700 (PDT) From: =?ISO-8859-1?Q?Samuel_Mart=EDn_Moro?= Date: Mon, 20 Sep 2010 14:56:35 +0200 Message-ID: To: dnsmasq-discuss@lists.thekelleys.org.uk, freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: dnsmasq, mfsBSD, status refused X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Sep 2010 12:57:10 -0000 Hi I'm trying to replace my gate with a qnap ts-509. I installed mfsBSD, based on FreeBSD-8.1-RELEASE amd64. I just had to build some pre-configured packages, add ipfw, ipfw_nat and libalias to boot modules. Everything's working just fine, except for the DNS (dnsmasq-2.55,1.tbz, rebuilt with config files and ipfw startup script) DHCP works perfectly. But DNS does not... Even on the (soon-to-be) gateway, so I'm assuming ipfw is not related to th= e problem (in doubt, I still send it) root@phi /real/tmp : ipfw list 00001 check-state 00002 allow ip from any to any via lo0 00003 allow tcp from any to any established 00500 allow ip from any to any via bge1 00666 allow tcp from me to any out via bge0 setup uid root keep-state 65535 deny ip from any to any (since bge0 is not plugged, it's quite empty...) root@phi /real/tmp : ./dig @localhost alpha.faust-network ; <<>> DiG 9.6.2-P2 <<>> alpha.faust-network ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: REFUSED, id: 13068 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;alpha.faust-network. IN A ;; Query time: 13 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Mon Sep 20 13:41:15 2010 ;; MSG SIZE rcvd: 37 basically, my configuration is the following: cache-size=3D1024 local-ttl=3D15 log-dhcp interface=3Dbge1 bind-interfaces no-negcache dhcp-range=3D10.254.254.1,10.254.254.254,255.0.0.0,1h dhcp-boot=3Dpxelinux.0,omega,10.42.42.45 # PXE TFTP server (omega) dhcp-option=3D3,10.242.42.254 # gateway dhcp-option=3D19,1 # option ip-forwarding of= f dhcp-option=3D23,42 # TTL de 42 dhcp-option=3D44,10.242.42.254 # Wins Server dhcp-option=3D45,10.242.42.254 # NetBios DDS dhcp-option=3D46,8 # NetBios Node Type dhcp-option=3Doption:ntp-server,213.186.41.134,88.191.79.242,193.55.167.2,8= 0.65.235.4,194.57.191.1,91.121.45.45 dhcp-script=3D/usr/local/bin/dhcp_action domain=3Dfaust-network expand-hosts bogus-nxdomain=3D64.94.110.11 #get SSL certificate from another CAServe= r localmx selfmx conf-file=3D/usr/local/etc/blocklist.conf # filter adds, shits, facebook, .= .. my resolv.conf: nameserver 10.242.42.254 #localhost, priv addr nameserver 8.8.4.4 domain faust-network I already have a dnsmasq working perfectly on my current gate (ArchLinux-x86_64). I copied the configuration, making a few changes (192.168.0.0/24 -> 10.0.0.0/8). So, I don't understant what I'm doing wrong.... Any idea? Cheers, --- Samuel Mart=EDn Moro {EPITECH.} tek5 CamTrace S.A.S