aardvark-dns using port 53
#14242
Replies: 2 comments 4 replies
-
Not at present. There is no way to specify that DNS should use a
nonstandard port, so until we implement a NAT solution port 53 must be
used. You can bind your DNS server to specific IPs (the machine’s public
IPs) to avoid the ports bound by Aardvark.
…On Sat, May 14, 2022 at 11:11 dada513 ***@***.***> wrote:
Cannot start Pi-Hole when aardvark-dns is enabled, because it takes up
port 53
***@***.*** containers]# netstat -plntu | grep 53
udp 0 0 10.89.0.1:53 0.0.0.0:* 2617/aardvark-dns
when aardvark-dns is disabled, everything works, but you can't use dns to
communicate between containers
Port is hardcoded
https://github.com/containers/netavark/blob/4af309fb888d54238dc9028bcfe150425c687b02/src/dns/aardvark.rs#L93-L100
related containers/aardvark-dns#13
<containers/aardvark-dns#13>
anyway to bypass this limitation?
—
Reply to this email directly, view it on GitHub
<#14242>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB3AOCDU3Z2YRYJZACDWI3DVJ67DBANCNFSM5V5WDBRA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
d-513
-
I know this issue is a bit old, but I had to remove the aardvark-dns package from Ubuntu in order to spin up pihole and unbound running on podman with a docker-compse.yml file. It's a bit of a special case, @mheon but I would say that it "just works" if I'm using legit docker versus podman. Would be nice if the port was configurable for Aardvark instead of being hardcoded. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Cannot start Pi-Hole when aardvark-dns is enabled, because it takes up port 53
when aardvark-dns is disabled, everything works, but you can't use dns to communicate between containers
Port is hardcoded https://github.com/containers/netavark/blob/4af309fb888d54238dc9028bcfe150425c687b02/src/dns/aardvark.rs#L93-L100
related containers/aardvark-dns#13
anyway to bypass this limitation?
Beta Was this translation helpful? Give feedback.
All reactions