ããããã¼ã ãµã¼ãã¸ã®åãåããã«ä½¿ãã®ããå帰åãåããã ãã¼ã ãµã¼ããä»ãã¼ã ãµã¼ãã¸åãåãããã®ãå復åãåããã ãªã
ããããã¼ã ãµã¼ãã¸ã®åãåããã«ä½¿ãã®ããå帰åãåããã ãã¼ã ãµã¼ããä»ãã¼ã ãµã¼ãã¸åãåãããã®ãå復åãåããã ãªã
ä»æ¥iptableså¨ã触ã£ã¦ããããã¡ããã¡ãã¯ã¾ã£ã¦ãã¾ã£ãã®ã§ã¡ã¢ã ã¾ãresolv.confãç´ãã¦ããã¯ã¦ãªã°ã«ã¼ãã®çµäºæ¥ã2020å¹´1æ31æ¥(é)ã«æ±ºå®ãã¾ãã - ã¯ã¦ãªã®åç¥ãåèã«ãã¤ã¤ã ã§ããã®å¾å ¨ãåå解決ã§ããªããªã£ã*1ã ããã§ãããã調ã¹ã¦ãããçµå±DNSãã±ãããiptablesã§é®æããã¦ãã®ãåå ã ã£ããè¨å®ç¨ã¹ã¯ãªããã®æåã®æ¹ã«ä»¥ä¸ã®è¡ã追å ãããç´ã£ãã # å é¨ããæ¥ç¶ã確ç«ããã³ãã¯ã·ã§ã³ã®ãã±ããã¯åãå ¥ãã iptables -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT *1:ãã¨ããresolv.confãé¢ä¿ãªããã¨ãããã£ããã©ãæåã¯ãã®ããã ã¨æã£ã¦ã
DNSãµã¼ãã¼(BIND)ã¯fedorasrv.comã¨ãããã¡ã¤ã³åããIPã¢ãã¬ã¹ãè¿ããããIPã¢ãã¬ã¹ãããã¡ã¤ã³åãè¿ããµã¼ãã¼ã ããã§ã¯ãå é¨ã§ãµã¼ãã¼ã«ã¢ã¯ã»ã¹ããã¨ãã«IPã¢ãã¬ã¹ã§ã¯ãªããfedorasrv.comã§ã¢ã¯ã»ã¹ã§ããããã«ãããâå é¨åãDNSãµã¼ãã¼ ã¾ããå¤é¨ãããµã¼ãã¼ã«ã¢ã¯ã»ã¹ããã¨ãã®èªãã¡ã¤ã³åããIPã¢ãã¬ã¹ã¸ã®å¤æ(åå解決)ãè¡ãªãããã«ãããâå¤é¨åãDNSãµã¼ãã¼ ããã«ãããèªå® ãµã¼ãã¼ã稼åä¸ã«ãä¿ãããããã¤ãããã¯DNSãµã¼ãã¹å´ãä¿å®ããã©ãã«çã«ãããµã¼ãã¹åæ¢ãããã¨ã«ãããã¡ã¤ã³åã§ãµã¼ãã¼ã«ã¢ã¯ã»ã¹ã§ããªããªãã¨ãããã¨ããªããªãã â»ç¬èªãã¡ã¤ã³åå¾æ¸ã§åºå®IPã¢ãã¬ã¹ç°å¢ã§ããã㨠â»fedorasrv.comã¯å½ãµã¤ãã®ä¾ãªã®ã§ãåèªã§ç½®ãæãããã¨ï¼ [root@fedora ~]# yum -y insta
[root@centos ~]# yum -y install bind bind-chroot caching-nameserverãâãbind,bind-chroot, caching-nameserverã¤ã³ã¹ãã¼ã« [root@centos ~]# cp /var/named/chroot/etc/named.caching-nameserver.conf /var/named/chroot/etc/named.conf âãBINDè¨å®ãã¡ã¤ã«ã³ãã¼ [root@centos ~]# chgrp named /var/named/chroot/etc/named.confãâãBINDè¨å®ãã¡ã¤ã«ææã°ã«ã¼ãå¤æ´ [root@centos ~]# vi /var/named/chroot/etc/named.confãâãBINDè¨å®ãã¡ã¤ã«ç·¨é options { #list
DNS ãµã¼ãã¨ãã¦æå㪠BIND ã使ç¨ãã¦ãLAN å é¨åãã® DNS ãµã¼ããæ§ç¯ãã¾ãã LAN å é¨åãã®è¨å®ã§ãã®ã§ãå¤é¨ï¼ã¤ã³ã¿ã¼ãããå´ï¼ããã®ã¢ã¯ã»ã¹ã¯ä¸åé¢ä¿ããã¾ããã LAN å ã« ãµã¼ã以å¤ã®ãã½ã³ã³ï¼ä»¥ä¸ãã¯ã©ã¤ã¢ã³ãï¼ãããå ´åãã¯ã©ã¤ã¢ã³ãããèªåã®ãã¡ã¤ã³ã§ã¢ã¯ã»ã¹ããå ´åã ã«ã¼ã¿ã®è¨å®ç»é¢ã表示ããã¾ããããã¯ç°¡åã«è¨ãã¨ãLAN å ã®åå解決ãåºæ¥ã¦ããªãããã§ãã ã¯ã©ã¤ã¢ã³ãæ¯ã« hosts ãã¡ã¤ã«ãè¨å®ãã¦ãè¯ãã®ã§ãããã¯ã©ã¤ã¢ã³ããè¤æ°å°ããå ´åããã®è¨å®ãè¡ãã®ãé¢åã§ãããã ããã§ãLAN å é¨ã®åå解決ãä¸æ¬ç®¡çãã DNS ãµã¼ããæ§ç¯ãã¾ãã ãã®ãã¼ã¸ã§ã®å®ç¾ãããäºã以ä¸ã«ç¤ºãã¾ãã LAN å ããã®ã¿ãã® DNS ãµã¼ãã使ç¨å¯è½ LAN å ãããã¡ã¤ã³åã§ã¢ã¯ã»ã¹ããæ§ã«ãã hosts ãã¡ã¤ã«ã«ã¯æ¥µåè¨è¿°ããªã
text DNSãµã¼ãã¼ã®æ§ç¯ DNSãµã¼ãã¼ã®æ§ç¯ã¨æ´»ç¨ ï¼ï¼DNSãµã¼ãã¼ã¨ã¯ DNSã¨ã¯ãDomain Name Systemãã®ç¥ã§ãIPã¢ãã¬ã¹ã¨ãã¹ãåãç¸äºå¤æãã¦ããããµã¼ãã¹ã1983å¹´ã«æ å ±ç§å¦ç 究æ (ISI) ã®ãã¼ã«ã»ã¢ã«ãããªã¹ã¨ã¸ã§ã³ã»ãã¹ãã«ã«ããéçºãããã ã¤ã³ã¿ã¼ããããã¤ã³ãã©ãããã«é¢ãããTCP/IPãã¼ã¹ã®ãããã¯ã¼ã¯ã§ã¯ããã½ã³ã³ããµã¼ãã¼ããã¹ã¤ãããã«ã¼ã¿ã¼ãããªã³ã¿ã¨ãã£ããããã¯ã¼ã¯æ©å¨ã¾ã§ããããã¯ã¼ã¯ã«æ¥ç¶ãã¦ç¨¼åãããæ©å¨ã«ã¯ãããããããã¯ã¼ã¯ä¸ã§ã®åä½èå¥ã®ããã«IPã¢ãã¬ã¹(ä¾ï¼203.141.134.6)ãå²ãæ¯ããããã¨ã«ãªã£ã¦ããããããã¯ã¼ã¯ã«æ¥ç¶ãããã³ã³ãã¥ã¼ã¿ã¯ãäºãã®IPã¢ãã¬ã¹ãéä¿¡å ã«æå®ãã¦éä¿¡ãè¡ã£ã¦ããã IPã¢ãã¬ã¹( 203.141.134.6 )ã¯0ï½255ã®æ°å¤ã4ã¤ãããªãªãã§åºåã£ã¦ä¸¦
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}