{"id":14249,"date":"2024-02-18T08:26:07","date_gmt":"2024-02-18T07:26:07","guid":{"rendered":"https:\/\/linux-bibel.at\/?p=14249"},"modified":"2024-02-18T08:26:09","modified_gmt":"2024-02-18T07:26:09","slug":"dug-alternative-zu-dig-unter-linux","status":"publish","type":"post","link":"https:\/\/linux-bibel.at\/index.php\/2024\/02\/18\/dug-alternative-zu-dig-unter-linux\/","title":{"rendered":"dug &#8211; Alternative zu dig unter Linux"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Mit dem Befehl <code>dig<\/code> werden unter Linux am Terminal Informationen von DNS-Servern abgefragt &#8211; also etwa f\u00fcr die Linux Bibel:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>dig linux-bibel.at<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/dig.jpeg\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"597\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/dig-1024x597.jpeg\" alt=\"\" class=\"wp-image-14250\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/dig-1024x597.jpeg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/dig-1536x895.jpeg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/dig-2048x1193.jpeg 2048w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/dig-150x87.jpeg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/dig-300x175.jpeg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/dig-768x447.jpeg 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Der Befehl <code>dug<\/code> kann hingegen um einiges mehr.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">dug installieren<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Sie finden diese Software auf <a href=\"https:\/\/github.com\/unfrl\/dug\/releases\" target=\"_blank\" rel=\"noreferrer noopener\">GitHub<\/a> zum Download, Sie m\u00fcssen die ausf\u00fchrbare Datei nur noch ausf\u00fchrbar machen &#8211; entweder per Rechtsklick &#8211; &#8222;<em>Eigenschaften \u2192 Berechtigungen<\/em>&#8220; oder auf dem Terminal mit dem Befehl:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>chmod +x dug-linux-x64<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Am besten verschieben Sie die Datei als root auf dem Terminal etwa nach &#8222;<em>\/usr\/local\/bin<\/em>&#8220; &#8211; dann l\u00e4sst sich der Befehl aus jedem Verzeichnis heraus aufrufen:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mv dug-linux-x64\nmv dug \/usr\/local\/bin\/<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">dug nutzen<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Im Grunde nutzen Sie <code>dug<\/code>, wie auch <code>dig<\/code> &#8211; f\u00fcr das obige Beispiel also:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>dug linux-bibel.at<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/dug.jpeg\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"597\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/dug-1024x597.jpeg\" alt=\"\" class=\"wp-image-14251\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/dug-1024x597.jpeg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/dug-1536x895.jpeg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/dug-2048x1193.jpeg 2048w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/dug-150x87.jpeg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/dug-300x175.jpeg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/dug-768x447.jpeg 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Die Ausgabe ist um einiges \u00fcbersichtlicher, die Software kann wie schon beschrieben aber noch mehr. Wollen wir die Ausgabe etwa als JSON ausgeben lassen:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>dug git.kaijucode.com -q A --output-format JSON --server-count 1 --output-template Ipaddress,city,value,responsetime<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/dug-1.jpeg\" rel=\"lightbox-2\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"597\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/dug-1-1024x597.jpeg\" alt=\"\" class=\"wp-image-14252\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/dug-1-1024x597.jpeg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/dug-1-1536x895.jpeg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/dug-1-2048x1193.jpeg 2048w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/dug-1-150x87.jpeg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/dug-1-300x175.jpeg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/dug-1-768x447.jpeg 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Mehr erfahren Sie wie \u00fcblich mit:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>dug --help<\/code><\/pre>\n<div class=\"pld-like-dislike-wrap pld-custom\">\r\n    <div class=\"pld-like-wrap  pld-common-wrap\">\r\n    <a href=\"javascript:void(0)\" class=\"pld-like-trigger pld-like-dislike-trigger  \" title=\"Gef\u00e4llt mir\" data-post-id=\"14249\" data-trigger-type=\"like\" data-restriction=\"cookie\" data-already-liked=\"0\">\r\n                            <img src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/12\/Daumen-Hoch.png\" alt=\"Gef\u00e4llt mir\" \/>\r\n            <\/a>\r\n    <span class=\"pld-like-count-wrap pld-count-wrap\">1    <\/span>\r\n<\/div><div class=\"pld-dislike-wrap  pld-common-wrap\">\r\n    <a href=\"javascript:void(0)\" class=\"pld-dislike-trigger pld-like-dislike-trigger  \" title=\"Gef\u00e4llt mir nicht\" data-post-id=\"14249\" data-trigger-type=\"dislike\" data-restriction=\"cookie\" data-already-liked=\"0\">\r\n                            <img src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/12\/Daumen-Runter.png\" alt=\"Gef\u00e4llt mir nicht\" \/>\r\n            <\/a>\r\n    <span class=\"pld-dislike-count-wrap pld-count-wrap\"><\/span>\r\n<\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Mit dem Befehl dig werden unter Linux am Terminal Informationen von DNS-Servern abgefragt &#8211; also etwa f\u00fcr die Linux Bibel: Der Befehl dug kann hingegen um einiges mehr. dug installieren Sie finden diese Software auf GitHub zum Download, Sie m\u00fcssen die ausf\u00fchrbare Datei nur noch ausf\u00fchrbar machen &#8211; entweder per Rechtsklick &#8211; &#8222;Eigenschaften \u2192 Berechtigungen&#8220; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":14251,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[38,4],"tags":[12,39,7,6],"class_list":["post-14249","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-netzwerk","category-terminal","tag-kommandozeile","tag-netzwerk","tag-shell","tag-terminal"],"_links":{"self":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/14249","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/comments?post=14249"}],"version-history":[{"count":1,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/14249\/revisions"}],"predecessor-version":[{"id":14253,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/14249\/revisions\/14253"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media\/14251"}],"wp:attachment":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media?parent=14249"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/categories?post=14249"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/tags?post=14249"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}