[dnsdist] [Pdns-users] Recursor Container Issue

Alberto alberto at bersol.info
Tue Oct 31 11:22:55 UTC 2023


-----Mensaje original-----
De: Pdns-users En nombre de Alberto via Pdns-users
Enviado el: martes, 31 de octubre de 2023 12:01
Para: 'All about using and deploying powerdns'
<pdns-users at mailman.powerdns.com>
CC: Alberto <alberto at bersol.info>
Asunto: Re: [Pdns-users] Recursor Container Issue


-----Mensaje original-----
De: Otto Moerbeek 
Enviado el: martes, 31 de octubre de 2023 9:51
Para: All about using and deploying powerdns
<pdns-users at mailman.powerdns.com>
CC: Alberto <alberto at bersol.info>
Asunto: Re: [Pdns-users] Recursor Container Issue

Hello Alberto,

It would help if you exactly describe what you did, with command line and
the recursor.conf you used. That way we can try to reproduce.

Also, did you check log messages from the recursor? It almost sounds like
the recursor did not start because of an issue with the configuration. It
should log a message in that case.

On a side note: the recursor.d directory *is* documented in page that is
linked from the README in the docker hub:

https://github.com/PowerDNS/pdns/blob/master/Docker-README.md



Hi Otto!

I'm moving from "physical" PDNS scenario to Docker with their own
"recursor.d"/"pdns.d"  directories with personal configurations.

Documentation in
"https://github.com/PowerDNS/pdns/blob/master/Docker-README.md" is very
brief, and I'm not understood in the right way and I was making many probes
until it worked.

I was trying move configuration as I have, but it never worked.
Now, it Works at the end by this way.

This is start line...

docker run --restart unless-stopped -d --name mirecursor -p
127.0.0.1:1531:1531 -p 127.0.0.1:1531:1531/udp --log-driver syslog --log-opt
syslog-facility=daemon --log-opt tag=docker_pdns-recursor -v
/miconfig/docker/mipdns/recursor.d:/etc/powerdns/recursor.d -e
TZ=Europe/Madrid powerdns/pdns-recursor-49

Thank you so much

Alberto

--------------------
In this momento, I'm moving DNSDIST to Docker...

When I start container with this line:

	docker run --name midnsdist -p 127.0.0.1:53000:53000 -p
127.0.0.1:53000:53000/udp --log-driver syslog --log-opt
syslog-facility=daemon --log-opt tag=docker_dnsdist -v
/miconfig/docker/mipdns/dnsdist.d:/etc/dnsdist/dnsdist.d -e TZ=Europe/Madrid
powerdns/dnsdist-19

I't doesnt work, with this error message:

" Fatal error: binding socket to 0.0.0.0:53: Permission denied"

But in "dnsdist.conf" file, is the line...

setLocal('127.0.0.1:53000')

but If I run changing container path, it Works!

	docker run --name midnsdist -p 127.0.0.1:53000:53000 -p
127.0.0.1:53000:53000/udp --log-driver syslog --log-opt
syslog-facility=daemon --log-opt tag=docker_dnsdist -v
/miconfig/docker/mipdns/dnsdist.d:/etc/dnsdist -e TZ=Europe/Madrid
powerdns/dnsdist-19

It doesn't apply the same criteria, as "Blue Thunder Somogyi" said.

Best Regards,
Alberto




More information about the dnsdist mailing list