èæ¯
ãã£ãŒãããã¯ãåãåããã¿ã¹ã¯ãããæ£ç¢ºã«åªå é äœä»ãããããšã«å°æããPleskéçºè ã¯ãUserVoice- http://plesk.uservoice.comã«ã¢ã«ãŠã³ããäœæããŸããã ãããã£ãŠã顧客ãã€ãããŒã·ã§ã³ãæäŸãããã奜ãã§ãªããã®ãæžããããå¿ èŠãªæ©èœã«æ祚ãããããããšãã§ããŸãïŒæ祚ã®å€§åãç²åŸãããã®ãéçºã«åå ããŸãïŒã ãŠãŒã¶ãŒããåãåã£ããããã質åã®1ã€ã¯ããã¹ã¬ãŒãDNSãµããŒãã®èªååãã§ãã ããã¯ãã»ãšãã©ãã¹ãŠã®PleskãµãŒããŒç®¡çè ãæãããªãå€ãæ©èœèŠæ±ã§ãã ãã®è³ªåãå®å šã«çµäºããããã«ã察å¿ããPleskæ¡åŒµæ©èœãäœæããããšã«ããŸããã ãããè¡ãçç±ã¯äœã§ããïŒ æ£ç¢ºã«ã¯äœãããŸãããïŒ
ãã¹ããå°ãªããšã2ã€ã®NSãµãŒããŒïŒãŸãã¯ãã以äžïŒãå¿ èŠãšããçç±ã¯ããã€ããããŸãã
- ã¬ãžã¹ãã©ãããã¡ã€ã³ãè³Œå ¥ããŸããã ãã¡ã€ã³ãå§ä»»ããããã«ãã»ãšãã©ã®ã¬ãžã¹ãã©ïŒããšãã°ããã·ã¢ã®nic.ruãReg.ruãwebnames.ruãªã©ïŒã§ã¯ãå°ãªããšã2ã3ã®ããŒã ãµãŒããŒïŒNSïŒããã¡ã€ã³ãŸãŒã³ã«ãµãŒãã¹ãæäŸããå¿ èŠããããŸãã
- ãã¹ãã£ã³ã°ãåããè€æ°ã®ãµãŒããŒãããã Parallels AutomationãŸãã¯Parallels Plesk Automationã¬ãã«ã®è£œåã®äœ¿çšã«ãŸã æé·ããŠããªããããã¹ããããŠãããã¹ãŠã®ãã¡ã€ã³ã«å¯ŸããŠNSãµãŒããŒã®åäžã»ããã䜿çšãããå Žåã
- ãµãŒãããŒãã£ã«äŸåããã«ãç¬èªã®NSãµãŒããŒãå¿ èŠã§ãã
- ãã¡ã€ã³ã®whoisæ
å ±ã«NSãµãŒããŒãå¿
èŠã§ãã ããã§ã¯ãããšãã°ãparallels.comãã¡ã€ã³ã®whoisæ
å ±ãåºåããŸãã
Domain Name: PARALLELS.COM Registrar: MONIKER ONLINE SERVICES LLC Whois Server: whois.moniker.com ⊠Name Server: NS1.PARALLELS.COM Name Server: NS2.PARALLELS.COM Name Server: NS3.PARALLELS.COM âŠ
ã芧ã®ãšãããç¬èªã®NSãµãŒããŒãçšæããã®ã«ã¯ååãªçç±ããããŸãã éåžžããããã®åé¡ã解決ããããã«ããã¹ãã£ã³ã°äºæ¥è ã¯ãã¹ã¿ãŒã¹ã¬ãŒãã¢ãŒãã§ããŒã ãµãŒããŒã®ãã¢ãæ§æããŸãã åæã«ããã¡ã€ã³ãŸãŒã³ã¯äž¡æ¹ã®ãµãŒããŒã§äœæãããŸããããã¡ã€ã³ãŸãŒã³ã®ãªãœãŒã¹ãŸãŒã³ã¬ã³ãŒãã¯ãŠã£ã¶ãŒãã§ã®ã¿ç®¡çãããŸãã ãŸããã»ã«ã³ããªïŒã¹ã¬ãŒãïŒããŒã ãµãŒããŒã¯ããŠã£ã¶ãŒãããå€æŽãèªåçã«ããŠã³ããŒãããŸãã ãããã£ãŠãåããã¡ã€ã³ãŸãŒã³ã®ã»ãããšåããªãœãŒã¹ã¬ã³ãŒãã®ã»ãããæã€2ã€ã®ããŒã ãµãŒããŒãåžžã«ã¢ã¯ãã£ãã«ãªããŸãã
å¯äžã®äžå¿«ãªäºçŽ°ãªããšã¯ãäž¡æ¹ã®ãµãŒããŒã§ãŸãŒã³ãäœæ/åé€ããå¿ èŠããããšããããšã§ãã ããã¯èªåçã«ã¯è¡ãããŸããã ãããã£ãŠããã¹ã¿ãŒã«ãã¡ã€ã³ãŸãŒã³ãäœæããŸãã 次ã«ãã¹ã¬ãŒãäžã«ãã¡ã€ã³ãŸãŒã³ãäœæãããã¹ã¿ãŒãµãŒããŒã®ã¢ãã¬ã¹ãæå®ããŸãã ããã§ããŠã£ã¶ãŒãã«ãã¡ã€ã³ãªãœãŒã¹ã¬ã³ãŒããè¿œå ã§ããŸãããããã§ãã¹ã¬ãŒãããããããèªåçã«ããããååŸã§ããããã«ãªããŸãã
ãããã©ã®ããã«å®è£ ããŸãããïŒ
Parallels Plesk Panelãšã¹ã¬ãŒãDNSãé·å¹Žã«ããã£ãŠçµ±åããããšã¯ãããããªäœæ¥ã§ã¯ãããŸããã§ããã PleskãµãŒããŒã¯ãŠã£ã¶ãŒããšããŠæ©èœããããšãç解ãããŠããŸãã Pleskã¯ãã¡ã€ã³ãŸãŒã³ã«ã¹ã¬ãŒã/ãã¹ã¿ãŒã¢ãŒããå®è£ ããŠããŸã;ãã¡ã€ã³ãŸãŒã³ã®ãªã¯ãšã¹ããè¡ãããšãã§ããIPã¢ãã¬ã¹ã®ã°ããŒãã«ãªã¹ãããããŸãã ãã ããã¹ã¬ãŒããµãŒããŒã«æ°ãããã¡ã€ã³ãŸãŒã³ãäœæããã¡ã«ããºã ã¯ãããŸããã ãããŠãããŸããã Pleskã®ã³ã³ã»ããã¯ãåäžãµãŒããŒå ã®ãã¹ãã£ã³ã°æäœãèªååããããã®ããã«ã ããã§ãã è€æ°ã®ãµãŒããŒã®çµ±åããµãŒãã¹ã®çš®é¡ã«ããåé¢ãå¿ èŠãªå ŽåãParallelsã«ã¯ä»ã®è£œåããããŸããParallelsPlesk AutomationãParallels Operation AutomationããããŠæçµçã«ã¯åªããå æ¬çãªParallels Automationãœãªã¥ãŒã·ã§ã³ã§ãã
ãããŠãåé¡ã¯äœã§ããïŒããšããªãã¯å°ããŸãã ããããå®éã«ã¯ãäžèšã®è£œåãå¿ èŠãšããªãPleskãŠãŒã¶ãŒãå€æ°ååšããç¹å®ã®åé¡ã解決ããããã«éå°ã«èªå®ãããŠããŸãã ãŸããã¹ã¬ãŒãããŒã ãµãŒããŒãšã®çµ±åã®ã¿ãå¿ èŠã§ãã
ãã®åé¡ã解決ããããã«ãäžåºŠã«åPlesk管çè ãç¬èªã®ãœãããŠã§ã¢ãœãªã¥ãŒã·ã§ã³ãäœæããŸããã ãŸãã¯åžè²©ã®ãã®ãè²·ããŸããã ãŸãã¯ãã¹ã¬ãŒããµãŒããŒã§ãã¡ã€ã³ãŸãŒã³ãäœæ/åé€ããæäœãæåã§å®è¡ããŸããã
ããã¯è€éã«èŠããã§ããããïŒ Pleskã«ã¯ããŒã«ã«NSãµãŒããŒãããããã¹ã¿ãŒã«ãªããã€ãã³ãã·ã¹ãã ããããŸãããDNSãŸãŒã³ã®äœæãããã³ãDNSãŸãŒã³ã®åé€ãã€ãã³ãã«ã¹ã¯ãªããã®å®è¡ãæããŸãããã 誰ãã幞ãã«ãªããŸãã æ®å¿µãªãããPleskã«ã¯ãã®ãããªã€ãã³ãã¯ãããŸããã
Pleskéçºè ã¯Pleskãéçºããã ãã§ãªããåžžã«è£œåã䜿çšããŠããŸãã ãã®ãããPleskãBIND9ãã€ã³ã¹ããŒã«ãããŠããå€éšã¹ã¬ãŒãããŒã ãµãŒããŒãšçµ±åã§ããããã«ãPleskãŠãŒã¶ãŒåãã«æ¡åŒµãè¡ããŸããã ãªã³ã¯ãªãã§ãSMSãªãã§ç¡æã§ããŠã³ããŒãã§ããŸã-autoinstall.plesk.com/extensions/packages/slave-dns-manager-1.0-1.zip
ã©ã®ããã«æ©èœããŸããïŒ
Pleskã¯ããŒã«ã«NSãµãŒããŒãšããŠBINDã䜿çšããŸãã 圌ã¯ãæšæºã®rndcãŠãŒãã£ãªãã£ã䜿çšããŠãªã¢ãŒãã§å¶åŸ¡ããããšãã§ããŸãã ãªã¢ãŒããµãŒããŒã«BINDãã€ã³ã¹ããŒã«ããŠrndcã§ç®¡çããããšã誰ãæ°ã«ããŸããã Plesk 11.5ã«ã¯ãã«ã¹ã¿ã DNSããã¯ãšã³ããã¡ã«ããºã ãå°å ¥ãããŠããŸãã ãããä»ããŠãAWS Route53ãªã©ã®ãµãŒãããŒãã£ã®DNSãµãŒãã¹ã«æ¥ç¶ã§ããŸãã 詳现ã«ã€ããŠã¯ã ããã¥ã¡ã³ããåç §ããŠãã ãã ã
äžèšã§èšãã°ããã®æ©èœã®æå³ã¯ãDNSãŸãŒã³ã®JSONèšè¿°ãåãåãã¹ã¯ãªãããPleskã«ç»é²ããæ©èœãšããŠèª¬æã§ããŸããPleskã§ã¢ã¯ãã£ããªãŸãŒã³ãäœæ/æŽæ°/åé€ãããã³ã«ãŸãŒã³ã§è¡ãå¿ èŠããããŸãã å¿ èŠãªã®ã¯ããã ãã§ãã ãã®æ©èœãå®è£ ããéãPleskã§ããŒã«ã«BINDãã€ã³ã¹ããŒã«ãããå€éšãµãŒãã¹ã䜿çšããããšãæ³å®ããŠããŸããã ãããïŒ ããŒã«ã«BINDãåé€ããå¿ èŠã¯ãŸã£ãããããŸããã ã¹ã¯ãªããã¯ãããŒã«ã«DNSãµãŒãã¹ãšäžŠè¡ããŠåäœã§ããŸãã æ¡åŒµæ©èœã¯ãã®ã¢ã€ãã¢ã䜿çšããŠããŸãã
æ¡åŒµã®ã¢ã«ãŽãªãºã ã¯æ¬¡ã®ãšããã§ãã
- æ¡åŒµèšå®ã§ãã¹ã¬ãŒããµãŒããŒãç»é²ããŸã
- ã¹ã¬ãŒããµãŒããŒã®IPã¢ãã¬ã¹ã¯ãPleskãµãŒããŒãããã¡ã€ã³ãŸãŒã³ã転éããããšãèš±å¯ããããŠãŒã¶ãŒã®ãªã¹ãã«èªåçã«è¿œå ãããŸã
- Pleskã§ã¢ã¯ãã£ããªãã¡ã€ã³ãŸãŒã³ãäœæ/æŽæ°/åé€ããããšãPleskã¯ããŒã«ã«DNSãµãŒãã¹ã§ãã¡ã€ã³ãŸãŒã³ãäœæ/å€æŽ/åé€ããŸã
- 次ã«ããã¡ã€ã³åãã³ãã³ãïŒäœæ/æŽæ°/åé€ïŒãåãåãã¹ã¯ãªãããå®è¡ãããŸã
- ã¹ã¯ãªããã¯ãæ¥ç¶ãããåã¹ã¬ãŒããµãŒããŒã«å¯ŸããŠrndcã³ãã³ããå®è¡ããŸã
- ã¹ã¬ãŒããµãŒããŒã¯PleskãµãŒããŒãããã¡ã€ã³ãŸãŒã³ãåæããŸã
ãããã£ãŠãã¹ã¬ãŒãããŒã ãµãŒããŒãæäœããããã®éåžžã«ã·ã³ãã«ã§éåžžã«åŒ·åãªã¹ããŒã ãåŸãããŸããã ãŸãŒã³ãã¡ã€ã«åœ¢åŒãæ¥ç¶ãããã³ãµãŒãã¹ã®åèµ·åã«é¢é£ãããã¹ãŠã®åé¡ã¯ãDNSãµãŒãã¹èªäœã®è²¬ä»»ã§ãã 管çè ã¯ãå€éšPleskãšé£æºããããã«1åã ãã¹ã¬ãŒããµãŒããŒãèšå®ããå¿ èŠããããŸãã ããã§ãã¬ãžã¹ãã©ã«ç§»åããŠãPleskãµãŒããŒãšã¹ã¬ãŒããµãŒããŒããã¡ã€ã³ã®NSãµãŒããŒã§ãããšèšãããšãã§ããŸãã ãã®ãããã§ãæçš¿ã®åé ã«ãªã¹ããããŠãããã¹ãŠã®ã¿ã¹ã¯ã解決ããŸããã
ãããŠä»ãããå°ããå€ãã®æè¡çãªè©³çŽ°ããããŸãã
ã¹ã¬ãŒãããŒã ãµãŒããŒãã»ããã¢ããããŸãïŒDebian 7ã®ãµãŒããŒã®äŸã䜿çšïŒïŒ
- BINDãå
¥ãã
apt-get install bind9
- rndcãä»ããŠæ°ãããŸãŒã³ã®äœæãèš±å¯ããŸãã options {}ãã£ã¬ã¯ãã£ãå
ã®
/etc/bind/named.conf.options
ãã¡ã€ã«ã«ã次ã®ããã«èšè¿°ããŸãã
allow-new-zones yes;
- ã©ã®IPã¢ãã¬ã¹å¶åŸ¡ã³ãã³ããåä¿¡ã§ãããã瀺ãã䜿çšå¯èœãªãã¹ãŠã®ãããã¯ãŒã¯ã€ã³ã¿ãŒãã§ã€ã¹ããªãã¹ã³ããããBINDã«æ瀺ããŸãã ãã¡ã€ã«
/etc/bind/named.conf.local
ã«æ¬¡ã®ããã«èšè¿°ããŸãã
controls { inet * port 953 allow { <PLESK_IP>; <ANOTHER_PLESK_IP> 127.0.0.1; }; };
- ã¢ã¯ã»ã¹ããŒãèŠããŠãããŠãã ããã
/etc/bind/rndc.key
ãã¡ã€ã«ã«ãããŸãïŒ
key "rndc-key" { algorithm hmac-md5; secret "vwOxonI4n4CVRUhKAOAAIA=="; };
以äžã§ãã¹ã¬ãŒãããŒã ãµãŒããŒã®ã»ããã¢ããã¯å®äºã§ãã
次ã®ã¹ãããã¯ãPleskã«ç§»åããŠæ¡åŒµæ©èœãã€ã³ã¹ããŒã«ããããšã§ãïŒããŠã³ããŒãå ã«ã€ããŠã¯åè¿°ããŸããïŒã æ¡åŒµããŒãžã§ãã¹ã¬ãŒããµãŒããŒãè¿œå ãããã®IPãšããŒã瀺ããŸãã ãã®æ¡åŒµæ©èœã¯ãrndcãŠãŒãã£ãªãã£ã®æ§æãã¡ã€ã«ãäœæããŸãããã®ãã¡ã€ã«ã«ã¯ãã¹ã¬ãŒããµãŒããŒã®èšå®ãå«ãŸããŸãã Pleskã¯ãèšå®ãããåã¹ã¬ãŒããµãŒããŒã«å¯ŸããŠæ¬¡ã®ã³ãã³ããå®è¡ããããšã«ãããäœæãæŽæ°ãåé€ããããã¹ãŠã®ãŸãŒã³ãã¹ã¬ãŒããµãŒããŒã«èªåçã«å€æããŸãã
- äœæ
/usr/sbin/rndc -c slave.config addzone example.com '{ type slave; file "/var/lib/bind/example.com"; masters { <PLESK_IP>; }; };'
- æŽæ°ãã
/usr/sbin/rndc -c slave.config refresh example.com
- åé€ãã
/usr/sbin/rndc -c slave.config delzone example.com
çŸåšããã¡ã€ã³ãPleskã«è¿œå ãããšããã¹ã¿ãŒãµãŒããŒãšã¹ã¬ãŒããµãŒããŒã®äž¡æ¹ã«DNSãŸãŒã³ãèªåçã«äœæãããŸãã
ã¡ãªã¿ã«ãã³ã¡ã³ããèªãã§è³ªåã«çããŸãïŒParallels Plesk Paneléçºè åãæè¡ããã°ïŒ devblog.plesk.comã§ã ïŒã