(Hostinge) In your VPS Control Panel, DNS Manager does not have the option to enter nameservers.
Because of this, you should use the two DNS I mentioned above.
They work great.
Take a test.
You can enter all records in Hostinger’s DNS record that are in Virtualmin > DNS Settings > DNS Records.
Or everyone who is on Virtualmin for Hostinger’s DNS.
If you’ve already created a VM, Virtualmin will automatically configure dovecot and postfix. You can correct it if any information is missing.
In the Virtualmin, Create Virtual Server tab, enter your domain and fill in the fields and enable everything in Enabled features minus Virus filtering.
See your IP’s: in IP address and forwarding
If you are a Webmin / Virtualmin newbie and wish to have a quick 10 minute paid chat with me about this, you could do that in addition to interacting with the very helpful community via this forum.
In your case, it looks like you need to first create A records for your name servers in your zone on your registrar DNS servers, so that when you enter them as glue records, it can look them up. Once you have the glue records working, you are then managing DNS on your own servers and can disable DNS at the registrar.
Some registrars allow entering a name and IP for each name server, but that’s just hiding the complexity of springing up new DNS servers for a new zone. But, you generally only need to do this once.
Same I done bro, but the fast propagation like CloudFlare are not gain to my nameservers, so they don’t update the site well, How to fast the propagation like CloudFlare do under 5 minutes only?
Changing records in your own DNS zones hosted by your own DNS servers is unrelated to propagation time involved in updating glue records. Glue records must propagate to the root name servers for your TLD (like .com or .org or whatever), which can take a while.
Changing records in your own zones on your own servers may be cached for up to the configured TTL, but this is quite different from changing a glue record. DNS is a caching protocol, and your TTL determines how long it’ll be cached…but your DNS server isn’t propagating records to the world’s DNS servers, it’s just waiting for servers to ask it for records and it answers…those servers may then cache them up to the TTL.
Every registrar has a different process for updating glue records. Cloudflare may be faster than some at update glue records (if you’re talking about using Cloudflare as your registrar, that is, it isn’t clear from your question). Cloudflare doesn’t control all of the root zone name servers, so they can only work with the systems those root servers provide and they are not instant (though it’s usually only a few minutes). But, some registrars do it in batches less often than others, probably.
Propagation of glue records generally only takes a few minutes, but can take up to a few hours, depending on your registrar, mostly. But, if it isn’t working a few hours later, something else is wrong.
But, also, if you get familiar with tools for troubleshooting DNS, you can know whether the problem is propagation time or something you did wrong almost immediately. You can check whois for your domain. If it shows the new name servers, you aren’t waiting on glue record propagation and something else is wrong.
$ whois harshvardhansolanki.com |grep 'Name Server'
Name Server: ns1.harshvardhansolanki.com
Name Server: ns2.harshvardhansolanki.com
So far, so good.
$ host ns1.harshvardhansolanki.com 140.245.16.10
;; communications error to 140.245.16.10#53: timed out
;; communications error to 140.245.16.10#53: timed out
;; no servers could be reached
Not so good. Firewall, wrong IP, or…?
Also, as an aside, if you only have one server, you shouldn’t host your own DNS. Just host it with your registrar, or use one of the supported cloud DNS services (Pro has more cloud DNS options than GPL, but GPL, I think, can manage DNS in Route 53).
Is Hostinger where you bought the domain name? Tucows has an obnoxious quirk that makes you sign into the domain name to create the glue records.
The glue records have an IP associated with them. You don’t show on Hostinger where you added those. If you just put in name servers without the IP address then those aren’t glue records.