Question hostname access through vpn ssl without local domain

mamaxv

Junior Member
Aug 13, 2024
6
0
6
hello,
how to access remotely, through an ssl vpn, computers with their hostname and not their ip ?
The remote network does not have a local domain with a domain controller, the computers are all in workgroups.
I know it's possible because one of my clients works like that but I don't know how he did that, he accesses a computer with his hostname without fqdn...
Thanks
 

Fallen Kell

Diamond Member
Oct 9, 1999
6,092
455
126
Well, there are really only two choices here. Either there is a DNS server somewhere that is keeping track of the hostnames, or you are using a local hosts file that has all the hostnames and ip addresses in it that needs to be updated across all the systems whenever a change occurs.

Assuming this is a windows environment, the hosts file would be located "c:\Windows\System32\Drivers\etc\hosts".
 

mamaxv

Junior Member
Aug 13, 2024
6
0
6
Yes indeed, you actually just need to have a DNS server.
But I have a question, my computers have the IP of the DNS server in primary DNS but they do not register in the DNS even if I do an "ipconfig /registerdns".
Do I have to register them manually?
I never have these problems when there is a domain controller.
Thanks
 

lantis3

Senior member
Oct 18, 2023
277
55
61
Already mentioned above, if you setup ZeroTier VPN, no DNS required. You can use computer name directly. There are many tutorials on Youtube.

Not so sure about Tailscale. Many tutorials on YT too.
 
Last edited:

mamaxv

Junior Member
Aug 13, 2024
6
0
6
I don't know these tools and I don't want to use third party tools. In addition, there is already a firewall in place, so I have to use the VPN system of this firewall.
Does anyone know why my computers can't register automatically in my DNS ?
I don't have this problem in networks with a domain controller.
Thanks
 

lantis3

Senior member
Oct 18, 2023
277
55
61
ZeroTier/Tailscale does not require you configure firewall at all.

And what is "your" DNS? Desktop Windows from Windows 3.0 to Windows 11 never came with any DNS server. You are only using public DNS servers from your ISP, or Google's DNS, all the time. You never own any DNS.

When you are in a domain, it's your company's domain controller providing the DNS.

If you want your own DNS server, I recommend Technitium DNS. Or Pi-hole running on another machine

You have to watch tutorials on Youtube. I'm not going to hold your hand,
 

mamaxv

Junior Member
Aug 13, 2024
6
0
6
my dns server is under windows server, so no problem. I don't have a domain controller but that's not a problem.
On the other hand, I don't understand why computers don't register in my DNS.
 

Fallen Kell

Diamond Member
Oct 9, 1999
6,092
455
126
Typically you need to configure your VPN client to use the DNS server of the environment you are connecting into when your VPN connection is enabled. Since you havn't said what VPN software you use, none of us can tell you how to do it.

I can give you generic guidance, such as with OpenVPN (a common used VPN client):

1) Turn off the VPN connection (you can not edit this if it is enabled)
2) OpenVPN will use by default directory of "C:\Program Files (x86)\OpenVPN\config\" for storing it's config files. You will need to edit the appropriate file that already contains your VPN settings file (usually a .ovpn or .conf file extension) for this connection with a text editor. These files are in XML format, and you need to add the following "dhcp-option DNS XXX.XXX.XXX.XXX" (changing XXX.XXX.XXX.XXX to the correct IP address of the DNS server that runs in the remote environment) into the correct section.
3) Turn on the VPN connection....


Usually the VPN server would have these settings configured in it already so that the client would not need to set these, but that isn't always the case, and certainly looks like it in your situation.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |