{"id":16625,"date":"2025-05-27T08:30:06","date_gmt":"2025-05-27T05:30:06","guid":{"rendered":"https:\/\/blog.sh.com.tr\/?p=16625"},"modified":"2025-03-14T11:34:12","modified_gmt":"2025-03-14T08:34:12","slug":"linux-hostingde-dns-ayarlari-nasil-yapilir","status":"publish","type":"post","link":"https:\/\/sh.com.tr\/blog\/linux-hostingde-dns-ayarlari-nasil-yapilir\/","title":{"rendered":"Linux Hosting&#8217;de DNS Ayarlar\u0131 Nas\u0131l Yap\u0131l\u0131r?"},"content":{"rendered":"<p style=\"text-align: justify;\" data-start=\"56\" data-end=\"410\"><strong data-start=\"56\" data-end=\"73\">Linux hosting<\/strong> \u00fczerinde <strong data-start=\"83\" data-end=\"99\">DNS ayarlar\u0131<\/strong>, bir alan ad\u0131n\u0131 <strong data-start=\"116\" data-end=\"145\">IP adresiyle e\u015fle\u015ftirerek<\/strong> web sitenizin eri\u015filebilir olmas\u0131n\u0131 sa\u011flar. <strong data-start=\"194\" data-end=\"222\">DNS (Domain Name System)<\/strong>, internet \u00fczerindeki <strong data-start=\"244\" data-end=\"288\">alan adlar\u0131n\u0131 IP adreslerine y\u00f6nlendiren<\/strong> kritik bir sistemdir. Do\u011fru yap\u0131land\u0131r\u0131lm\u0131\u015f<strong data-start=\"311\" data-end=\"349\"> DNS ayarlar\u0131<\/strong>, web sitenizin kesintisiz ve h\u0131zl\u0131 \u00e7al\u0131\u015fmas\u0131n\u0131 sa\u011flar.<\/p>\n<p style=\"text-align: justify;\" data-start=\"412\" data-end=\"521\">Bu yaz\u0131da, <a href=\"https:\/\/sh.com.tr\/linux-hosting\"><strong data-start=\"423\" data-end=\"440\">Linux hosting<\/strong><\/a> \u00fczerinde <strong data-start=\"450\" data-end=\"482\">DNS ayarlar\u0131n\u0131 yap\u0131land\u0131rmak<\/strong> i\u00e7in gerekli ad\u0131mlar\u0131 inceleyece\u011fiz.<\/p>\n<h3 style=\"text-align: justify;\" data-start=\"528\" data-end=\"566\"><strong data-start=\"531\" data-end=\"564\">DNS Nedir ve Neden \u00d6nemlidir?<\/strong><\/h3>\n<p style=\"text-align: justify;\" data-start=\"568\" data-end=\"787\"><strong data-start=\"568\" data-end=\"575\">DNS<\/strong>, bir alan ad\u0131n\u0131 <strong data-start=\"592\" data-end=\"629\">sunucunun IP adresine y\u00f6nlendiren<\/strong> bir sistemdir. Kullan\u0131c\u0131lar taray\u0131c\u0131ya bir <strong data-start=\"658\" data-end=\"696\">alan ad\u0131 <\/strong>girdi\u011finde, <strong data-start=\"698\" data-end=\"716\">DNS sunucular\u0131<\/strong> bu alan ad\u0131n\u0131 ilgili <strong data-start=\"738\" data-end=\"763\">IP adresine \u00e7evirerek<\/strong> ba\u011flant\u0131y\u0131 olu\u015fturur.<\/p>\n<p style=\"text-align: justify;\" data-start=\"789\" data-end=\"946\"><strong data-start=\"789\" data-end=\"806\">Linux hosting<\/strong> \u00fczerinde do\u011fru <strong data-start=\"822\" data-end=\"844\">DNS yap\u0131land\u0131rmas\u0131<\/strong> yap\u0131lmad\u0131\u011f\u0131nda, web sitesi eri\u015filemez hale gelebilir veya yanl\u0131\u015f bir sunucuya y\u00f6nlenebilir.<\/p>\n<h3 style=\"text-align: justify;\" data-start=\"953\" data-end=\"1005\"><strong data-start=\"956\" data-end=\"1003\">Linux Hosting\u2019de DNS Kay\u0131tlar\u0131 Nelerdir?<\/strong><\/h3>\n<p style=\"text-align: justify;\" data-start=\"1007\" data-end=\"1088\"><strong data-start=\"1007\" data-end=\"1085\">DNS ayarlar\u0131n\u0131 <\/strong>yap\u0131land\u0131rmadan \u00f6nce,<strong data-start=\"1007\" data-end=\"1085\"> DNS kay\u0131t <\/strong>t\u00fcrlerini anlamak \u00f6nemlidir.<\/p>\n<p style=\"text-align: justify;\"><strong data-start=\"1092\" data-end=\"1120\">\u2022 A Kayd\u0131 (Address Record)<\/strong> \u2192 <strong data-start=\"1123\" data-end=\"1167\">Alan ad\u0131n\u0131 bir IPv4 adresine y\u00f6nlendirir<\/strong>.<\/p>\n<p style=\"text-align: justify;\"><strong data-start=\"1173\" data-end=\"1187\">\u2022 AAAA Kayd\u0131<\/strong> \u2192 <strong data-start=\"1190\" data-end=\"1234\">Alan ad\u0131n\u0131 bir IPv6 adresine y\u00f6nlendirir<\/strong>.<\/p>\n<p style=\"text-align: justify;\"><strong data-start=\"1240\" data-end=\"1279\">\u2022 CNAME Kayd\u0131 (Canonical Name Record)<\/strong> \u2192 <strong data-start=\"1282\" data-end=\"1333\">Bir alan ad\u0131n\u0131 ba\u015fka bir alan ad\u0131na y\u00f6nlendirir<\/strong>.<\/p>\n<p style=\"text-align: justify;\"><strong data-start=\"1339\" data-end=\"1374\">\u2022 MX Kayd\u0131 (Mail Exchange Record)<\/strong> \u2192 <strong data-start=\"1377\" data-end=\"1436\">E-postalar\u0131n y\u00f6nlendirilece\u011fi posta sunucusunu belirtir<\/strong>.<\/p>\n<p style=\"text-align: justify;\"><strong data-start=\"1442\" data-end=\"1469\">\u2022 TXT Kayd\u0131 (Text Record)<\/strong> \u2192 <strong data-start=\"1472\" data-end=\"1535\">Alan ad\u0131n\u0131n do\u011frulanmas\u0131 ve g\u00fcvenlik ama\u00e7l\u0131 bilgiler i\u00e7erir<\/strong>.<\/p>\n<p style=\"text-align: justify;\"><strong data-start=\"1541\" data-end=\"1574\">\u2022 NS Kayd\u0131 (Name Server Record)<\/strong> \u2192 <strong data-start=\"1577\" data-end=\"1647\">Alan ad\u0131n\u0131n hangi DNS sunucular\u0131 taraf\u0131ndan y\u00f6netildi\u011fini belirtir<\/strong>.<\/p>\n<p style=\"text-align: justify;\"><strong data-start=\"1653\" data-end=\"1683\">\u2022 SRV Kayd\u0131 (Service Record)<\/strong> \u2192 <strong data-start=\"1686\" data-end=\"1764\">Belirli hizmetleri y\u00f6nlendirmek i\u00e7in kullan\u0131l\u0131r (\u00f6rne\u011fin, VoIP hizmetleri)<\/strong>.<\/p>\n<h3 style=\"text-align: justify;\" data-start=\"1774\" data-end=\"1836\"><strong data-start=\"1777\" data-end=\"1834\">Linux Hosting \u00dczerinde DNS Ayarlar\u0131n\u0131 Yap\u0131land\u0131rma<\/strong><\/h3>\n<h4 style=\"text-align: justify;\" data-start=\"1838\" data-end=\"1892\"><strong data-start=\"1842\" data-end=\"1890\">A Kayd\u0131 (Alan Ad\u0131n\u0131 IP Adresine Y\u00f6nlendirme)<\/strong><\/h4>\n<p style=\"text-align: justify;\" data-start=\"1894\" data-end=\"1990\"><strong data-start=\"1894\" data-end=\"1988\">Linux sunucunuzdaki DNS ayarlar\u0131n\u0131 d\u00fczenlemek i\u00e7in a\u015fa\u011f\u0131daki ad\u0131mlar\u0131 takip edebilirsiniz:<\/strong><\/p>\n<ul style=\"text-align: justify;\">\n<li data-start=\"1995\" data-end=\"2026\"><strong data-start=\"1995\" data-end=\"2024\">SSH ile Sunucuya Ba\u011flan\u0131n<\/strong><\/li>\n<\/ul>\n<div class=\"contain-inline-size rounded-md border-[0.5px] border-token-border-medium relative bg-token-sidebar-surface-primary\" style=\"text-align: justify;\">\n<div class=\"flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between h-9 bg-token-sidebar-surface-primary dark:bg-token-main-surface-secondary select-none rounded-t-[5px]\">bash<\/div>\n<div class=\"sticky top-9\">\n<div class=\"absolute bottom-0 right-0 flex h-9 items-center pr-2\">\n<div class=\"flex items-center rounded bg-token-sidebar-surface-primary px-2 font-sans text-xs text-token-text-secondary dark:bg-token-main-surface-secondary\"><span class=\"\" data-state=\"closed\"><button class=\"flex gap-1 items-center select-none py-1\" aria-label=\"Kopyala\">Kodu kopyala<\/button><\/span><\/div>\n<\/div>\n<\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"!whitespace-pre language-bash\">ssh root@sunucu-ip-adresi<br \/>\n<\/code><\/div>\n<\/div>\n<ul style=\"text-align: justify;\">\n<li data-start=\"2080\" data-end=\"2208\"><strong data-start=\"2080\" data-end=\"2134\">Bind9 veya DNS Server Kurulu Oldu\u011funu Kontrol Edin<\/strong><br data-start=\"2134\" data-end=\"2137\" \/>E\u011fer DNS sunucusu kurulu de\u011filse, \u015fu komutlarla y\u00fckleyebilirsiniz:<\/li>\n<\/ul>\n<div class=\"contain-inline-size rounded-md border-[0.5px] border-token-border-medium relative bg-token-sidebar-surface-primary\" style=\"text-align: justify;\">\n<div class=\"flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between h-9 bg-token-sidebar-surface-primary dark:bg-token-main-surface-secondary select-none rounded-t-[5px]\">bash<\/div>\n<div class=\"sticky top-9\">\n<div class=\"absolute bottom-0 right-0 flex h-9 items-center pr-2\">\n<div class=\"flex items-center rounded bg-token-sidebar-surface-primary px-2 font-sans text-xs text-token-text-secondary dark:bg-token-main-surface-secondary\"><span class=\"\" data-state=\"closed\"><button class=\"flex gap-1 items-center select-none py-1\" aria-label=\"Kopyala\">Kodu kopyala<\/button><\/span><\/div>\n<\/div>\n<\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"!whitespace-pre language-bash\">sudo apt update &amp;&amp; sudo apt install bind9 -y   <span class=\"hljs-comment\"># Debian\/Ubuntu i\u00e7in<\/span><br \/>\nsudo yum install <span class=\"hljs-built_in\">bind<\/span> -y   <span class=\"hljs-comment\"># CentOS\/RHEL i\u00e7in<\/span><br \/>\n<\/code><\/div>\n<\/div>\n<ul style=\"text-align: justify;\">\n<li data-start=\"2353\" data-end=\"2390\"><strong data-start=\"2353\" data-end=\"2388\">DNS Yap\u0131land\u0131rma Dosyas\u0131n\u0131 A\u00e7\u0131n<\/strong><\/li>\n<\/ul>\n<div class=\"contain-inline-size rounded-md border-[0.5px] border-token-border-medium relative bg-token-sidebar-surface-primary\" style=\"text-align: justify;\">\n<div class=\"flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between h-9 bg-token-sidebar-surface-primary dark:bg-token-main-surface-secondary select-none rounded-t-[5px]\">bash<\/div>\n<div class=\"sticky top-9\">\n<div class=\"absolute bottom-0 right-0 flex h-9 items-center pr-2\">\n<div class=\"flex items-center rounded bg-token-sidebar-surface-primary px-2 font-sans text-xs text-token-text-secondary dark:bg-token-main-surface-secondary\"><span class=\"\" data-state=\"closed\"><button class=\"flex gap-1 items-center select-none py-1\" aria-label=\"Kopyala\">Kodu kopyala<\/button><\/span><\/div>\n<\/div>\n<\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"!whitespace-pre language-bash\">sudo nano \/etc\/bind\/named.conf.local<br \/>\n<\/code><\/div>\n<\/div>\n<p style=\"text-align: justify;\" data-start=\"2454\" data-end=\"2460\">Veya<\/p>\n<div class=\"contain-inline-size rounded-md border-[0.5px] border-token-border-medium relative bg-token-sidebar-surface-primary\" style=\"text-align: justify;\">\n<div class=\"flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between h-9 bg-token-sidebar-surface-primary dark:bg-token-main-surface-secondary select-none rounded-t-[5px]\">bash<\/div>\n<div class=\"sticky top-9\">\n<div class=\"absolute bottom-0 right-0 flex h-9 items-center pr-2\">\n<div class=\"flex items-center rounded bg-token-sidebar-surface-primary px-2 font-sans text-xs text-token-text-secondary dark:bg-token-main-surface-secondary\"><span class=\"\" data-state=\"closed\"><button class=\"flex gap-1 items-center select-none py-1\" aria-label=\"Kopyala\">Kodu kopyala<\/button><\/span><\/div>\n<\/div>\n<\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"!whitespace-pre language-bash\">sudo nano \/etc\/named.conf<br \/>\n<\/code><\/div>\n<\/div>\n<ul style=\"text-align: justify;\">\n<li data-start=\"2514\" data-end=\"2597\"><strong data-start=\"2514\" data-end=\"2548\">DNS B\u00f6lge Dosyas\u0131n\u0131 D\u00fczenleyin<\/strong><br data-start=\"2548\" data-end=\"2551\" \/><strong data-start=\"2554\" data-end=\"2565\">A kayd\u0131<\/strong> eklemek i\u00e7in \u015fu dosyay\u0131 a\u00e7\u0131n:<\/li>\n<\/ul>\n<div class=\"contain-inline-size rounded-md border-[0.5px] border-token-border-medium relative bg-token-sidebar-surface-primary\" style=\"text-align: justify;\">\n<div class=\"flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between h-9 bg-token-sidebar-surface-primary dark:bg-token-main-surface-secondary select-none rounded-t-[5px]\">bash<\/div>\n<div class=\"sticky top-9\">\n<div class=\"absolute bottom-0 right-0 flex h-9 items-center pr-2\">\n<div class=\"flex items-center rounded bg-token-sidebar-surface-primary px-2 font-sans text-xs text-token-text-secondary dark:bg-token-main-surface-secondary\"><span class=\"\" data-state=\"closed\"><button class=\"flex gap-1 items-center select-none py-1\" aria-label=\"Kopyala\">Kodu kopyala<\/button><\/span><\/div>\n<\/div>\n<\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"!whitespace-pre language-bash\">sudo nano \/etc\/bind\/db.example.com<br \/>\n<\/code><\/div>\n<\/div>\n<p style=\"text-align: justify;\" data-start=\"2659\" data-end=\"2665\">Veya<\/p>\n<div class=\"contain-inline-size rounded-md border-[0.5px] border-token-border-medium relative bg-token-sidebar-surface-primary\" style=\"text-align: justify;\">\n<div class=\"flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between h-9 bg-token-sidebar-surface-primary dark:bg-token-main-surface-secondary select-none rounded-t-[5px]\">bash<\/div>\n<div class=\"sticky top-9\">\n<div class=\"absolute bottom-0 right-0 flex h-9 items-center pr-2\">\n<div class=\"flex items-center rounded bg-token-sidebar-surface-primary px-2 font-sans text-xs text-token-text-secondary dark:bg-token-main-surface-secondary\"><span class=\"\" data-state=\"closed\"><button class=\"flex gap-1 items-center select-none py-1\" aria-label=\"Kopyala\">Kodu kopyala<\/button><\/span><\/div>\n<\/div>\n<\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"!whitespace-pre language-bash\">sudo nano \/var\/named\/example.com.zone<br \/>\n<\/code><\/div>\n<\/div>\n<ul style=\"text-align: justify;\">\n<li data-start=\"2731\" data-end=\"2758\"><strong data-start=\"2731\" data-end=\"2756\">\u00d6rnek A Kayd\u0131 Giri\u015fi:<\/strong><\/li>\n<\/ul>\n<div class=\"contain-inline-size rounded-md border-[0.5px] border-token-border-medium relative bg-token-sidebar-surface-primary\" style=\"text-align: justify;\">\n<div class=\"flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between h-9 bg-token-sidebar-surface-primary dark:bg-token-main-surface-secondary select-none rounded-t-[5px]\">txt<\/div>\n<div class=\"sticky top-9\">\n<div class=\"absolute bottom-0 right-0 flex h-9 items-center pr-2\">\n<div class=\"flex items-center rounded bg-token-sidebar-surface-primary px-2 font-sans text-xs text-token-text-secondary dark:bg-token-main-surface-secondary\"><span class=\"\" data-state=\"closed\"><button class=\"flex gap-1 items-center select-none py-1\" aria-label=\"Kopyala\">Kodu kopyala<\/button><\/span><\/div>\n<\/div>\n<\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"!whitespace-pre language-txt\">example.com.   IN   A   192.168.1.100<br \/>\nwww            IN   A   192.168.1.100<br \/>\n<\/code><\/div>\n<\/div>\n<p style=\"text-align: justify;\" data-start=\"2863\" data-end=\"2938\">Bu, <strong data-start=\"2867\" data-end=\"2882\">example.com<\/strong> alan ad\u0131n\u0131 <strong data-start=\"2894\" data-end=\"2911\">192.168.1.100<\/strong> IP adresine y\u00f6nlendirir.<\/p>\n<ul style=\"text-align: justify;\">\n<li data-start=\"2943\" data-end=\"2981\"><strong data-start=\"2943\" data-end=\"2979\">DNS Sunucusunu Yeniden Ba\u015flat\u0131n:<\/strong><\/li>\n<\/ul>\n<div class=\"contain-inline-size rounded-md border-[0.5px] border-token-border-medium relative bg-token-sidebar-surface-primary\" style=\"text-align: justify;\">\n<div class=\"flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between h-9 bg-token-sidebar-surface-primary dark:bg-token-main-surface-secondary select-none rounded-t-[5px]\">bash<\/div>\n<div class=\"sticky top-9\">\n<div class=\"absolute bottom-0 right-0 flex h-9 items-center pr-2\">\n<div class=\"flex items-center rounded bg-token-sidebar-surface-primary px-2 font-sans text-xs text-token-text-secondary dark:bg-token-main-surface-secondary\"><span class=\"\" data-state=\"closed\"><button class=\"flex gap-1 items-center select-none py-1\" aria-label=\"Kopyala\">Kodu kopyala<\/button><\/span><\/div>\n<\/div>\n<\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"!whitespace-pre language-bash\">sudo systemctl restart bind9   <span class=\"hljs-comment\"># Debian\/Ubuntu<\/span><br \/>\nsudo systemctl restart named   <span class=\"hljs-comment\"># CentOS\/RHEL<\/span><br \/>\n<\/code><\/div>\n<\/div>\n<h3 style=\"text-align: justify;\" data-start=\"3106\" data-end=\"3158\"><strong data-start=\"3110\" data-end=\"3156\">MX Kayd\u0131 (E-posta Sunucusu Y\u00f6nlendirme)<\/strong><\/h3>\n<p style=\"text-align: justify;\" data-start=\"3160\" data-end=\"3269\">E\u011fer <strong data-start=\"3165\" data-end=\"3235\">alan ad\u0131n\u0131z i\u00e7in e-posta sunucu <\/strong>y\u00f6nlendirmesi yapman\u0131z gerekiyorsa, <strong data-start=\"3237\" data-end=\"3249\">MX kayd\u0131<\/strong> ekleyebilirsiniz.<\/p>\n<ul style=\"text-align: justify;\">\n<li data-start=\"3274\" data-end=\"3305\"><strong data-start=\"3274\" data-end=\"3303\">DNS B\u00f6lge Dosyan\u0131z\u0131 A\u00e7\u0131n:<\/strong><\/li>\n<\/ul>\n<div class=\"contain-inline-size rounded-md border-[0.5px] border-token-border-medium relative bg-token-sidebar-surface-primary\" style=\"text-align: justify;\">\n<div class=\"flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between h-9 bg-token-sidebar-surface-primary dark:bg-token-main-surface-secondary select-none rounded-t-[5px]\">bash<\/div>\n<div class=\"sticky top-9\">\n<div class=\"absolute bottom-0 right-0 flex h-9 items-center pr-2\">\n<div class=\"flex items-center rounded bg-token-sidebar-surface-primary px-2 font-sans text-xs text-token-text-secondary dark:bg-token-main-surface-secondary\"><span class=\"\" data-state=\"closed\"><button class=\"flex gap-1 items-center select-none py-1\" aria-label=\"Kopyala\">Kodu kopyala<\/button><\/span><\/div>\n<\/div>\n<\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"!whitespace-pre language-bash\">sudo nano \/etc\/bind\/db.example.com<br \/>\n<\/code><\/div>\n<\/div>\n<ul style=\"text-align: justify;\">\n<li data-start=\"3368\" data-end=\"3396\"><strong data-start=\"3368\" data-end=\"3394\">\u00d6rnek MX Kayd\u0131 Giri\u015fi:<\/strong><\/li>\n<\/ul>\n<div class=\"contain-inline-size rounded-md border-[0.5px] border-token-border-medium relative bg-token-sidebar-surface-primary\" style=\"text-align: justify;\">\n<div class=\"flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between h-9 bg-token-sidebar-surface-primary dark:bg-token-main-surface-secondary select-none rounded-t-[5px]\">txt<\/div>\n<div class=\"sticky top-9\">\n<div class=\"absolute bottom-0 right-0 flex h-9 items-center pr-2\">\n<div class=\"flex items-center rounded bg-token-sidebar-surface-primary px-2 font-sans text-xs text-token-text-secondary dark:bg-token-main-surface-secondary\"><span class=\"\" data-state=\"closed\"><button class=\"flex gap-1 items-center select-none py-1\" aria-label=\"Kopyala\">Kodu kopyala<\/button><\/span><\/div>\n<\/div>\n<\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"!whitespace-pre language-txt\">example.com.   IN   MX   10 mail.example.com.<br \/>\nmail           IN   A    192.168.1.200<br \/>\n<\/code><\/div>\n<\/div>\n<ul style=\"text-align: justify;\">\n<li data-start=\"3511\" data-end=\"3586\"><strong data-start=\"3511\" data-end=\"3544\">De\u011fi\u015fiklikleri Kaydedip \u00c7\u0131k\u0131n<\/strong> ve <strong data-start=\"3548\" data-end=\"3584\">DNS Sunucusunu Yeniden Ba\u015flat\u0131n:<\/strong><\/li>\n<\/ul>\n<div class=\"contain-inline-size rounded-md border-[0.5px] border-token-border-medium relative bg-token-sidebar-surface-primary\" style=\"text-align: justify;\">\n<div class=\"flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between h-9 bg-token-sidebar-surface-primary dark:bg-token-main-surface-secondary select-none rounded-t-[5px]\">bash<\/div>\n<div class=\"sticky top-9\">\n<div class=\"absolute bottom-0 right-0 flex h-9 items-center pr-2\">\n<div class=\"flex items-center rounded bg-token-sidebar-surface-primary px-2 font-sans text-xs text-token-text-secondary dark:bg-token-main-surface-secondary\"><span class=\"\" data-state=\"closed\"><button class=\"flex gap-1 items-center select-none py-1\" aria-label=\"Kopyala\">Kodu kopyala<\/button><\/span><\/div>\n<\/div>\n<\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"!whitespace-pre language-bash\">sudo systemctl restart bind9<br \/>\n<\/code><\/div>\n<\/div>\n<p style=\"text-align: justify;\" data-start=\"3640\" data-end=\"3738\">Bu yap\u0131land\u0131rma, <strong data-start=\"3657\" data-end=\"3735\">example.com e-posta trafi\u011fini mail.example.com <\/strong>sunucusuna y\u00f6nlendirecektir.<\/p>\n<h3 style=\"text-align: justify;\" data-start=\"3745\" data-end=\"3815\"><strong data-start=\"3749\" data-end=\"3813\">CNAME Kayd\u0131 (Alan Ad\u0131n\u0131 Ba\u015fka Bir Alan Ad\u0131na Y\u00f6nlendirme)<\/strong><\/h3>\n<p style=\"text-align: justify;\" data-start=\"3817\" data-end=\"3905\">CNAME kayd\u0131, bir <strong data-start=\"3830\" data-end=\"3902\">alt alan ad\u0131n\u0131 <\/strong>ba\u015fka bir<strong data-start=\"3830\" data-end=\"3902\"> alan ad\u0131na <\/strong>y\u00f6nlendirmek i\u00e7in kullan\u0131l\u0131r.<\/p>\n<ul style=\"text-align: justify;\">\n<li data-start=\"3910\" data-end=\"3937\"><strong data-start=\"3910\" data-end=\"3935\">B\u00f6lge Dosyas\u0131n\u0131 A\u00e7\u0131n:<\/strong><\/li>\n<\/ul>\n<div class=\"contain-inline-size rounded-md border-[0.5px] border-token-border-medium relative bg-token-sidebar-surface-primary\" style=\"text-align: justify;\">\n<div class=\"flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between h-9 bg-token-sidebar-surface-primary dark:bg-token-main-surface-secondary select-none rounded-t-[5px]\">bash<\/div>\n<div class=\"sticky top-9\">\n<div class=\"absolute bottom-0 right-0 flex h-9 items-center pr-2\">\n<div class=\"flex items-center rounded bg-token-sidebar-surface-primary px-2 font-sans text-xs text-token-text-secondary dark:bg-token-main-surface-secondary\"><span class=\"\" data-state=\"closed\"><button class=\"flex gap-1 items-center select-none py-1\" aria-label=\"Kopyala\">Kodu kopyala<\/button><\/span><\/div>\n<\/div>\n<\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"!whitespace-pre language-bash\">sudo nano \/etc\/bind\/db.example.com<br \/>\n<\/code><\/div>\n<\/div>\n<ul style=\"text-align: justify;\">\n<li data-start=\"4000\" data-end=\"4026\"><strong data-start=\"4000\" data-end=\"4024\">CNAME Kayd\u0131 Ekleyin:<\/strong><\/li>\n<\/ul>\n<div class=\"contain-inline-size rounded-md border-[0.5px] border-token-border-medium relative bg-token-sidebar-surface-primary\" style=\"text-align: justify;\">\n<div class=\"flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between h-9 bg-token-sidebar-surface-primary dark:bg-token-main-surface-secondary select-none rounded-t-[5px]\">txt<\/div>\n<div class=\"sticky top-9\">\n<div class=\"absolute bottom-0 right-0 flex h-9 items-center pr-2\">\n<div class=\"flex items-center rounded bg-token-sidebar-surface-primary px-2 font-sans text-xs text-token-text-secondary dark:bg-token-main-surface-secondary\"><span class=\"\" data-state=\"closed\"><button class=\"flex gap-1 items-center select-none py-1\" aria-label=\"Kopyala\">Kodu kopyala<\/button><\/span><\/div>\n<\/div>\n<\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"!whitespace-pre language-txt\">blog   IN   CNAME   example.com.<br \/>\n<\/code><\/div>\n<\/div>\n<ul style=\"text-align: justify;\">\n<li data-start=\"4086\" data-end=\"4123\"><strong data-start=\"4086\" data-end=\"4121\">DNS Servisini Yeniden Ba\u015flat\u0131n:<\/strong><\/li>\n<\/ul>\n<div class=\"contain-inline-size rounded-md border-[0.5px] border-token-border-medium relative bg-token-sidebar-surface-primary\" style=\"text-align: justify;\">\n<div class=\"flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between h-9 bg-token-sidebar-surface-primary dark:bg-token-main-surface-secondary select-none rounded-t-[5px]\">bash<\/div>\n<div class=\"sticky top-9\">\n<div class=\"absolute bottom-0 right-0 flex h-9 items-center pr-2\">\n<div class=\"flex items-center rounded bg-token-sidebar-surface-primary px-2 font-sans text-xs text-token-text-secondary dark:bg-token-main-surface-secondary\"><span class=\"\" data-state=\"closed\"><button class=\"flex gap-1 items-center select-none py-1\" aria-label=\"Kopyala\">Kodu kopyala<\/button><\/span><\/div>\n<\/div>\n<\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"!whitespace-pre language-bash\">sudo systemctl restart bind9<br \/>\n<\/code><\/div>\n<\/div>\n<p style=\"text-align: justify;\" data-start=\"4177\" data-end=\"4266\">Bu i\u015flem, <strong data-start=\"4187\" data-end=\"4263\">blog.example.com adresinin example.com<\/strong> adresine y\u00f6nlendirilmesini sa\u011flar.<\/p>\n<h3 style=\"text-align: justify;\" data-start=\"4273\" data-end=\"4337\"><strong data-start=\"4277\" data-end=\"4335\">TXT Kayd\u0131 (Alan Ad\u0131 Do\u011frulama ve G\u00fcvenlik Ayarlar\u0131)<\/strong><\/h3>\n<p style=\"text-align: justify;\" data-start=\"4339\" data-end=\"4448\">TXT kay\u0131tlar\u0131, <strong data-start=\"4354\" data-end=\"4419\">SPF, DKIM, DMARC <\/strong>gibi <strong data-start=\"4354\" data-end=\"4419\">e-posta g\u00fcvenli\u011fi ve alan ad\u0131 <\/strong>do\u011frulama i\u015flemleri i\u00e7in kullan\u0131l\u0131r.<\/p>\n<ul style=\"text-align: justify;\">\n<li data-start=\"4453\" data-end=\"4477\"><strong data-start=\"4453\" data-end=\"4475\">TXT Kayd\u0131 Ekleyin:<\/strong><\/li>\n<\/ul>\n<div class=\"contain-inline-size rounded-md border-[0.5px] border-token-border-medium relative bg-token-sidebar-surface-primary\" style=\"text-align: justify;\">\n<div class=\"flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between h-9 bg-token-sidebar-surface-primary dark:bg-token-main-surface-secondary select-none rounded-t-[5px]\">txt<\/div>\n<div class=\"sticky top-9\">\n<div class=\"absolute bottom-0 right-0 flex h-9 items-center pr-2\">\n<div class=\"flex items-center rounded bg-token-sidebar-surface-primary px-2 font-sans text-xs text-token-text-secondary dark:bg-token-main-surface-secondary\"><span class=\"\" data-state=\"closed\"><button class=\"flex gap-1 items-center select-none py-1\" aria-label=\"Kopyala\">Kodu kopyala<\/button><\/span><\/div>\n<\/div>\n<\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"!whitespace-pre language-txt\">example.com.   IN   TXT   \"v=spf1 include:_spf.google.com ~all\"<br \/>\n<\/code><\/div>\n<\/div>\n<ul style=\"text-align: justify;\">\n<li data-start=\"4568\" data-end=\"4640\"><strong data-start=\"4568\" data-end=\"4638\">G\u00fcncellemeleri Etkinle\u015ftirmek \u0130\u00e7in DNS Servisini Yeniden Ba\u015flat\u0131n:<\/strong><\/li>\n<\/ul>\n<div class=\"contain-inline-size rounded-md border-[0.5px] border-token-border-medium relative bg-token-sidebar-surface-primary\" style=\"text-align: justify;\">\n<div class=\"flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between h-9 bg-token-sidebar-surface-primary dark:bg-token-main-surface-secondary select-none rounded-t-[5px]\">bash<\/div>\n<div class=\"sticky top-9\">\n<div class=\"absolute bottom-0 right-0 flex h-9 items-center pr-2\">\n<div class=\"flex items-center rounded bg-token-sidebar-surface-primary px-2 font-sans text-xs text-token-text-secondary dark:bg-token-main-surface-secondary\"><span class=\"\" data-state=\"closed\"><button class=\"flex gap-1 items-center select-none py-1\" aria-label=\"Kopyala\">Kodu kopyala<\/button><\/span><\/div>\n<\/div>\n<\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"!whitespace-pre language-bash\">sudo systemctl restart bind9<br \/>\n<\/code><\/div>\n<\/div>\n<p style=\"text-align: justify;\" data-start=\"4694\" data-end=\"4807\">Bu kay\u0131t, <strong data-start=\"4704\" data-end=\"4804\">example.com i\u00e7in SPF <\/strong>do\u011frulamas\u0131n\u0131 etkinle\u015ftirir<strong data-start=\"4704\" data-end=\"4804\"> ve e-posta <\/strong>sahtecili\u011fini \u00f6nlemeye yard\u0131mc\u0131 olur.<\/p>\n<h3 style=\"text-align: justify;\" data-start=\"4814\" data-end=\"4850\"><strong data-start=\"4817\" data-end=\"4848\">DNS Ayarlar\u0131n\u0131 Test Etme<\/strong><\/h3>\n<p style=\"text-align: justify;\" data-start=\"4852\" data-end=\"4954\"><strong data-start=\"4852\" data-end=\"4913\">DNS yap\u0131land\u0131rmalar\u0131n\u0131n <\/strong>do\u011fru \u00e7al\u0131\u015ft\u0131\u011f\u0131n\u0131 test etmek i\u00e7in a\u015fa\u011f\u0131daki komutlar\u0131 kullanabilirsiniz:<\/p>\n<ul style=\"text-align: justify;\" data-start=\"4956\" data-end=\"5204\">\n<li data-start=\"4956\" data-end=\"5023\">\n<p data-start=\"4958\" data-end=\"4982\"><strong data-start=\"4958\" data-end=\"4980\">Yerel Sunucu \u0130\u00e7in:<\/strong><\/p>\n<div class=\"contain-inline-size rounded-md border-[0.5px] border-token-border-medium relative bg-token-sidebar-surface-primary\">\n<div class=\"flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between h-9 bg-token-sidebar-surface-primary dark:bg-token-main-surface-secondary select-none rounded-t-[5px]\">bash<\/div>\n<div class=\"sticky top-9\">\n<div class=\"absolute bottom-0 right-0 flex h-9 items-center pr-2\">\n<div class=\"flex items-center rounded bg-token-sidebar-surface-primary px-2 font-sans text-xs text-token-text-secondary dark:bg-token-main-surface-secondary\"><span class=\"\" data-state=\"closed\"><button class=\"flex gap-1 items-center select-none py-1\" aria-label=\"Kopyala\">Kodu kopyala<\/button><\/span><\/div>\n<\/div>\n<\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"!whitespace-pre language-bash\">nslookup example.com<br \/>\n<\/code><\/div>\n<\/div>\n<\/li>\n<li data-start=\"5025\" data-end=\"5121\">\n<p data-start=\"5027\" data-end=\"5076\"><strong data-start=\"5027\" data-end=\"5074\">Belirli Bir DNS Sunucusunda Sorgulama \u0130\u00e7in:<\/strong><\/p>\n<div class=\"contain-inline-size rounded-md border-[0.5px] border-token-border-medium relative bg-token-sidebar-surface-primary\">\n<div class=\"flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between h-9 bg-token-sidebar-surface-primary dark:bg-token-main-surface-secondary select-none rounded-t-[5px]\">bash<\/div>\n<div class=\"sticky top-9\">\n<div class=\"absolute bottom-0 right-0 flex h-9 items-center pr-2\">\n<div class=\"flex items-center rounded bg-token-sidebar-surface-primary px-2 font-sans text-xs text-token-text-secondary dark:bg-token-main-surface-secondary\"><span class=\"\" data-state=\"closed\"><button class=\"flex gap-1 items-center select-none py-1\" aria-label=\"Kopyala\">Kodu kopyala<\/button><\/span><\/div>\n<\/div>\n<\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"!whitespace-pre language-bash\">dig example.com @8.8.8.8<br \/>\n<\/code><\/div>\n<\/div>\n<\/li>\n<li data-start=\"5123\" data-end=\"5204\">\n<p data-start=\"5125\" data-end=\"5165\"><strong data-start=\"5125\" data-end=\"5163\">MX Kay\u0131tlar\u0131n\u0131 Kontrol Etmek \u0130\u00e7in:<\/strong><\/p>\n<div class=\"contain-inline-size rounded-md border-[0.5px] border-token-border-medium relative bg-token-sidebar-surface-primary\">\n<div class=\"flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between h-9 bg-token-sidebar-surface-primary dark:bg-token-main-surface-secondary select-none rounded-t-[5px]\">bash<\/div>\n<div class=\"sticky top-9\">\n<div class=\"absolute bottom-0 right-0 flex h-9 items-center pr-2\">\n<div class=\"flex items-center rounded bg-token-sidebar-surface-primary px-2 font-sans text-xs text-token-text-secondary dark:bg-token-main-surface-secondary\"><span class=\"\" data-state=\"closed\"><button class=\"flex gap-1 items-center select-none py-1\" aria-label=\"Kopyala\">Kodu kopyala<\/button><\/span><\/div>\n<\/div>\n<\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"!whitespace-pre language-bash\">dig MX example.com<br \/>\n<\/code><\/div>\n<\/div>\n<\/li>\n<\/ul>\n<p style=\"text-align: justify;\" data-start=\"5206\" data-end=\"5316\">E\u011fer DNS yap\u0131land\u0131rmalar\u0131nda hata al\u0131rsan\u0131z, log dosyalar\u0131n\u0131 kontrol ederek sorunu tespit edebilirsiniz:<\/p>\n<div class=\"contain-inline-size rounded-md border-[0.5px] border-token-border-medium relative bg-token-sidebar-surface-primary\" style=\"text-align: justify;\">\n<div class=\"flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between h-9 bg-token-sidebar-surface-primary dark:bg-token-main-surface-secondary select-none rounded-t-[5px]\">bash<\/div>\n<div class=\"sticky top-9\">\n<div class=\"absolute bottom-0 right-0 flex h-9 items-center pr-2\">\n<div class=\"flex items-center rounded bg-token-sidebar-surface-primary px-2 font-sans text-xs text-token-text-secondary dark:bg-token-main-surface-secondary\"><span class=\"\" data-state=\"closed\"><button class=\"flex gap-1 items-center select-none py-1\" aria-label=\"Kopyala\">Kodu kopyala<\/button><\/span><\/div>\n<\/div>\n<\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"!whitespace-pre language-bash\">sudo <span class=\"hljs-built_in\">tail<\/span> -f \/var\/log\/syslog   <span class=\"hljs-comment\"># Debian\/Ubuntu<\/span><br \/>\nsudo <span class=\"hljs-built_in\">tail<\/span> -f \/var\/log\/messages <span class=\"hljs-comment\">#<\/span><\/code><\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"!whitespace-pre language-bash\"><span class=\"hljs-comment\"> CentOS\/RHEL<\/span><\/code><\/div>\n<div dir=\"ltr\"><\/div>\n<\/div>\n<p style=\"text-align: justify;\" data-start=\"5445\" data-end=\"5779\"><a href=\"https:\/\/sh.com.tr\/linux-hosting\"><strong data-start=\"5445\" data-end=\"5462\">Linux hosting<\/strong><\/a> \u00fczerinde <strong data-start=\"5472\" data-end=\"5510\">DNS ayarlar\u0131n\u0131 <\/strong>do\u011fru yap\u0131land\u0131rmak, web sitenizin g\u00fcvenli ve h\u0131zl\u0131 \u00e7al\u0131\u015fmas\u0131n\u0131 sa\u011flar. <strong data-start=\"5567\" data-end=\"5669\">Alan ad\u0131 y\u00f6nlendirme, e-posta <\/strong>sunucusu ayarlar\u0131,<strong data-start=\"5567\" data-end=\"5669\"> alt alan ad\u0131 <\/strong>konfig\u00fcrasyonu ve g\u00fcvenlik kay\u0131tlar\u0131, do\u011fru \u015fekilde ayarland\u0131\u011f\u0131nda, hata oranlar\u0131n\u0131 minimuma indirerek kullan\u0131c\u0131 deneyimini iyile\u015ftirir.<\/p>\n<p style=\"text-align: justify;\" data-start=\"5781\" data-end=\"5922\" data-is-last-node=\"\" data-is-only-node=\"\">E\u011fer DNS yap\u0131land\u0131rmalar\u0131nda hata al\u0131yorsan\u0131z, \u00f6nbelle\u011fi temizleyerek veya DNS loglar\u0131n\u0131 kontrol ederek sorunu h\u0131zl\u0131ca \u00e7\u00f6zebilirsiniz!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Linux hosting \u00fczerinde DNS ayarlar\u0131, bir alan ad\u0131n\u0131 IP adresiyle e\u015fle\u015ftirerek web sitenizin eri\u015filebilir olmas\u0131n\u0131 sa\u011flar. DNS (Domain Name System), internet \u00fczerindeki alan adlar\u0131n\u0131 IP adreslerine y\u00f6nlendiren kritik bir sistemdir. Do\u011fru yap\u0131land\u0131r\u0131lm\u0131\u015f DNS ayarlar\u0131, web sitenizin kesintisiz ve h\u0131zl\u0131 \u00e7al\u0131\u015fmas\u0131n\u0131 sa\u011flar. Bu yaz\u0131da, Linux hosting \u00fczerinde DNS ayarlar\u0131n\u0131 yap\u0131land\u0131rmak i\u00e7in gerekli ad\u0131mlar\u0131 inceleyece\u011fiz. DNS Nedir [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":16626,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[1742,1745,1743,1744],"class_list":["post-16625","post","type-post","status-publish","format-standard","has-post-thumbnail","category-hosting","tag-dns-kayitlari-nasil-calisir","tag-e-posta-teslimat-sorunlarini-cozme","tag-linux-hosting-dns-ayarlari","tag-mx-kaydi-e-posta-sunucusu"],"_links":{"self":[{"href":"https:\/\/sh.com.tr\/blog\/wp-json\/wp\/v2\/posts\/16625","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sh.com.tr\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sh.com.tr\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sh.com.tr\/blog\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/sh.com.tr\/blog\/wp-json\/wp\/v2\/comments?post=16625"}],"version-history":[{"count":0,"href":"https:\/\/sh.com.tr\/blog\/wp-json\/wp\/v2\/posts\/16625\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sh.com.tr\/blog\/wp-json\/wp\/v2\/media\/16626"}],"wp:attachment":[{"href":"https:\/\/sh.com.tr\/blog\/wp-json\/wp\/v2\/media?parent=16625"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sh.com.tr\/blog\/wp-json\/wp\/v2\/categories?post=16625"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sh.com.tr\/blog\/wp-json\/wp\/v2\/tags?post=16625"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}