diff --git a/.github/workflows/mergeFiles.yml b/.github/workflows/mergeFiles.yml index 727924a..9e6b468 100644 --- a/.github/workflows/mergeFiles.yml +++ b/.github/workflows/mergeFiles.yml @@ -19,7 +19,7 @@ jobs: - name: Merge MD Files run: | # Define the order of markdown files to merge - files_to_merge=("index.md", "navigation.md", "files.md", "ssh.md", "scp.md", "sed.md", "grep.md", "searchingFiles.md", "netstat.md", "lsof.md", "curl.md", "wget.md", "redirection.md", "process_substitution.md") + files_to_merge=("index.md", "navigation.md", "files.md", "ssh.md", "scp.md", "sed.md", "grep.md", "searchingFiles.md", "netstat.md", "lsof.md", "curl.md", "wget.md", "dig.md", "redirection.md", "process_substitution.md") # remove existing contents readme echo '' > README.md # Merge files in the specified order diff --git a/dig.md b/dig.md new file mode 100644 index 0000000..0437d7d --- /dev/null +++ b/dig.md @@ -0,0 +1,20 @@ +## Dig Command +> This command is used to find DNS records. + +```shell +# command format +dig @ + +# find A(ipv4) record of facebook.com +dig facebook.com A +# find AAAA(ipv6) record of google.com from cloudflare dns +dig @1.1.1.1 facebook.com AAAA + +# types of records +# - A > ipv4 +# - AAAA > ipv6 +# - CNAME > canonical names +# - MX > mail servers +# - SOA > Start of Authority +# - TXT > TXT records +``` \ No newline at end of file diff --git a/index.md b/index.md index d285920..373b805 100644 --- a/index.md +++ b/index.md @@ -14,7 +14,7 @@ 10. [Curl Byte](#curl-command) 11. [Wget Byte](#wget-command) 12. [Tcpdump Byte](#TCPDUMP) -13. [Dig Byte](#DIG) +13. [Dig Byte](#dig-command) 14. [Iptables Byte](#IPTABLES) 15. [Ufw Byte](#UFW) 16. [Ipaddr Byte](#IPADDR)