Skip to main content

DNS: Notes

DNS Root Servers

Domain Name System

DNS uses UDP port 53 as default and TCP port 53 as fallback.

nslookup

nslookup -type=txt youtube.com
nslookup -type=mx google.com

dig

dig youtube.com txt

host - DNS lookup utility

host -t txt google.com

Check PTR text record

PS C:\Users\Administrator> nslookup -type=ptr 173.82.240.78
Server:  UnKnown
Address:  2402:800:20ff:6666::1

Non-authoritative answer:
78.240.82.173.in-addr.arpa      name = mx2.practicehabits.net
PS C:\Users\Administrator>

Check DMARC text record

PS C:\Users\Administrator> nslookup -type=txt _dmarc.practicehabits.net
Server:  UnKnown
Address:  2402:800:20ff:6666::1

Non-authoritative answer:
_dmarc.practicehabits.net       text =

        "v=DMARC1; p=reject; rua=mailto:postmaster@practicehabits.net, mailto:postmaster@practicehabits.net"
PS C:\Users\Administrator> nslookup -type=txt _dmarc.2practice.xyz
Server:  UnKnown
Address:  2402:800:20ff:6666::1

*** No text (TXT) records available for _dmarc.2practice.xyz

Online tools

https://mxtoolbox.com/

https://ViewDNS.info/

DMARC Record Checker

DKIM Record Checker

DNS History Lookup

References

Practice

>>> THM | DNS Manipulation

>>> THM | DNS in Details

Popular posts from this blog

Powershell: Enable Firewall Log

We sometimes need to enable Windows firewall's log to troubleshoot. Here is how.

Powershell: head and tail command

Use head or tail to skim the first or last 5 lines.

[Microsoft Outlook]: Set .pst and .ost files location with ForcePSTPath Registry Key

Set .pst and .ost files location with ForcePSTPath Registry Key The ForcePSTPath registry key is supported by Microsoft Outlook 2003 and later. In Microsoft Outlook 2003 and 2007, it applies to new profiles only. Microsoft Outlook 2013 and Outlook 2016 it applies to new accounts created in a profile. Microsoft Outlook 2013 saves .pst in   %userprofile%\Documents\Outlook Files folder by default. We can change that default setting by adding a new string registry key called ForcePSTPath and set the value to the folder that we want to save those files. Set Microsoft Outlook 2013 always save new .pst and .ost files to D:\Data\Mail folder OST file reached the maximum size The OST File Has Reached The Maximum Size