Skip to main content
Topic: As soon as I start Tailscale With Dinitctl my Browsers Stop Accessing Internet.. (Read 1058 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

As soon as I start Tailscale With Dinitctl my Browsers Stop Accessing Internet..

Deleted (double post - sorry!)

Re: As soon as I start Tailscale With Dinitctl my Browsers Stop Accessing Internet..

Reply #1
.... Turn it back off again with sudo dinitctl stop tailscaled and the internet starts working again.

This is my first full day trying out the DINIT version of Artix and I really like it, but after searching the forum and googling I am seeing only answers that suggest using systemd.   I haven't a clue how to get a better answer as I don't see this issue in the forum.

Quote
Use a compatible DNS manager. The recommended solution is to use systemd-resolved (which can be run on Artix even without full systemd adoption) to manage DNS settings. systemd-resolved provides a reliable interface that both Tailscale and your DHCP client can work with, preventing them from overwriting each other's configuration files.
Enable the service: sudo dinitctl enable systemd-resolved
Start the service: sudo dinitctl start systemd-resolved

I did not install networkmanager and I am using conman to manage the connection.

Any pointers to the Artix way of dealing with this will be appreciated.

Continuing to play with it, it works perfectly as a toggle:

"sudo dinitctl stop  tailscaled" and I have full internet access
sudo dinitctl start  tailscaled" and internet access immediately stops.

I am very sorry for the two posts -- I am not sure how that happened and can't seem to delete the first.

Re: As soon as I start Tailscale With Dinitctl my Browsers Stop Accessing Internet..

Reply #2
I had a similar problem with tailscale, and in the end this is what i did (and still do). You have to prevent MagicDNS from taking over the "resolv.conf" configuration...

Code: [Select]
tailscale up --accept-dns=false

will disable MagicDNS on the device, preventing Tailscale from modifying the DNS configuration file.
You will lose MagicDNS capability on your Tailnet but Tailscale ip addresses (which is what i use anyway) work perfectly fine.


Re: As soon as I start Tailscale With Dinitctl my Browsers Stop Accessing Internet..

Reply #3
You will lose MagicDNS capability on your Tailnet but Tailscale ip addresses (which is what i use anyway) work perfectly fine.

OK  thank you that is what I did not understand about what I read earlier. 

I can probably live with that too, but using magicdns over multiple machines is something I am commonly doing, so I hope a more complete solution will ultimately be discovered.

Re: As soon as I start Tailscale With Dinitctl my Browsers Stop Accessing Internet..

Reply #4
Just curious, are you using a vpn? That was what caused my problems. Not the vpn itself, but the fact that i had set it to deny access if the vpn dropped it's connection, which was indeed happening every time the resolv.conf file was changed to the tailscale nameserver(s).

Now i just stop the vpn if i'm using it, before starting tailscale and all is well. When i have finished with tailscale, i stop it with "tailscale down" and then continue as normal, with or without the vpn.

Re: As soon as I start Tailscale With Dinitctl my Browsers Stop Accessing Internet..

Reply #5
No, I'm not using a VPN and as far as I know I am just using tailscale itself over my standard connection.

Re: As soon as I start Tailscale With Dinitctl my Browsers Stop Accessing Internet..

Reply #6
No, I'm not using a VPN and as far as I know I am just using tailscale itself over my standard connection.

Ok, then either one of these will probably work, choose which one you want to use and see how you get on.

Quote
Uncheck "Use Tailscale DNS settings" in the Tailscale preferences menu.

Or via the command line using....

Code: [Select]
  tailscale set --accept-dns = false 

Hope you get it working as you want. 👍🙏



Re: As soon as I start Tailscale With Dinitctl my Browsers Stop Accessing Internet..

Reply #7
I thought first and foremost it was a vpn which would indeed intercept much of your networking.

https://tailscale.com/

Re: As soon as I start Tailscale With Dinitctl my Browsers Stop Accessing Internet..

Reply #8
Thanks again for the help!

Re: As soon as I start Tailscale With Dinitctl my Browsers Stop Accessing Internet..

Reply #9
Just in case it helps someone else, I see that I can make use of magicdns addresses if I download the static binary from here:

https://pkgs.tailscale.com/stable/#static

then, after having previously logging in to the tailscale website, after that point I am able to start tailscale with this command:

 ./tailscaled --state=tailscaled.state

and during that session I can access other computers using their magicdns name without that interfering with my standard internet access.