My NS servers, Namecheap says they are wrong and i need two

Hello, I have a VPS running virtualmin and whmcs it was working fine
it is under hosting.rapidonet.com.mx and ns1.rapidonet.com.mx and ns2… have the same IP to the virtualmin server, this A records are created for the rapidonet.com.mx domain
i also created directly from the registar ns1.mailmachine.mx and pointed it to the virtualmin vps.

I acquired a new domain in namecheap and cant add my ns1 servers. It displays an error . I requested support and they mentioned i need to add glue records for ns1 from the regitar and not A records.
( i do not know what are glue records or how to add them)

also, they require 2 DNS servers and IPs cannot be identical.

im pretty sure im not the only one with just one NS IP.

How are you guys solving this?
all comments or pointers are welcomed

Set up a second name server somewhere. I did it at Amazon for ~$3.50 a month. First place I was involved with had an agreement with someone to host each other’s secondary dns. I don’t know if anyone still does that.

@agidi,

A “glue record” is a record created at your domain registrar telling them “where” your nameserver lives… (IP Address).

Once you’ve register the glue record(s), you then need to create the proper DNS records which is where the A Records come in…

In your DNS, you create an A record for “ns1.yourdomain.com”, “ns2.yourdomain.com” (these are the same domains you created “glue record” for earlier and the same IPs associated with them).

Now point the domain to your new nameservers… Tada… Problem solved…

Still confused? Hire me, and I’ll get it all sorted out for you in less than an hour!

*** Professional, Trusted, Affordable Technical Support - tpnAssist.com ***

You kinda are. If you cannot maintain two name servers, you should just leave the DNS up to someone who can, like Namecheap.

You’re the only one I’ve ever heard of.

Cloudflare is also a free alternative.

oh come on, plesk setup uses single ip for 2 ns’s (ns1+ns2)… pretty sure most control panels do the same thing…
and from my experience, its a very common configuration i’ve seen in a lot of hosting providers.
its generally not recommended and not a good practice, but it’s the first time i hear of this requirement…
(not sure if that’s required by any ietf paper (?))

in anycase, @agidi what are the nameservers you entered when registering domain? did you add ns1 and ns2 (even with same ip) there?
and also, did you try using an ipv6 address as a 2nd-3rd nameserver?

disclaimer, using 3 nameservers in different dcs personally , looking for a 4th currently…

It is a requirement to have an alternative nameserver on a different network from the first one. Obviously the IP addresses of the two will then have to be different.

Interesting idea, @dimitrist, about using the ipv6 address for the secondary.

requirement by who? by namecheap perhaps, but not by any general/registrar/NS system.

Required by every standards compliant domain registrar / DNS service provider, I suppose.

Yes, there are many which are not standards compliant and will accept any entry without validation. Rackspace is liberal, for one.

I wonder if Virtualmin’s DNS server itself accepts two nameservers which have the same IP address, but I detract.

1 Like

The requirement to run two nameservers comes from §4.1 of RFC 1034, and is indeed for redundancy. (one can dispute this is a recommendation really…)

random link : networking - Two name servers necessary? - Server Fault

I use external DNS only with my Virtualmin config… eNom gives me 5 DNS servers…

Same here. It’s just so much easier. In roughly the time it takes to post this message he could have already had it done.

Microsoft Exchange Server used to allow you to do all sorts of interesting things with DNS that broke the internet too. Top tier providers have protocols to follow. Agree, disagree doesn’t matter.

You can certainly do that in Virtualmin. There is nothing stopping you.

I made a technical recommendation to have two name servers. If you want to do it with one, it’s none of my business. Go for it. It’s literally just one or two config changes in your Server Templates (one or two depending on whether you want ns1 and ns2 to be the same one for all your domains or if you want to create new A and NS records for every new domain).

i probably got misunderstood, never use single ip nameserver myself…
was just amazed to read that you’ve never met such behavior before, when it’s common/default in every control panel, virtualmin included…

2c.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.