Skip to content
Menu
myCloud myCloud

Personal short notes about Cloud

  • XMPie
  • AWS
    • AWS Topics
    • AWS Architecture
    • AWS CLI
    • AWS Health
    • AWS Policies
    • AWS Cost
  • CHEAT SHEETS
myCloud myCloud

Personal short notes about Cloud

Domain & DNS

By mikado on October 15, 2022October 19, 2022

Basics

Route 53

  • Domain registration
  • DNS routing
  • Health checking

Domain transfer

Pre-requisites

  • Unlock the domain
  • Disable Domain Privacy
  • Ensure registrant valid email address
  • Get the EPP code (Extensible Provisioning Protocol) which the authorization/transfer code provided by your current registrar when transferring a domain name to a different registrar

DNS record types

RecordDescription
AIPv4 Address record
AAAAIPv6 Address record
CNAMECanonical Name record
MXMail Exchanger record
NSNameserver record
PTRPointer record
SOAStart Of Authority record
SRVService Location record
TXTText record

Windows hosts file

C:\Windows\System32\drivers\etc\

Linux

Local

cat >> /etc/hosts

Network

cat /etc/resolv.conf

Local resolution overrides the DNS server
–> can be changed in /etc/nsswitch.conf

Tools

https://www.whatsmydns.net/

https://mxtoolbox.com/

nslookup & dig

Nslookup queries internet domain name servers in two modes:

  • Interactive: nslookup + enter
nslookup
> set type=ns
> google.com

  • Non-interactive: single query
nslookup google.com

-type=nsName Server records.
-type=soaStart of Authority records
-type=aA address records
-type=anyAll available records
-type=mxMail Exchange server information
-type=ptrPointer records (reverse DNS lookups)
-type=hinfohardware-related information about the host
-debuginfo useful for debugging

Install on Ubuntu/Debian

sudo apt install dnsutils

Install on Red Hat/CentOS

nslookup is part of the bind-utils package

sudo yum install bind-utils

dig

dig (linux) allows you to query information about various DNS records

Category: CHEAT SHEETS

Categories

  • AWS (4)
  • AWS Architecture (8)
  • AWS CLI (5)
  • AWS Cost (3)
  • AWS Health (4)
  • AWS Policies (2)
  • AWS Topics (24)
  • CHEAT SHEETS (16)
  • Container (21)
  • Datadog (4)
  • Jenkins (2)
  • Linux (9)
  • Microsoft (7)
  • Python (1)
  • SCRIPTS (9)
  • Terraform (5)
  • XMPie (6)
©2025 myCloud
Click to Copy