Egon Olieux
Dabbler
- Joined
- Oct 7, 2014
- Messages
- 20
Does anyone here have experience running dnsmasq in an iocage jail? (freenas 11.2).
I had dnsmasq working in a warden jail, but was forced to move it to iocage, and can't seem to get it working.
/usr/local/etc/dnsmasq.conf:
/etc/resolv.conf:
Although dnsmasq seems to be running:
I can't seem to be able to get a response from dnsmasq:
I assume the same thing happens in the dnsmasq jail itself, as nslookup uses the 2nd entry from resolv.conf:
When looking in the logs, dnsmasq reports that the max number of concurrent queries has been reached:
I have no idea where this comes from though. Does anyone know what might be going on here?
I had dnsmasq working in a warden jail, but was forced to move it to iocage, and can't seem to get it working.
/usr/local/etc/dnsmasq.conf:
Code:
no-hosts addn-hosts=/etc/hosts_dnsmasq expand-hosts local=/lan/ bogus-priv strict-order domain-needed domain=lan
/etc/resolv.conf:
Code:
search lan nameserver 127.0.0.1 # Force local queries to be handled by dnsmasq. nameserver 8.8.8.8 nameserver 8.8.4.4
Although dnsmasq seems to be running:
Code:
[root@dnsmasq /]# netstat -an Active Internet connections (including servers) Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp4 0 0 192.168.1.16.53 *.* LISTEN udp4 0 0 192.168.1.16.53 *.*
I can't seem to be able to get a response from dnsmasq:
Code:
egonolieux@z97:~$ nslookup z97.lan 192.168.1.16 ;; connection timed out; no servers could be reached
I assume the same thing happens in the dnsmasq jail itself, as nslookup uses the 2nd entry from resolv.conf:
Code:
[root@dnsmasq /]# nslookup z97.lan Server: 8.8.8.8 Address: 8.8.8.8#53 ** server can't find z97.lan: NXDOMAIN
When looking in the logs, dnsmasq reports that the max number of concurrent queries has been reached:
Code:
Aug 18 23:21:05 dnsmasq dnsmasq[26390]: Maximum number of concurrent DNS queries reached (max: 150) Aug 18 23:21:45 dnsmasq last message repeated 4 times Aug 18 23:23:55 dnsmasq last message repeated 13 times Aug 18 23:33:56 dnsmasq last message repeated 30 times Aug 18 23:43:48 dnsmasq last message repeated 59 times
I have no idea where this comes from though. Does anyone know what might be going on here?