[Dnsmasq-discuss] dnsmasq, mfsBSD, status refused

Samuel Martín Moro faust64 at gmail.com
Tue Sep 21 09:18:05 BST 2010


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ín Moro
{EPITECH.} tek5
CamTrace S.A.S


On Mon, Sep 20, 2010 at 2:56 PM, Samuel Martín Moro <faust64 at gmail.com>wrote:

>
> 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 at 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 at 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=1024
> local-ttl=15
> log-dhcp
> interface=bge1
> bind-interfaces
> no-negcache
> dhcp-range=10.254.254.1,10.254.254.254,255.0.0.0,1h
> dhcp-boot=pxelinux.0,omega,10.42.42.45          # PXE TFTP server (omega)
> dhcp-option=3,10.242.42.254                     # gateway
> dhcp-option=19,1                                # option ip-forwarding off
> dhcp-option=23,42                               # TTL de 42
> dhcp-option=44,10.242.42.254                    # Wins Server
> dhcp-option=45,10.242.42.254                    # NetBios DDS
> dhcp-option=46,8                                # NetBios Node Type
>
> dhcp-option=option: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=/usr/local/bin/dhcp_action
> domain=faust-network
> expand-hosts
> bogus-nxdomain=64.94.110.11     #get SSL certificate from another CAServer
> localmx
> selfmx
> conf-file=/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ín Moro
> {EPITECH.} tek5
> CamTrace S.A.S
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20100921/a5f13afc/attachment.htm 


More information about the Dnsmasq-discuss mailing list