

{"id":586,"date":"2015-08-04T16:36:51","date_gmt":"2015-08-04T07:36:51","guid":{"rendered":"https:\/\/curecode.jp\/tech\/?p=586"},"modified":"2015-08-04T16:36:51","modified_gmt":"2015-08-04T07:36:51","slug":"ntpd-ipv6-setting","status":"publish","type":"post","link":"https:\/\/curecode.jp\/tech\/ntpd-ipv6-setting\/","title":{"rendered":"Linux\u3067IPv6\u74b0\u5883\u3067\u306e\u3001ntpd\u306e\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u30a8\u30e9\u30fc"},"content":{"rendered":"<p>CentOS\u3067\u306f\u3001IPv6\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u6709\u52b9\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u304c\u3001IPv4\u3057\u304b\u4f7f\u308f\u306a\u3044\u5834\u5408\u3001\u7ba1\u7406\u8005\u304cIPv6\u3092\u7121\u52b9\u5316\u306b\u8a2d\u5b9a\u3057\u3066\u3044\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u4f7f\u3063\u3066\u3044\u306a\u3044IPv6\u95a2\u4fc2\u306e\u554f\u3044\u5408\u308f\u305b\u306a\u3069\u3067\u3001\u7121\u99c4\u306a\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u3092\u5897\u3084\u3055\u306a\u3044\u3088\u3046\u306b\u3057\u305f\u308a\u3001\u8aa4\u52d5\u4f5c\u3092\u9632\u3050\u305f\u3081\u3067\u3059\u3002<\/p>\n<h4>\u25a0ntpd\u306e\u8a2d\u5b9a\u3082\u3001IPV6\u3092\u7121\u52b9\u5316\u306b\u3057\u3066\u304a\u304f<\/h4>\n<p>\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u8a2d\u5b9a\u3067IPv6\u3092\u7121\u52b9\u306b\u3057\u3066\u3082\u3001\/var\/log\/messages\u306bntpd\u306e\u30a8\u30e9\u30fc\u30ed\u30b0\u304c\u51fa\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u306f\u3001IPv6\u304c\u7121\u52b9\u306e\u74b0\u5883\u306a\u306e\u306b\u3001ntpd\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3067IPv6\u306elocalhost\u300c::1\u300d\u304c\u6b8b\u3063\u3066\u3044\u305f\u305f\u3081\u3067\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true \" >#less \/var\/log\/messages\r\nntpd[1196]: restrict: error in address '::' on line 10. Ignoring...\r\nntpd[1196]: restrict: error in address '::1' on line 17. Ignoring...<\/pre>\n<p>NTP\u30b5\u30fc\u30d0\u306entpd\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u8a2d\u5b9a\u3067\u306f\u3001IPv4\u30fbIPv6\u3068\u3082\u30a2\u30af\u30bb\u30b9\u3092\u8a31\u53ef\u3059\u308b\u8a2d\u5b9a\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u8a2d\u5b9a\u306e\u307e\u307e\u3067\u3082\u3001ntpd\u306f\u6b63\u5e38\u306b\u52d5\u4f5c\u3057\u307e\u3059\u304c\u3001ntpd\u3092\u8d77\u52d5\u3059\u308b\u305f\u3073\u306b\u3001IPv6\u30a2\u30c9\u30ec\u30b9\u554f\u3044\u5408\u308f\u305b\u306e\u4f59\u8a08\u306a\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u304c\u767a\u751f\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u3092\u7121\u52b9\u5316\u3059\u308b\u306b\u306f\u3001ntpd\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u300c\/etc\/ntp.conf\u300d\u3092\u7de8\u96c6\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true \" >\r\n#vim \/etc\/ntp.conf\r\n\r\n#IPv6\u306e\u8a2d\u5b9a\u7b87\u6240\u3092\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3057\u3066\u7121\u52b9\u5316\u3057\u307e\u3059\u3002\r\nrestrict default ignore\r\n#restrict -6 default ignore  # IPv6\r\n\r\nrestrict 127.0.0.1  # IPv4\r\n#restrict -6 ::1    # IPv6\r\n<\/pre>\n<h4>\u25a0IPv6\u3092\u6709\u52b9\u306b\u3057\u305f\u3089\u3001ntpd\u306eIPv6\u306e\u8a2d\u5b9a\u3082\u6709\u52b9\u3059\u308b<\/h4>\n<p>\u3057\u304b\u3057\u3001ntpd\u306eIPv6\u7121\u52b9\u5316\u306e\u8a2d\u5b9a\u306b\u3057\u305f\u3053\u3068\u3092\u5fd8\u308c\u305f\u307e\u307e\u3001IPV6\u3092\u6709\u52b9\u5316\u3059\u308b\u3068\u3001<\/p>\n<pre class=\"lang:default decode:true \" >\r\n#ntpq -p\r\nlocalhost: timed out, nothing received\r\n***Request timed out\r\n<\/pre>\n<p>ntp\u30b5\u30fc\u30d0\u304cIPV6\u3067localhost\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u305a\u3001\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u306b\u306a\u308a\u3001\u6642\u9593\u304c\u66f4\u65b0\u3055\u308c\u307e\u305b\u3093\u306e\u3067\u3001\u3054\u6ce8\u610f\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u6709\u52b9\u5316\u3059\u308b\u306b\u306f\u3001\u5148\u307b\u3069\u306entpd\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u300c\/etc\/ntp.conf\u300d\u3067\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3057\u305f\u7b87\u6240\u306e\u30b3\u30e1\u30f3\u30c8\u3092\u5916\u3057\u307e\u3059\u3002<\/p>\n<h3>IT\u30a8\u30f3\u30b8\u30cb\u30a2\u52df\u96c6\u4e2d\uff01<\/h3>\n<p>\u30ad\u30e5\u30a2\u30b3\u30fc\u30c9\u682a\u5f0f\u4f1a\u793e\u306fIT\u30a8\u30f3\u30b8\u30cb\u30a2\u3092\u52df\u96c6\u3057\u3066\u304a\u308a\u307e\u3059\u3002\u5c11\u4eba\u6570\u306e\u8077\u5834\u306a\u306e\u3067\u3001\u4e0a\u6d41\u30fb\u4e0b\u6d41\u3084\u30b5\u30fc\u30d0\u30fc\u30fb\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u5bfe\u5fdc\u306e\u57a3\u6839\u306a\u304f\u3001\u3042\u306a\u305f\u306e\u5f37\u307f\u3092\u6d3b\u304b\u3057\u306a\u304c\u3089 \u3044\u308d\u3044\u308d\u306a\u3053\u3068\u306b\u30c1\u30e3\u30ec\u30f3\u30b8\u53ef\u80fd\u3067\u3059\u3002\u30a8\u30f3\u30b8\u30cb\u30a2\u3068\u3057\u3066\u306e\u672a\u7d4c\u9a13\u306e\u65b9\u3001\u7d4c\u9a13\u304c\u5c11\u306a\u3044\u65b9\u3082\u6b53\u8fce\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u4e0b\u8a18\u3088\u308aIT\u30a8\u30f3\u30b8\u30cb\u30a2\u52df\u96c6\u306e\u63a1\u7528\u60c5\u5831\u3092\u3054\u89a7\u3044\u305f\u3060\u3051\u307e\u3059\u3002<\/p>\n<div class=\"curecode_recruit_bn\">\n\t\t\t\t<a href=\"https:\/\/curecode.jp\/recruit\/itengineer\/\" target=\"_blank\" rel=\"noopener noreferrer\"><br \/>\n\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/curecode.jp\/tech\/wp-content\/themes\/tech\/images\/it_recruit.png?20241220\" alt=\"\u4e8b\u696d\u62e1\u5927\u306b\u4f34\u3044\u65b0\u3057\u3044\u9818\u57df\u306b\u4e00\u7dd2\u306b\u53d6\u308a\u7d44\u3093\u3067\u3044\u304f\u30e1\u30f3\u30d0\u30fc\u3092\u52df\u96c6\u3057\u307e\u3059\u3002\"  width=\"500\" height=\"180\"\/><br \/>\n\t\t\t\t<\/a>\n\t\t<\/div>\n<h3>\u30ad\u30e5\u30a2\u30b3\u30fc\u30c9\u516c\u5f0f\u30a4\u30f3\u30b9\u30bf\u30b0\u30e9\u30e0<\/h3>\n<p>\u30ad\u30e5\u30a2\u30b3\u30fc\u30c9\u682a\u5f0f\u4f1a\u793e\u306e\u65b0\u30b5\u30fc\u30d3\u30b9\u60c5\u5831\u3084\u3001\u30aa\u30d5\u30a3\u30b9\u30e9\u30a4\u30d5\u306e\u7d20\u6575\u306a\u77ac\u9593\u307e\u3067\u3002\u79c1\u305f\u3061\u306e\u65e5\u3005\u306e\u55b6\u307f\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<div class=\"curecode_recruit_bn\">\n\t\t\t\t<a href=\"https:\/\/www.instagram.com\/curecode\/\" target=\"_blank\" rel=\"noopener noreferrer\"><br \/>\n\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/curecode.jp\/tech\/wp-content\/themes\/tech\/images\/insta_bn.png?20241220\" alt=\"\u4e8b\u696d\u62e1\u5927\u306b\u4f34\u3044\u65b0\u3057\u3044\u9818\u57df\u306b\u4e00\u7dd2\u306b\u53d6\u308a\u7d44\u3093\u3067\u3044\u304f\u30e1\u30f3\u30d0\u30fc\u3092\u52df\u96c6\u3057\u307e\u3059\u3002\"  width=\"500\" height=\"180\"\/><br \/>\n\t\t\t\t<\/a>\n\t\t<\/div>\n","protected":false},"excerpt":{"rendered":"<p>CentOS\u3067\u306f\u3001IPv6\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u6709\u52b9\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u304c\u3001IPv4\u3057\u304b\u4f7f\u308f\u306a\u3044\u5834\u5408\u3001\u7ba1\u7406\u8005\u304cIP [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":599,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,29],"tags":[82,81],"class_list":["post-586","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","category-network","tag-ipv6","tag-ntpd"],"_links":{"self":[{"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/posts\/586","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/comments?post=586"}],"version-history":[{"count":19,"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/posts\/586\/revisions"}],"predecessor-version":[{"id":706,"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/posts\/586\/revisions\/706"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/media\/599"}],"wp:attachment":[{"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/media?parent=586"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/categories?post=586"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/tags?post=586"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}