MagicDNS does not work with fly.io

Hi,

I am setting up an app with Tailscale. I follow the steps provided by Tailscale.

It works very well, except the MagicDNS that I can not ping my machines by using MagicDNS name or full name.

My /etc/resolv.conf has the only line:

nameserver fdaa::3

I am not sure where things go wrong, please help me to trouble shot!

2 Likes

I was having the same issue as you. Per this suggestion on Reddit:

I switched the iptables used in my container to iptables-legacy, and that fixed the issue.

Possibly needs to use legacy iptables?
add to Dockerfile

RUN update-alternatives --set iptables /usr/sbin/iptables-legacy
RUN update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy

https://github.com/hassio-addons/addon-tailscale/issues/20#issuecomment-929104783