Can you have multiple name server set in registrar? - dns

Take for example I have bought my domain example.com at Namecheap.
I than set a custom customer name server in Namecheap because I am using Cloudflare as my authoritative DNS as follows
alpha.ns.cloudflare.com
beta.ns.cloudflare.com
Now my plan is to have DNS high-availability to prevent any DNS outage and ensure the accessibly my web application. I am going use another set of name server from Godaddy namely
ns01.domaincontrol.com
ns02.domaincontrol.com
So can I add these 4 name server record from 2 DNS provider in Namecheap to achieve high-availability ?
alpha.ns.cloudflare.com
beta.ns.cloudflare.com
ns01.domaincontrol.com
ns02.domaincontrol.com
what I have tried is I added these records but in Godaddy it is still showing "This domain is registered elsewhere. To use these DNS records on your domain, set your domain to these nameservers at your registrar:" , only in Cloudflare is active.

Related

Azure Front Door and DNS Configuration

I'm having issue configuring my DNS to make all traffic routed from the root domain (no www) to the Azure front door. The below is what I have done so far:
Create the front door (frontend/backend/routing)
On-Board my custom domain (let's say hello.com) on front door
Now as per Microsoft guide I have to add a CNAME record to the DNS hosting provider (domain.com) to route the traffic to front door. But I have been told by domain.com that I cannot have A record and CNAME record named #
So I've found this solution https://learn.microsoft.com/en-gb/azure/frontdoor/front-door-how-to-onboard-apex-domain
Then I have created a DNS Zone on my Azure environment named "hello.com" and followed the guide.
Still I cannot see the traffic going through the front door.
Is that because I have 2 DNS servers? (one hosted on domain.com and another one on Azure)?
Can It be propagation time ?
Also how does azure know that I'm the owner of hello.com domain ?
As the linking document, to onboard a root or apex domain on your Front Door, you could use alias records in Azure DNS.
There are other DNS providers as well that support CNAME flattening or
DNS chasing, however, Azure Front Door recommends using Azure DNS for
its customers for hosting their domains.
If you select to use Azure DNS to host DNS domains, first you need to create an Azure DNS zone (hello.com) in Azure and delegate the domain to Azure DNS via changing the name server records for the domain in your original DNS registrar. You can verify the delegation by using a tool such as nslookup to query the Start of Authority (SOA) record for your zone. It can take up to 72 hours to propagate worldwide, although it typically takes a few hours.
Then, you can add an alias record for the zone apex in the DNS configuration for the domain to be onboarded. After this, you can add the apex domain name in the custom host name field on the Front Door designer tab.
To access your backend web app with the custom domain, ensure that you have created appropriate routing rules for your apex domain or added the domain to existing routing rules. Or, you may enable HTTPS on your custom domain.

Making nameserver for put domain on server ip

I have a domain and i want to set it to my server(centos 7).
I made a dns server by bind on my server and made 2 nameserver (ns1.myDomain.ir and ns1.myDomain.ir) and set it in my domain configuration, But i cant ping to my domain.
What is the problem?
At the domain registrar, you need to specify the authorised DNS server for your domain. My suggestion is to use the domain registrar's DNS server for resolution and create a zone file there for your domain and enter the A records and other records for your use case.
To have a domain working you don't need to setup your on DNS (bind) server.

I need a help to set up Digital Ocean nameservers

I have a VPS server on Digital Ocean and I need to set up this server to host multiple domains with cPanel. I've been trying for 2 days and I can not understand the logic.
My domain is sbcw.com.br
I would like that at the end of this process my domain have function as the nameservers shown in the example below:
DOMAIN : mycustomer.com
NAMESERVERS : ns1.sbcw.com.br
ns2.sbcw.com.br
I need help to successfully configure the records to use my domain as a nameserver for other domains and I have little experience in this segment.
The attachment corresponds to some attempts to find the settings.
Assign the IPs and configure the name servers in WHM as
ns1.sbcw.com.br
ns2.sbcw.com.br
Make sure you have A records added for the name servers on the server with their IPs.
Contact your domain registrar where the domain sbcw.com.br is hosted and register those name servers in order to make them active. Those name servers should ping.
Make sure you have DNS zone created in WHM for the domain sbcw.com.br with the name servers assigned.

Domain registrar's DNS records vs web hosting DNS records

I bought a domain from Google Domains. I have an A record (on Google Domains DNS control panel) pointed to my server's IP. I had a www CNAME record pointed to mydomain.tld. To experiment with my hosting panel's DNS (I have VestaCP) I deleted the www record from Google Domains DNS panel. There was already a www A record on VestaCP DNS panel. I deleted that and added a www CNAME record pointing to mydomain.tld. And suddenly my www.mydomain.tld stopped resolving. I also tried adding a test A record but I couldn't ping `test.mydomain.tld'.
So, how does hosting panel's DNS work? Each time I add a new website (be it a sub domain or a new domain itself) VestaCP creates certain DNS records. Are these DNS records supposed to override the ones in domain registrar's DNS panel or vice versa? What are DNS records in VestaCP DNS are there for?
When you have your hosting and domain in one single server or with one provider, your domain DNS will be with your domain itself. You just need to point the A record to hosting IP. Your Nameservers will be the default.
If you have your domain with one hosting provider and domain with other then you need to change your domain Nameservers to hosting nameservers. Then your DNS will migrate to your hosting account. The changes you may do in your domain panel will not affect. You can change your DNS settings from your hosting account only.
Hope it helps.

DNS: Azure Server <-> SRV record (Godaddy)<-> Windows 2012 Domain Controller

I'm trying to add a Azure Server to an existing domain. Windows2012 is looking for _ldap._tcp.dc._msdcs.learnsense.org
How do I set up a Godaddy DNS SRV record that will point to my Domain Controller named ATA-Server?
For reference the fields are
Thanks!
I did it!
For anyone else who wants to do this, I was able to use Godaddy DNS to host a SRV record enabling a domain join for my Azure server.
How I did it!
On the domain controller DNS there's a _msdcs.domain zone and a folder _tcp and record _ldap. These DNS records are auto-populated when the server role DC is added. (For me this server's DNS is only for the local (internal) network.
I used above record's values to configure the Godaddy DNS as in their help page .
I tested the record using nslookup in powershell like shown in this page. Added the Azure server to the domain and restarted. (If you need help with that.)
That does it!

Resources