Open main menu

CDOT Wiki β

Changes

OPS345 Lab 5

1,402 bytes added, 02:06, 19 February 2022
DNS records
[[File:littlesvrNamespro.png|800px|border|center]]
If you can't obtain all these records using dig: you either don't understand how DNS works or you need more practice with dig. Keep trying until you figure it out.
 
== Registering a domain name ==
 
You can't get a publicly-resolvable domain name just by doing some magic on your server. You need to pay a registrar (usually a yearly fee of around 20$) to connect your records to the global DNS network.
 
Wikipedia sometimes has useful information, and the [https://en.wikipedia.org/wiki/Domain_Name_System#Address_resolution_mechanism Address resolution mechanism section] has a reasonably comprehensible diagram and description of a simple query process.
 
You would typically be interested in controlling somedomain.com (or .ca or .org, etc.) and therefore you would:
* Find a registrar who's authorized to sell domains under that TLD (top-level domain), which is .com in this example.
* Check whether somedomain.com is available.
** If it's available: you pay the registrar and in return you get exclusive control over the DNS records for that domain for the period of time you paid for.
** If it's not available: you're most likely out of luck. It can cost tens or hundreds of thousands of dollars to buy a domain from someone who already bought it.
* You can add whatever DNS records you want for your domain, and you also control all the subdomains of that domain. You won't need to pay extra for one.two.three.four.somedomain.com
* After you add you records - they will be available to the world almost immediately. Except: see next section.
 
=== Caching ===