Answer the question
In order to leave comments, you need to log in
How to set up a domain to work on a local network?
Hello.
I purchased a domain in *.ru, I plan to use it ONLY in the local network for my internal needs (well, maybe I'll make a VPN to the local network).
What is available: Mikrotik hex, a server with Proxmox, a bunch of VMs on Linux
What you want: raise local projects with a level 3 domain and SSL / HTTPS (hello Let's Encrypt), gitlab ci / cd, etc.
As I understand it, you need the following:
1) I remove all NS records from the registrar and make one A record to my external IP address.
2) I raise a local DNS server (bind9, PowerDNS, Unbound, djbdns, Dnsmasq) and configure zones there.
3) On Mikrot I prescribe the DNS server from the step above.
Missed nothing?
Answer the question
In order to leave comments, you need to log in
1) I remove all NS records from the registrar and make one A record to my external IP address.You can't remove all NS.
port NS to CLoudFlare. there you will keep the zone (fuck the extra crap with the dns server)
wrap everything up And the records on your white ip
at home raise nginx proxy_pass send these records to your VMs wherever you want.
If you don’t need your domain locals at all, just add static A records to the DNS on microte, well, again, Forward to the server with nginx proxy_pass, don’t fool
yourself with a local DNS server if you don’t understand how it works at all.
PS if you really fell into something to do, you can register all entries in your host
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question