Date: Tue, 21 Sep 2010 10:18:05 +0200 From: =?ISO-8859-1?Q?Samuel_Mart=EDn_Moro?= <faust64@gmail.com> To: dnsmasq-discuss@lists.thekelleys.org.uk, freebsd-questions@freebsd.org Subject: Re: dnsmasq, mfsBSD, status refused Message-ID: <AANLkTikdTyAG2EL=SUf8TDDjnLZx6FLUsFazZiYrd%2BtF@mail.gmail.com> In-Reply-To: <AANLkTim9wjDnBjXi-tV7mry_hPeSEFJYck1ZV_DKG1nz@mail.gmail.com> References: <AANLkTim9wjDnBjXi-tV7mry_hPeSEFJYck1ZV_DKG1nz@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, I tried to associate hostnames with IPs in the hosts file. And it worked... With my linux gate, declaring hosts (mac,ip,name,lease) in one line works perfectly... I don't understand why it won't with FreeBSD... Whatever, sorry for the disturbance :) Cheers, Samuel Mart=EDn Moro {EPITECH.} tek5 CamTrace S.A.S On Mon, Sep 20, 2010 at 2:56 PM, Samuel Mart=EDn Moro <faust64@gmail.com>wr= ote: > > 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 > the 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 (omeg= a) > dhcp-option=3D3,10.242.42.254 # gateway > dhcp-option=3D19,1 # option ip-forwarding = off > 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= ,80.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 CASer= ver > 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 > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikdTyAG2EL=SUf8TDDjnLZx6FLUsFazZiYrd%2BtF>