{"id":49717,"date":"2025-01-08T12:30:00","date_gmt":"2025-01-08T18:30:00","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=49717"},"modified":"2024-12-09T03:32:40","modified_gmt":"2024-12-09T09:32:40","slug":"how-to-use-the-dig-command","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-use-the-dig-command\/","title":{"rendered":"How to Use the DIG Command"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2025\/01\/how-to-use-the-dig-command.webp\" alt=\"How to use the DIG command\" class=\"wp-image-49724\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2025\/01\/how-to-use-the-dig-command.webp 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2025\/01\/how-to-use-the-dig-command-300x169.webp 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2025\/01\/how-to-use-the-dig-command-150x84.webp 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2025\/01\/how-to-use-the-dig-command-768x432.webp 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>This tutorial will use the DIG Command in Linux using real examples. The DIG Command is a command line DNS diagnostic tool that retrieves various DNS properties such as DNS records, IP address, or hostname properties. DIG Command is useful for network troubleshooting and can operate based on command line options and flag arguments or by reading requests from an operating system file. The DIG command is used by system administrators daily, and the command with examples will be explained in the next paragraphs.<\/p>\n\n\n\n<p>We will use Ubuntu 24.04 OS for this blog post, but you can choose any Linux distro. It is up to you. Let&#8217;s get started!<\/p>\n\n\n\n<!--more-->\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69eb3a01084ba\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"ez-toc-cssicon\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69eb3a01084ba\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-use-the-dig-command\/#Prerequisites\" >Prerequisites<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-use-the-dig-command\/#System-Update\" >System Update<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-use-the-dig-command\/#DIG-Installation\" >DIG Installation<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-use-the-dig-command\/#Syntax-of-the-DIG-Command\" >Syntax of the DIG Command<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-use-the-dig-command\/#Return-all-records\" >Return all records<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-use-the-dig-command\/#Returning-an-A-record\" >Returning an A record<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-use-the-dig-command\/#Return-the-SOA-record\" >Return the SOA record<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-use-the-dig-command\/#Querying-an-authoritative-name-server\" >Querying an authoritative name server<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-use-the-dig-command\/#Tracing-the-DNS-path\" >Tracing the DNS path<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-use-the-dig-command\/#Other-DIG-commands\" >Other DIG commands<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-use-the-dig-command\/#DIG-Command-in-more-detail\" >DIG Command in more detail<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Prerequisites\"><\/span>Prerequisites<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A server running Ubuntu 24.04 or any Linux OS (CentOS, Debian, or AlmaLinux)<\/li>\n\n\n\n<li>User privileges: root or non-root user with sudo privileges<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"System-Update\"><\/span>System Update<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Before we start with any commands we will update the system packages to their latest versions available. To do that execute the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt update -y &amp;&amp; sudo apt upgrade -y<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"DIG-Installation\"><\/span>DIG Installation<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>On a Linux system, the DIG command is usually installed by default and that can be checked with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">dig -v<\/pre>\n\n\n\n<p>You should get the following output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@host:~# dig -v\nDiG 9.18.28-0ubuntu0.24.04.1-Ubuntu\n<\/pre>\n\n\n\n<p>If you by some chance do not receive this output, then you can try to install dig with the following commands:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt install dnsutils -y<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Syntax-of-the-DIG-Command\"><\/span>Syntax of the DIG Command<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>The basic syntax of the dig command is the following:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">dig [server] [name] [type]<\/pre>\n\n\n\n<p>The actual examples will be shown in the following paragraphs.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Return-all-records\"><\/span>Return all records<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>To return all records of the hostname in our example &#8220;google.com&#8221; execute the command below:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">dig google.com any<\/pre>\n\n\n\n<p>You should get the following output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@host:~# dig google.com any\n\n; DiG 9.18.28-0ubuntu0.24.04.1-Ubuntu google.com any\n;; global options: +cmd\n;; Got answer:\n;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 46602\n;; flags: qr rd ra; QUERY: 1, ANSWER: 30, AUTHORITY: 0, ADDITIONAL: 1\n\n;; OPT PSEUDOSECTION:\n; EDNS: version: 0, flags:; udp: 65494\n;; QUESTION SECTION:\n;google.com.            IN  ANY\n\n;; ANSWER SECTION:\ngoogle.com.        248 IN  A   209.85.200.113\ngoogle.com.        248 IN  A   209.85.200.139\ngoogle.com.        248 IN  A   209.85.200.101\ngoogle.com.        248 IN  A   209.85.200.100\ngoogle.com.        248 IN  A   209.85.200.138\ngoogle.com.        248 IN  A   209.85.200.102\ngoogle.com.        248 IN  AAAA    2607:f8b0:4001:c16::8b\ngoogle.com.        248 IN  AAAA    2607:f8b0:4001:c16::66\ngoogle.com.        248 IN  AAAA    2607:f8b0:4001:c16::8a\ngoogle.com.        248 IN  AAAA    2607:f8b0:4001:c16::71\ngoogle.com.        3548    IN  TXT \"docusign=05958488-4752-4ef2-95eb-aa7ba8a3bd0e\"\ngoogle.com.        3548    IN  TXT \"MS=E4A68B9AB2BB9670BCE15412F62916164C0B20BB\"\ngoogle.com.        21548   IN  NS  ns3.google.com.\ngoogle.com.        3548    IN  TXT \"onetrust-domain-verification=de01ed21f2fa4d8781cbc3ffb89cf4ef\"\ngoogle.com.        3548    IN  TXT \"google-site-verification=wD8N7i1JTNTkezJ49swvWW48f8_9xveREV4oB-0Hf5o\"\ngoogle.com.        21548   IN  NS  ns4.google.com.\ngoogle.com.        21548   IN  CAA 0 issue \"pki.goog\"\ngoogle.com.        21548   IN  NS  ns1.google.com.\ngoogle.com.        3548    IN  TXT \"google-site-verification=TV9-DBe4R80X4v0M4U_bd_J9cpOJM0nikft0jAgjmsQ\"\ngoogle.com.        21548   IN  HTTPS   1 . alpn=\"h2,h3\"\ngoogle.com.        3548    IN  TXT \"cisco-ci-domain-verification=479146de172eb01ddee38b1a455ab9e8bb51542ddd7f1fa298557dfa7b22d963\"\ngoogle.com.        248 IN  MX  10 smtp.google.com.\ngoogle.com.        3548    IN  TXT \"facebook-domain-verification=22rm551cu4k0ab0bxsw536tlds4h95\"\ngoogle.com.        3548    IN  TXT \"globalsign-smime-dv=CDYX+XFHUw2wml6\/Gb8+59BsH31KzUr6c1l2BPvqKX8=\"\ngoogle.com.        8   IN  SOA ns1.google.com. dns-admin.google.com. 698728253 900 900 1800 60\ngoogle.com.        21548   IN  NS  ns2.google.com.\ngoogle.com.        3548    IN  TXT \"v=spf1 include:_spf.google.com ~all\"\ngoogle.com.        3548    IN  TXT \"docusign=1b0a6754-49b1-4db5-8540-d2c12664b289\"\ngoogle.com.        3548    IN  TXT \"google-site-verification=4ibFUgB-wXLQ_S7vsXVomSTVamuOXBiVAzpR5IZ87D0\"\ngoogle.com.        3548    IN  TXT \"apple-domain-verification=30afIBcvSuDV2PLX\"\n\n;; Query time: 24 msec\n;; SERVER: 127.0.0.53#53(127.0.0.53) (TCP)\n;; WHEN: Fri Dec 06 10:42:23 CST 2024\n;; MSG SIZE  rcvd: 1285\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Returning-an-A-record\"><\/span>Returning an A record<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>If we want to return the A record of the hostname we can execute the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">dig google.com<\/pre>\n\n\n\n<p>You will get the following output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@host:~# dig google.com\n\n; DiG 9.18.28-0ubuntu0.24.04.1-Ubuntu google.com\n;; global options: +cmd\n;; Got answer:\n;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 1549\n;; flags: qr rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 0, ADDITIONAL: 1\n\n;; OPT PSEUDOSECTION:\n; EDNS: version: 0, flags:; udp: 65494\n;; QUESTION SECTION:\n;google.com.            IN  A\n\n;; ANSWER SECTION:\ngoogle.com.        211 IN  A   142.250.10.100\ngoogle.com.        211 IN  A   142.250.10.139\ngoogle.com.        211 IN  A   142.250.10.113\ngoogle.com.        211 IN  A   142.250.10.101\ngoogle.com.        211 IN  A   142.250.10.102\ngoogle.com.        211 IN  A   142.250.10.138\n\n;; Query time: 3 msec\n;; SERVER: 127.0.0.53#53(127.0.0.53) (UDP)\n;; WHEN: Fri Dec 06 10:43:47 CST 2024\n;; MSG SIZE  rcvd: 135\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Return-the-SOA-record\"><\/span>Return the SOA record<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>To return the SOA (Start of Authority) record you need to execute the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">dig google.com SOA<\/pre>\n\n\n\n<p>You should get the following output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@host:~# dig google.com SOA\n\n;  DiG 9.18.28-0ubuntu0.24.04.1-Ubuntu google.com SOA\n;; global options: +cmd\n;; Got answer:\n;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 24276\n;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1\n\n;; OPT PSEUDOSECTION:\n; EDNS: version: 0, flags:; udp: 65494\n;; QUESTION SECTION:\n;google.com.            IN  SOA\n\n;; ANSWER SECTION:\ngoogle.com.        43  IN  SOA ns1.google.com. dns-admin.google.com. 698728253 900 900 1800 60\n\n;; Query time: 10 msec\n;; SERVER: 127.0.0.53#53(127.0.0.53) (UDP)\n;; WHEN: Fri Dec 06 10:44:17 CST 2024\n;; MSG SIZE  rcvd: 89\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Querying-an-authoritative-name-server\"><\/span>Querying an authoritative name server<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>If we want to get information about the authoritative name servers for DNS queries about the domain we can execute the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">dig @ns1.google.com google.com<\/pre>\n\n\n\n<p>We should receive the following output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@host:~# dig @ns1.google.com google.com\n\n; DiG 9.18.28-0ubuntu0.24.04.1-Ubuntu  @ns1.google.com google.com\n; (2 servers found)\n;; global options: +cmd\n;; Got answer:\n;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 25216\n;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1\n;; WARNING: recursion requested but not available\n\n;; OPT PSEUDOSECTION:\n; EDNS: version: 0, flags:; udp: 512\n;; QUESTION SECTION:\n;google.com.            IN  A\n\n;; ANSWER SECTION:\ngoogle.com.        300 IN  A   172.217.0.174\n\n;; Query time: 25 msec\n;; SERVER: 216.239.32.10#53(ns1.google.com) (UDP)\n;; WHEN: Fri Dec 06 10:45:45 CST 2024\n;; MSG SIZE  rcvd: 55\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Tracing-the-DNS-path\"><\/span>Tracing the DNS path<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Tracing the DNS path means that we can follow the DNS query from the local computer or server to the authoritative name server. To trace the DNS path execute the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">dig google.com +trace<\/pre>\n\n\n\n<p>You will receive output similar to this<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@host:~# dig google.com +trace\n\n; DiG 9.18.28-0ubuntu0.24.04.1-Ubuntu google.com +trace\n;; global options: +cmd\n.            7057    IN  NS  h.root-servers.net.\n.            7057    IN  NS  f.root-servers.net.\n.            7057    IN  NS  b.root-servers.net.\n.            7057    IN  NS  c.root-servers.net.\n.            7057    IN  NS  l.root-servers.net.\n.            7057    IN  NS  m.root-servers.net.\n.            7057    IN  NS  g.root-servers.net.\n.            7057    IN  NS  d.root-servers.net.\n.            7057    IN  NS  e.root-servers.net.\n.            7057    IN  NS  a.root-servers.net.\n.            7057    IN  NS  k.root-servers.net.\n.            7057    IN  NS  i.root-servers.net.\n.            7057    IN  NS  j.root-servers.net.\n;; Received 239 bytes from 127.0.0.53#53(127.0.0.53) in 1 ms\ncom.            172800  IN  NS  e.gtld-servers.net.\ncom.            172800  IN  NS  b.gtld-servers.net.\ncom.            172800  IN  NS  a.gtld-servers.net.\ncom.            172800  IN  NS  d.gtld-servers.net.\ncom.            172800  IN  NS  i.gtld-servers.net.\ncom.            172800  IN  NS  f.gtld-servers.net.\ncom.            172800  IN  NS  j.gtld-servers.net.\ncom.            172800  IN  NS  k.gtld-servers.net.\ncom.            172800  IN  NS  c.gtld-servers.net.\ncom.            172800  IN  NS  g.gtld-servers.net.\ncom.            172800  IN  NS  h.gtld-servers.net.\ncom.            172800  IN  NS  l.gtld-servers.net.\ncom.            172800  IN  NS  m.gtld-servers.net.\ncom.            86400   IN  DS  19718 13 2 8ACBB0CD28F41250A80A491389424D341522D946B0DA0C0291F2D3D7 71D7805A\ncom.            86400   IN  RRSIG   DS 8 1 86400 20241219050000 20241206040000 61050 . iGr5ntnlDqRtjHWnHm5Yb1q2kfqlYkRSdpCWkMySfCvkh6r\/nCnHI5Ex 1cKBchueEmUbFCJ3OS6f1IvbOHZOFuWaAGUlU6Cwf9fi3GiFQ2HXf19J i20BNgewl1yFZmdZmlhLFkyMIwQ5FBV2j8IvPaz2VaQRF+gmUp3GeiJZ D9yJE+DKPlk1ypJtgazBX84OpzagU97a2F2CV0yFVF8xtiI\/coVJVA5j 4LHPF+ycXi2ot5+sD0S9ZzTbgCIeWZE0+1Bd8DiXcHt1QPnUlxIsUj+k uwFN1sv9ifwkq9h7Y3IZZE6oCMksah0qlOcXpJ9bDhUuYWlKEJNDj9H7 brEkDA==\n;; Received 1170 bytes from 192.203.230.10#53(e.root-servers.net) in 1 ms\n\ngoogle.com.        172800  IN  NS  ns2.google.com.\ngoogle.com.        172800  IN  NS  ns1.google.com.\ngoogle.com.        172800  IN  NS  ns3.google.com.\ngoogle.com.        172800  IN  NS  ns4.google.com.\nCK0POJMG874LJREF7EFN8430QVIT8BSM.com. 900 IN NSEC3 1 1 0 - CK0Q3UDG8CEKKAE7RUKPGCT1DVSSH8LL NS SOA RRSIG DNSKEY NSEC3PARAM\nCK0POJMG874LJREF7EFN8430QVIT8BSM.com. 900 IN RRSIG NSEC3 13 2 900 20241210002643 20241202231643 29942 com. ZPTbLhdFM8mLHiQtP96boZkcbQGI1vsZXJiuPAmApU9cYv7LMDAcphdK P4huP5ivFGQ5AmNpH2IhgfxSgvZRUw==\nS84BOR4DK28HNHPLC218O483VOOOD5D8.com. 900 IN NSEC3 1 1 0 - S84BR9CIB2A20L3ETR1M2415ENPP99L8 NS DS RRSIG\nS84BOR4DK28HNHPLC218O483VOOOD5D8.com. 900 IN RRSIG NSEC3 13 2 900 20241211014942 20241204003942 29942 com. 74JpkoKJZTrolBn3CynjxFeH858\/x61hnBZmadI2lYRrh0ks9O5GXL4W +AZ4eoswzTA41tvGaaRLQ12UDPhkdg==\n;; Received 644 bytes from 192.33.14.30#53(b.gtld-servers.net) in 27 ms\n\n;; UDP setup with 2001:4860:4802:38::a#53(2001:4860:4802:38::a) for google.com failed: network unreachable.\n;; UDP setup with 2001:4860:4802:32::a#53(2001:4860:4802:32::a) for google.com failed: network unreachable.\ngoogle.com.        300 IN  A   172.217.0.174\n;; Received 55 bytes from 216.239.38.10#53(ns4.google.com) in 25 ms\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Other-DIG-commands\"><\/span>Other DIG commands<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>There are plenty of DIG commands that you can use to gain different information here is a list of some of them:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong>dig google.com +nocmd <\/strong> - show only the main results\n\n<strong>dig google +nocmd +noall +answer +nocomments<\/strong> - To hide comments \n\n<strong>dig -x 142.250.31.139<\/strong> - Reverse DNS lookup\n\n<strong>dig google.com +short<\/strong> - Returning only the IP addresses for all A records at a hostname\n\n<strong>dig google.com MX<\/strong> - Returns the MX record of the domain\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"DIG-Command-in-more-detail\"><\/span>DIG Command in more detail<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>If you want to get more information about the DIG command, you can execute the following command in your terminal:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">man dig<\/pre>\n\n\n\n<p>The output will be massive, with all the detailed info about the DIG command.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">DIG(1)                                                                                 BIND 9                                                                                DIG(1)\n\nNAME\n       dig - DNS lookup utility\n\nSYNOPSIS\n       dig  [@server]  [-b  address]  [-c  class] [-f filename] [-k filename] [-m] [-p port#] [-q name] [-t type] [-v] [-x addr] [-y [hmac:]name:key] [ [-4] | [-6] ] [name] [type]\n       [class] [queryopt...]\n\n       dig [-h]\n\n       dig [global-queryopt...] [query...]\n\nDESCRIPTION\n       dig is a flexible tool for interrogating DNS name servers. It performs DNS lookups and displays the answers that are returned from the name  server(s)  that  were  queried.\n       Most  DNS administrators use dig to troubleshoot DNS problems because of its flexibility, ease of use, and clarity of output. Other lookup tools tend to have less function\u2010\n       ality than dig.\n\n       Although dig is normally used with command-line arguments, it also has a batch mode of operation for reading lookup requests from a  file.  A  brief  summary  of  its  com\u2010\n       mand-line arguments and options is printed when the -h option is given. The BIND 9 implementation of dig allows multiple lookups to be issued from the command line.\n\n<\/pre>\n\n\n\n<p>That was it. You learned some basic and essential DIG commands on Linux OS. You learned how to retrieve any data for some domain easily. Of course, if you have an issue with the command, you can always contact our technical support, and our admins will help you with it immediately. You must sign up for one of our <a href=\"https:\/\/www.rosehosting.com\/linux-vps-hosting\/\" target=\"_blank\" rel=\"noreferrer noopener\">Linux VPS hosting <\/a>plans and submit a support ticket. We are available 24\/7.<\/p>\n\n\n\n<p>If you liked this post about the DIG command, please share it with your friends or leave a comment down below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This tutorial will use the DIG Command in Linux using real examples. The DIG Command is a command line DNS &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to Use the DIG Command\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-use-the-dig-command\/#more-49717\" aria-label=\"Read more about How to Use the DIG Command\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":49724,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1236,2071],"tags":[1619,104,129,27],"class_list":["post-49717","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-guides","category-linux","tag-command","tag-command-line","tag-dig","tag-linux","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.4 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Use the DIG Command | RoseHosting<\/title>\n<meta name=\"description\" content=\"Learn how to use the DIG Command in Linux with real examples in our latest easy-to-follow step-by-step guide.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-use-the-dig-command\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Use the DIG Command\" \/>\n<meta property=\"og:description\" content=\"How to Use the DIG Command | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-use-the-dig-command\/\" \/>\n<meta property=\"og:site_name\" content=\"RoseHosting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RoseHosting\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rosehosting.helpdesk\" \/>\n<meta property=\"article:published_time\" content=\"2025-01-08T18:30:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2025\/01\/how-to-use-the-dig-command.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"576\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:site\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Wilson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-use-the-dig-command\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-use-the-dig-command\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to Use the DIG Command\",\"datePublished\":\"2025-01-08T18:30:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-use-the-dig-command\\\/\"},\"wordCount\":548,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-use-the-dig-command\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/01\\\/how-to-use-the-dig-command.webp\",\"keywords\":[\"command\",\"Command Line\",\"dig\",\"Linux\"],\"articleSection\":[\"Guides\",\"Linux\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-use-the-dig-command\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-use-the-dig-command\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-use-the-dig-command\\\/\",\"name\":\"How to Use the DIG Command | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-use-the-dig-command\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-use-the-dig-command\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/01\\\/how-to-use-the-dig-command.webp\",\"datePublished\":\"2025-01-08T18:30:00+00:00\",\"description\":\"Learn how to use the DIG Command in Linux with real examples in our latest easy-to-follow step-by-step guide.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-use-the-dig-command\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-use-the-dig-command\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-use-the-dig-command\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/01\\\/how-to-use-the-dig-command.webp\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/01\\\/how-to-use-the-dig-command.webp\",\"width\":1024,\"height\":576,\"caption\":\"How to use the DIG command\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-use-the-dig-command\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Use the DIG Command\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"name\":\"RoseHosting.com\",\"description\":\"Premium Linux Tutorials Since 2001\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\",\"name\":\"RoseHosting\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"width\":192,\"height\":192,\"caption\":\"RoseHosting\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/RoseHosting\",\"https:\\\/\\\/x.com\\\/rosehosting\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/rosehosting\\\/\"],\"description\":\"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.\",\"email\":\"info@rosehosting.com\",\"telephone\":\"(314) 275-0414\",\"legalName\":\"Rose Web Services LLC\",\"foundingDate\":\"2001-04-02\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"11\",\"maxValue\":\"50\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\",\"name\":\"Jeff Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"caption\":\"Jeff Wilson\"},\"description\":\"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.\",\"sameAs\":[\"https:\\\/\\\/www.rosehosting.com\",\"https:\\\/\\\/www.facebook.com\\\/rosehosting.helpdesk\"],\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/author\\\/jwilson\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Use the DIG Command | RoseHosting","description":"Learn how to use the DIG Command in Linux with real examples in our latest easy-to-follow step-by-step guide.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.rosehosting.com\/blog\/how-to-use-the-dig-command\/","og_locale":"en_US","og_type":"article","og_title":"How to Use the DIG Command","og_description":"How to Use the DIG Command | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-use-the-dig-command\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2025-01-08T18:30:00+00:00","og_image":[{"width":1024,"height":576,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2025\/01\/how-to-use-the-dig-command.webp","type":"image\/webp"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-use-the-dig-command\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-use-the-dig-command\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to Use the DIG Command","datePublished":"2025-01-08T18:30:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-use-the-dig-command\/"},"wordCount":548,"commentCount":0,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-use-the-dig-command\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2025\/01\/how-to-use-the-dig-command.webp","keywords":["command","Command Line","dig","Linux"],"articleSection":["Guides","Linux"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-use-the-dig-command\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-use-the-dig-command\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-use-the-dig-command\/","name":"How to Use the DIG Command | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-use-the-dig-command\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-use-the-dig-command\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2025\/01\/how-to-use-the-dig-command.webp","datePublished":"2025-01-08T18:30:00+00:00","description":"Learn how to use the DIG Command in Linux with real examples in our latest easy-to-follow step-by-step guide.","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-use-the-dig-command\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-use-the-dig-command\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-use-the-dig-command\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2025\/01\/how-to-use-the-dig-command.webp","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2025\/01\/how-to-use-the-dig-command.webp","width":1024,"height":576,"caption":"How to use the DIG command"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-use-the-dig-command\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Use the DIG Command"}]},{"@type":"WebSite","@id":"https:\/\/www.rosehosting.com\/blog\/#website","url":"https:\/\/www.rosehosting.com\/blog\/","name":"RoseHosting.com","description":"Premium Linux Tutorials Since 2001","publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.rosehosting.com\/blog\/#organization","name":"RoseHosting","url":"https:\/\/www.rosehosting.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","width":192,"height":192,"caption":"RoseHosting"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RoseHosting","https:\/\/x.com\/rosehosting","https:\/\/www.linkedin.com\/in\/rosehosting\/"],"description":"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.","email":"info@rosehosting.com","telephone":"(314) 275-0414","legalName":"Rose Web Services LLC","foundingDate":"2001-04-02","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"11","maxValue":"50"}},{"@type":"Person","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713","name":"Jeff Wilson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","caption":"Jeff Wilson"},"description":"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.","sameAs":["https:\/\/www.rosehosting.com","https:\/\/www.facebook.com\/rosehosting.helpdesk"],"url":"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/49717","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/comments?post=49717"}],"version-history":[{"count":6,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/49717\/revisions"}],"predecessor-version":[{"id":49725,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/49717\/revisions\/49725"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/49724"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=49717"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=49717"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=49717"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}