ZeroTier Question
-
@scottalanmiller said in ZeroTier Question:
@WLS-ITGuy said in ZeroTier Question:
@scottalanmiller Outlook client doesn't connect. Keeps asking for password. Webmail says page not found.
But these same services work for people on the same DNS when they are in the office?
Works for me running a mac. Works for other machines that never leave the network. Those that never leave I didn't set to a static DNS on the ZT nic.
-
I suppose my other option is to do mapped drives via ZT IP address and remove the static DNS.
-
@WLS-ITGuy said in ZeroTier Question:
I suppose my other option is to do mapped drives via ZT IP address and remove the static DNS.
And hosts files work great, too.
-
@WLS-ITGuy said in ZeroTier Question:
@scottalanmiller said in ZeroTier Question:
@WLS-ITGuy said in ZeroTier Question:
@scottalanmiller Outlook client doesn't connect. Keeps asking for password. Webmail says page not found.
But these same services work for people on the same DNS when they are in the office?
Works for me running a mac. Works for other machines that never leave the network. Those that never leave I didn't set to a static DNS on the ZT nic.
But they are using the same DNS as the one on the ZT NIC, right?
-
@scottalanmiller said in ZeroTier Question:
@WLS-ITGuy said in ZeroTier Question:
@scottalanmiller said in ZeroTier Question:
@WLS-ITGuy said in ZeroTier Question:
@scottalanmiller Outlook client doesn't connect. Keeps asking for password. Webmail says page not found.
But these same services work for people on the same DNS when they are in the office?
Works for me running a mac. Works for other machines that never leave the network. Those that never leave I didn't set to a static DNS on the ZT nic.
But they are using the same DNS as the one on the ZT NIC, right?
No. All DHCP machines getting DNS from DHCP scope
-
@WLS-ITGuy said in ZeroTier Question:
@scottalanmiller said in ZeroTier Question:
@WLS-ITGuy said in ZeroTier Question:
@scottalanmiller said in ZeroTier Question:
@WLS-ITGuy said in ZeroTier Question:
@scottalanmiller Outlook client doesn't connect. Keeps asking for password. Webmail says page not found.
But these same services work for people on the same DNS when they are in the office?
Works for me running a mac. Works for other machines that never leave the network. Those that never leave I didn't set to a static DNS on the ZT nic.
But they are using the same DNS as the one on the ZT NIC, right?
No. All DHCP machines getting DNS from DHCP scope
But it is the same DNS right? No matter how they get it or on what connector it is, it's the same DNS handing out the same info, right? If not, that's a major issue.
-
@scottalanmiller said in ZeroTier Question:
@WLS-ITGuy said in ZeroTier Question:
@scottalanmiller said in ZeroTier Question:
@WLS-ITGuy said in ZeroTier Question:
@scottalanmiller said in ZeroTier Question:
@WLS-ITGuy said in ZeroTier Question:
@scottalanmiller Outlook client doesn't connect. Keeps asking for password. Webmail says page not found.
But these same services work for people on the same DNS when they are in the office?
Works for me running a mac. Works for other machines that never leave the network. Those that never leave I didn't set to a static DNS on the ZT nic.
But they are using the same DNS as the one on the ZT NIC, right?
No. All DHCP machines getting DNS from DHCP scope
But it is the same DNS right? No matter how they get it or on what connector it is, it's the same DNS handing out the same info, right? If not, that's a major issue.
WEll, Shit! Now I am confused!
LAN side - gets 172.16.0.10 172.16.0.15
-
Got it working!
Had to make an A record entry in DNS.
Not pretty but it works.
-
@Dashrender said in ZeroTier Question:
@scottalanmiller said in ZeroTier Question:
@WLS-ITGuy said in ZeroTier Question:
Setting the ZT IP addresses of my two on-site DCs in the V-NIC on the client works. Should this be a short term fix only?
Setting them as DNS? That seems like a good solid fix. So you are getting reliably good DNS results now? I think that you are good to go
I see a problem - How does the mobile PC find the ZT controller when it out and about? When will the mobile PC decide to use the DNS servers provided by the real network card vs using the DNS provided by the ZT adapters?
You really do need/want both to be able to work. So you go to a new location, you connect to their network, your computer needs to use DNS to find the ZT controller on the internet (unless they are considered static and the ZT software just has an IP for the controller - then nevermind), but assuming it's not FQDN based for controllers, you'll need to use the physical NICs DNS to find the controller, then after you ZT network is up, you can switch full time over to use the domain's DNS for anything/everything.
@adam-ierymenko would be better able to describe how the connection process works... but from what I have seen once you are connected to the ZT Network and you have a DNS server setup on the ZT NIC, it will go through the ZT DNS server, and if that completely fails, then it will fall back to the DNS servers on your physical NIC (Wireless or Ethernet) then.
-
@WLS-ITGuy said in ZeroTier Question:
Got it working!
Had to make an A record entry in DNS.
Not pretty but it works.
As long as it works consistently and you understand WHY it works, you should be in good shape.
-
@WLS-ITGuy said in ZeroTier Question:
Got it working!
Had to make an A record entry in DNS.
Not pretty but it works.
Why is that not pretty? A missing A Record would be the ugly thing.
-
@scottalanmiller said in ZeroTier Question:
@WLS-ITGuy said in ZeroTier Question:
Got it working!
Had to make an A record entry in DNS.
Not pretty but it works.
Why is that not pretty? A missing A Record would be the ugly thing.
ZT adapters don't always add the correct DNS entries to DNS - I think JB mentioned this earlier.
What exactly did you add for the A record? The ZT IP of the Exchange server? (you did install ZT on the Exchange server, right? - I'm guessing you did since you have it working now.)
-
You ran into the exact thing I have been repeatedly saying. you have to have ALL DNS updated.
-
@dafyre Your OS's DNS resolver decides how DNS works. ZeroTier gives you a port to a virtual LAN, nothing more.
-
@Dashrender ZT does precisely nothing to DNS... at least right now.
-
@adam.ierymenko said in ZeroTier Question:
@dafyre Your OS's DNS resolver decides how DNS works. ZeroTier gives you a port to a virtual LAN, nothing more.
Right. We can enter DNS servers on the ZT Nic settings so that we can hit our internal DNS servers while not physically connected to the LAN. As mentioned by @JaredBusch that can cause issues with DNS giving out internal IP addresses rather than ZT IP addresses if the DNS servers can't handle split-brain (this is coming for Windows in Server 2016, IIRC).
Edit: This is not a ZT problem, as ZT works fine if you do IP addresses or hosts files.
-
@adam.ierymenko said in ZeroTier Question:
@Dashrender ZT does precisely nothing to DNS... at least right now.
How do set the resolver to make it use the domain's(inside ZT) DNS first, and the NIC's DHCP assigned DNS second?
-
@Dashrender said in ZeroTier Question:
@adam.ierymenko said in ZeroTier Question:
@Dashrender ZT does precisely nothing to DNS... at least right now.
How do set the resolver to make it use the domain's(inside ZT) DNS first, and the NIC's DHCP assigned DNS second?
In Windows, you assign the ZT IP address of the DNS server in the interface properties (see my images from earlier) and then just make sure that the ZT Nic is at the top of the order.
-
@adam-ierymenko
I have to assume this DNS problem exists for everyone, not just windows domains.You're on a linux laptop at star bucks. You want to access resources that are only known by internal DNS within your organization. So the DNS requests must be sent to the companies internal DNS first. If that server fails, then failover to the DNS provided by Star Bucks.
-
@Dashrender said in ZeroTier Question:
@adam-ierymenko
I have to assume this DNS problem exists for everyone, not just windows domains.You're on a linux laptop at star bucks. You want to access resources that are only known by internal DNS within your organization. So the DNS requests must be sent to the companies internal DNS first. If that server fails, then failover to the DNS provided by Star Bucks.
In Linux, you'd make sure the ZT DNS is the first one in the list in /etc/resolv.conf [and wherever else you have to specify it to make it actually stay at reboots].