{"id":3145,"date":"2023-06-15T16:23:36","date_gmt":"2023-06-15T14:23:36","guid":{"rendered":"https:\/\/technet.cloud4you.biz\/?p=3145"},"modified":"2023-06-15T16:35:36","modified_gmt":"2023-06-15T14:35:36","slug":"sperren-von-zip-und-mov-mittels-windows-dns","status":"publish","type":"post","link":"https:\/\/technet.cloud4you.biz\/en\/sperren-von-zip-und-mov-mittels-windows-dns\/","title":{"rendered":"Block .zip and .mov TLDs on Windows DNS"},"content":{"rendered":"\n<p class=\"has-text-align-center wp-block-paragraph\">(<em>Works obviously for every other TLD as well<\/em>)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">As the new TLDs from Google already intend to be misused for shady phishing attacks and on the other side we can&#8217;t imagine any non-shady usage for those domains, we&#8217;ve decided to block those entirely. <\/p>\n\n\n\n<h3 class=\"wp-block-heading\">We show you, how we&#8217;ve done that:<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">On the Windows DNS-Server (mostly the Domain Controller) we create a new Forward Lookup Zone:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><a href=\"https:\/\/technet.cloud4you.biz\/wp-content\/uploads\/2023\/06\/image-2.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/technet.cloud4you.biz\/wp-content\/uploads\/2023\/06\/image-2.png\" alt=\"\" class=\"wp-image-3148\" width=\"329\" height=\"182\" srcset=\"https:\/\/technet.cloud4you.biz\/wp-content\/uploads\/2023\/06\/image-2.png 329w, https:\/\/technet.cloud4you.biz\/wp-content\/uploads\/2023\/06\/image-2-300x166.png 300w\" sizes=\"auto, (max-width: 329px) 100vw, 329px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">We select &#8220;Primary zone&#8221;:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/technet.cloud4you.biz\/wp-content\/uploads\/2023\/06\/image-4.png\"><img loading=\"lazy\" decoding=\"async\" width=\"496\" height=\"390\" src=\"https:\/\/technet.cloud4you.biz\/wp-content\/uploads\/2023\/06\/image-4.png\" alt=\"\" class=\"wp-image-3150\" srcset=\"https:\/\/technet.cloud4you.biz\/wp-content\/uploads\/2023\/06\/image-4.png 496w, https:\/\/technet.cloud4you.biz\/wp-content\/uploads\/2023\/06\/image-4-300x236.png 300w\" sizes=\"auto, (max-width: 496px) 100vw, 496px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">As &#8220;Zone name&#8221; we set the TLD to block, for example &#8220;zip&#8221; &#8211; Make sure to not add any points:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/technet.cloud4you.biz\/wp-content\/uploads\/2023\/06\/image-6.png\"><img loading=\"lazy\" decoding=\"async\" width=\"499\" height=\"393\" src=\"https:\/\/technet.cloud4you.biz\/wp-content\/uploads\/2023\/06\/image-6.png\" alt=\"\" class=\"wp-image-3152\" srcset=\"https:\/\/technet.cloud4you.biz\/wp-content\/uploads\/2023\/06\/image-6.png 499w, https:\/\/technet.cloud4you.biz\/wp-content\/uploads\/2023\/06\/image-6-300x236.png 300w\" sizes=\"auto, (max-width: 499px) 100vw, 499px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Next settings are fine already:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/technet.cloud4you.biz\/wp-content\/uploads\/2023\/06\/image-8.png\"><img loading=\"lazy\" decoding=\"async\" width=\"499\" height=\"393\" src=\"https:\/\/technet.cloud4you.biz\/wp-content\/uploads\/2023\/06\/image-8.png\" alt=\"\" class=\"wp-image-3154\" srcset=\"https:\/\/technet.cloud4you.biz\/wp-content\/uploads\/2023\/06\/image-8.png 499w, https:\/\/technet.cloud4you.biz\/wp-content\/uploads\/2023\/06\/image-8-300x236.png 300w\" sizes=\"auto, (max-width: 499px) 100vw, 499px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">And this setting is fine by default, too:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/technet.cloud4you.biz\/wp-content\/uploads\/2023\/06\/image-10.png\"><img loading=\"lazy\" decoding=\"async\" width=\"499\" height=\"393\" src=\"https:\/\/technet.cloud4you.biz\/wp-content\/uploads\/2023\/06\/image-10.png\" alt=\"\" class=\"wp-image-3156\" srcset=\"https:\/\/technet.cloud4you.biz\/wp-content\/uploads\/2023\/06\/image-10.png 499w, https:\/\/technet.cloud4you.biz\/wp-content\/uploads\/2023\/06\/image-10-300x236.png 300w\" sizes=\"auto, (max-width: 499px) 100vw, 499px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">By clicking on &#8220;Finish&#8221;, we create the zone:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/technet.cloud4you.biz\/wp-content\/uploads\/2023\/06\/image-12.png\"><img loading=\"lazy\" decoding=\"async\" width=\"499\" height=\"393\" src=\"https:\/\/technet.cloud4you.biz\/wp-content\/uploads\/2023\/06\/image-12.png\" alt=\"\" class=\"wp-image-3158\" srcset=\"https:\/\/technet.cloud4you.biz\/wp-content\/uploads\/2023\/06\/image-12.png 499w, https:\/\/technet.cloud4you.biz\/wp-content\/uploads\/2023\/06\/image-12-300x236.png 300w\" sizes=\"auto, (max-width: 499px) 100vw, 499px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Now, it should look somehow like this in Forward Lookup Zones:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/technet.cloud4you.biz\/wp-content\/uploads\/2023\/06\/image-14.png\"><img loading=\"lazy\" decoding=\"async\" width=\"679\" height=\"233\" src=\"https:\/\/technet.cloud4you.biz\/wp-content\/uploads\/2023\/06\/image-14.png\" alt=\"\" class=\"wp-image-3160\" srcset=\"https:\/\/technet.cloud4you.biz\/wp-content\/uploads\/2023\/06\/image-14.png 679w, https:\/\/technet.cloud4you.biz\/wp-content\/uploads\/2023\/06\/image-14-300x103.png 300w\" sizes=\"auto, (max-width: 679px) 100vw, 679px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">In each zone we now create an A- and an AAAA-Record with * as host und localhost as target:<\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/technet.cloud4you.biz\/wp-content\/uploads\/2023\/06\/image-19.png\"><img loading=\"lazy\" decoding=\"async\" width=\"343\" height=\"354\" src=\"https:\/\/technet.cloud4you.biz\/wp-content\/uploads\/2023\/06\/image-19.png\" alt=\"\" class=\"wp-image-3165\" srcset=\"https:\/\/technet.cloud4you.biz\/wp-content\/uploads\/2023\/06\/image-19.png 343w, https:\/\/technet.cloud4you.biz\/wp-content\/uploads\/2023\/06\/image-19-291x300.png 291w\" sizes=\"auto, (max-width: 343px) 100vw, 343px\" \/><\/a><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/technet.cloud4you.biz\/wp-content\/uploads\/2023\/06\/image-20.png\"><img loading=\"lazy\" decoding=\"async\" width=\"343\" height=\"354\" src=\"https:\/\/technet.cloud4you.biz\/wp-content\/uploads\/2023\/06\/image-20.png\" alt=\"\" class=\"wp-image-3166\" srcset=\"https:\/\/technet.cloud4you.biz\/wp-content\/uploads\/2023\/06\/image-20.png 343w, https:\/\/technet.cloud4you.biz\/wp-content\/uploads\/2023\/06\/image-20-291x300.png 291w\" sizes=\"auto, (max-width: 343px) 100vw, 343px\" \/><\/a><\/figure>\n<\/div>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">&#8230; so it should look like this:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/technet.cloud4you.biz\/wp-content\/uploads\/2023\/06\/image-22.png\"><img loading=\"lazy\" decoding=\"async\" width=\"737\" height=\"232\" src=\"https:\/\/technet.cloud4you.biz\/wp-content\/uploads\/2023\/06\/image-22.png\" alt=\"\" class=\"wp-image-3168\" srcset=\"https:\/\/technet.cloud4you.biz\/wp-content\/uploads\/2023\/06\/image-22.png 737w, https:\/\/technet.cloud4you.biz\/wp-content\/uploads\/2023\/06\/image-22-300x94.png 300w\" sizes=\"auto, (max-width: 737px) 100vw, 737px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">As soon as we created the records, every machine using this server as DNS-source should resolve names with those TLDs locally, so it&#8217;s only connecting to itself.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You could even go further to create a landing page on a webserver for those Domains &#8211; but this requires more configuration as you&#8217;d get a certificate warning when accessing with https:\/\/. So you would have to create a Wildcard-Cert on an internal CA as well.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>(Works obviously for every other TLD as well) As the new TLDs from Google already intend to be misused for shady phishing attacks and on the other side we can&#8217;t imagine any non-shady usage for those domains, we&#8217;ve decided to block those entirely. We show you, how we&#8217;ve done that: On the Windows DNS-Server (mostly [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,341,25,321,17],"tags":[43,345,343,346,344,342],"class_list":["post-3145","post","type-post","status-publish","format-standard","hentry","category-allgemein","category-dns","category-server","category-tipps-tricks","category-windows","tag-dns","tag-google","tag-mov","tag-phishing","tag-tld","tag-zip"],"translation":{"provider":"WPGlobus","version":"3.0.6","language":"en","enabled_languages":["de","en"],"languages":{"de":{"title":true,"content":true,"excerpt":false},"en":{"title":true,"content":true,"excerpt":false}}},"_links":{"self":[{"href":"https:\/\/technet.cloud4you.biz\/en\/wp-json\/wp\/v2\/posts\/3145","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/technet.cloud4you.biz\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/technet.cloud4you.biz\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/technet.cloud4you.biz\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/technet.cloud4you.biz\/en\/wp-json\/wp\/v2\/comments?post=3145"}],"version-history":[{"count":4,"href":"https:\/\/technet.cloud4you.biz\/en\/wp-json\/wp\/v2\/posts\/3145\/revisions"}],"predecessor-version":[{"id":3173,"href":"https:\/\/technet.cloud4you.biz\/en\/wp-json\/wp\/v2\/posts\/3145\/revisions\/3173"}],"wp:attachment":[{"href":"https:\/\/technet.cloud4you.biz\/en\/wp-json\/wp\/v2\/media?parent=3145"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/technet.cloud4you.biz\/en\/wp-json\/wp\/v2\/categories?post=3145"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/technet.cloud4you.biz\/en\/wp-json\/wp\/v2\/tags?post=3145"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}