Difference between revisions of "DNS"
Jump to navigation
Jump to search
(72 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | [[wikipedia:Domain Name System]] | + | [[wikipedia:Domain Name System]] translates domain names to [[IP]] addresses. The most common types of records stored in the DNS database are for Start of Authority ([[SOA]]), IP addresses (A and AAAA), SMTP mail exchangers (MX), [[name servers]] (NS), pointers for reverse DNS lookups (PTR), and domain name aliases ([[CNAME]]). |
+ | A stands for Address | ||
+ | AAAA are used for IPv6 addresses | ||
+ | |||
+ | == Public DNS Servers == | ||
+ | * [[Google]]: [[8.8.8.8]], 8.8.4.4 | ||
+ | * [[Cloudflare]]: 1.1.1.1 | ||
* [[DigitalOcean]] Nameserver: ns1.digitalocean.com, ns2.digitalocean.com, and ns3.digitalocean.com | * [[DigitalOcean]] Nameserver: ns1.digitalocean.com, ns2.digitalocean.com, and ns3.digitalocean.com | ||
+ | * [[Linux DNS]] | ||
+ | * Free domains: [[eu.org]] | ||
+ | |||
+ | == DNS servers == | ||
+ | * [[Bind]] | ||
+ | * <code>[[dnsmasq]]</code> | ||
+ | |||
+ | == Cloud / [[Iac]] == | ||
+ | * [[Amazon Route 53]]: <code>[[aws_route53_record]]</code> | ||
+ | * [[Terraform resource: cloudflare_record]] | ||
+ | |||
+ | == Client DNS utilities == | ||
+ | |||
+ | [[Windows]] | ||
+ | * <code>ipconfig /all</code> | ||
+ | * <code>[[nslookup]]</code> | ||
+ | |||
+ | Linux: | ||
+ | * <code>[[systemd-resolve]]</code>: <code>[[systemd-resolve --status]]</code> | ||
+ | * <code>[[dig]]</code> | ||
+ | * <code>[[host]]</code> | ||
+ | * <code>[[nslookup]]</code> | ||
+ | * <code>[[drill]]</code> | ||
+ | |||
+ | [[macOS]]: | ||
+ | * <code>[[scutil --dns]]</code> | ||
+ | * <code>[[dscacheutil]] -q host -a name example.com</code> | ||
+ | ** <code>sudo [[dscacheutil]] -flushcache;sudo [[killall]] -HUP [[mDNSResponder]];</code> | ||
+ | * <code>[[dig]]</code> | ||
+ | * <code>[[nslookup]]</code> | ||
+ | * <code>[[networksetup|networksetup -setdnsservers]]</code> | ||
+ | * <code>[[networksetup|networksetup -setsearchdomains]]</code> | ||
+ | * <code>[[host]]</code> | ||
+ | |||
+ | == Activities == | ||
+ | * Configure your [[DNS]] servers in [[Ubuntu]]. https://www.techrepublic.com/article/how-to-set-dns-nameservers-in-ubuntu-server-18-04/ | ||
+ | * <code>[[host]] -t ns DOMAIN_NAME.COM</code> | ||
+ | * [[CKA v1.18]]: Know how to configure and use the cluster DNS | ||
+ | |||
+ | == Related terms == | ||
+ | * [[wikipedia:Pseudo-top-level domain]] | ||
+ | * [[nscd]] | ||
+ | * [[DNS recursion]]: <code>[[recursion]] yes|no;</code> in [[Bind]] | ||
+ | * [[Wildcard DNS records]] | ||
+ | * [[Resource records]]: <code>[[MX]], [[TXT]], [[NS]], [[AAAA]], [[CNAME]]</code> | ||
+ | * [[Namecheap]]: PremiumDNS service: DDoS protection at the DNS level | ||
+ | * [[Dynu DDNS]] | ||
+ | * [[Ethereum Node Records (ENR)]] | ||
+ | * [[Kubernetes ExternalDNS]] | ||
+ | * [[TSIG (transaction signature)]] | ||
+ | * [[hyphen]] | ||
+ | * [[Infoblox]] company | ||
== See also == | == See also == | ||
+ | * {{Bind}} | ||
+ | * {{DNS files}} | ||
* {{DNS}} | * {{DNS}} | ||
− | |||
− | |||
[[Category:Internet]] | [[Category:Internet]] | ||
+ | [[Category:DNS]] |
Latest revision as of 08:51, 29 May 2024
wikipedia:Domain Name System translates domain names to IP addresses. The most common types of records stored in the DNS database are for Start of Authority (SOA), IP addresses (A and AAAA), SMTP mail exchangers (MX), name servers (NS), pointers for reverse DNS lookups (PTR), and domain name aliases (CNAME).
A stands for Address AAAA are used for IPv6 addresses
Contents
Public DNS Servers[edit]
- Google: 8.8.8.8, 8.8.4.4
- Cloudflare: 1.1.1.1
- DigitalOcean Nameserver: ns1.digitalocean.com, ns2.digitalocean.com, and ns3.digitalocean.com
DNS servers[edit]
Cloud / Iac[edit]
Client DNS utilities[edit]
ipconfig /all
nslookup
Linux:
scutil --dns
dscacheutil -q host -a name example.com
sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder;
dig
nslookup
networksetup -setdnsservers
networksetup -setsearchdomains
host
Activities[edit]
- Configure your DNS servers in Ubuntu. https://www.techrepublic.com/article/how-to-set-dns-nameservers-in-ubuntu-server-18-04/
host -t ns DOMAIN_NAME.COM
- CKA v1.18: Know how to configure and use the cluster DNS
Related terms[edit]
- wikipedia:Pseudo-top-level domain
- nscd
- DNS recursion:
recursion yes|no;
in Bind - Wildcard DNS records
- Resource records:
MX, TXT, NS, AAAA, CNAME
- Namecheap: PremiumDNS service: DDoS protection at the DNS level
- Dynu DDNS
- Ethereum Node Records (ENR)
- Kubernetes ExternalDNS
- TSIG (transaction signature)
- hyphen
- Infoblox company
See also[edit]
- Bind,
/etc/bind/named.conf
,rndc
[status
|reload
],named-checkconf
- DNS, DNS files,
/etc/hosts, /etc/resolv.conf, /etc/systemd/resolved.conf, /etc/nsswitch.conf
- DNS: Linux DNS, IP,
systemd-resolve
,/etc/hosts
,whois
, Domain registrar,dig
,host
,nslookup
,scutil --dns
dnsmasq
,bind
,delv
,.local
,.internal, .onion
, FQDN, TTL,/etc/resolv.conf
,/etc/systemd/resolved.conf
,dscacheutil
(macOS),hostname, hostnamectl
,bind
,resolvectl status
, DNS sinkhole, Domain name server, LLMNR, Resource records:MX, TXT, NS
, CAA, SSHFP, Apex, CNAME, Wildcard DNS records, Subdomain, /etc/nsswitch.conf,1.1.1.1
,8.8.8.8, CoreDNS, dnsPolicy:
, Google Public DNS, DNS caches, Kubernetes ExternalDNS, DNS forwarding, IDNA2008, DNS-1035, Domain name registrars, Split-view DNS, Pi-hole, NextDNS
Advertising: