On 04/24/17 19:27, Martin Hanson wrote:
Hi

I have successfully setup unbound on OpenBSD 6.1 and I can query it.

In the same setup I have tested dnsmasq, but it almost seems broken on OpenBSD 
6.1.

I have disabled unbound and confirmed nothing is running on port 53 using 
netstat.

Then I have installed dnsmasq from packages and set the dnsmasq.conf file as 
follows:

<SNIP>
listen-address=127.0.0.1

address=/foobar/10.0.0.1

server=8.8.8.8
</SNIP>

This is just a dummy setup for testing.

In /etc/resolv.conf I have (as with unbound):

nameserver 127.0.0.1

I have then started dnsmasq with:

/etc/rc.d/dnsmasq start

And I have confirmed it's running on port 53 using netstat.

No matter what I do dnsmasq doesn't respond to the query.

<SNIP>
# dig foobar

; <<>> DiG 9.4.2-P2 <<>> foobar
;; global options:  printcmd
;; connection timed out; no servers could be reached
</SNIP>

What am I missing? Is dnsmasq broken on OpenBSD 6.1?

Kind regards
rcctl set dnsmasq flags -z
rcctl restart dnsmasq

https://marc.info/?l=openbsd-misc&m=149229238014661&w=2

Reply via email to