{"id":2270,"date":"2012-03-22T23:56:00","date_gmt":"2012-03-22T14:56:00","guid":{"rendered":"http:\/\/oichinote.com\/plus\/2012\/03\/22\/os-x-lion%e3%82%92dns%e3%82%b5%e3%83%bc%e3%83%90%e3%81%ab%e3%81%97%e3%81%a6wordpress%e3%81%ae%e3%83%9e%e3%83%ab%e3%83%81%e3%82%b5%e3%82%a4%e3%83%88%e3%81%ae%e5%ae%9f%e9%a8%93%e3%82%92%e3%81%97\/"},"modified":"2016-05-01T00:41:57","modified_gmt":"2016-04-30T15:41:57","slug":"wordpressos-x-1","status":"publish","type":"post","link":"https:\/\/oichinote.com\/plus\/2012\/03\/wordpressos-x-1.html","title":{"rendered":"OS X Lion\u3092DNS\u30b5\u30fc\u30d0\u306b\u3057\u3066WordPress\u306e\u30de\u30eb\u30c1\u30b5\u30a4\u30c8\u306e\u5b9f\u9a13\u3092\u3057\u307e\u3057\u305f(1\/2)"},"content":{"rendered":"<p>WordPress\u306e\u30de\u30eb\u30c1\u30b5\u30a4\u30c8(\u30b5\u30d6\u30c9\u30e1\u30a4\u30f3\u5f62\u5f0f)\u3092\u5b9f\u9a13\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u3001\u30b5\u30d6\u30c9\u30e1\u30a4\u30f3\u540d\u3067WordPress\u30b5\u30fc\u30d0(OS X 10.7.3 Lion)\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u6700\u521d\u3001\/etc\/hosts\u30d5\u30a1\u30a4\u30eb\u306b\u3001\u5225\u540d\u3068\u3057\u3066\u5b9a\u7fa9\u3059\u308c\u3070\u3088\u3044\u306e\u3067\u306f? \u3068\u601d\u3063\u3066\u3044\u307e\u3057\u305f\u304c\u3001\u30c0\u30e1\u3067\u3057\u305f\u3002<\/p>\n<p>\u30cd\u30fc\u30e0\u30b5\u30fc\u30d0(BIND)\u3092\u7acb\u3061\u4e0a\u3052\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\u306e\u304b&#8230;\u3002\u3081\u3093\u3069\u3044&#8230;\u3002\u3068\u601d\u3063\u3066\u3044\u305f\u3089\u3001\u6b21\u306e\u30da\u30fc\u30b8\u3092\u767a\u898b\u3057\u307e\u3057\u305f\u3002\u3042\u308a\u304c\u3068\u3046\u3054\u3056\u3044\u307e\u3059\u3002<\/p>\n<ul>\n<li><a href=\"http:\/\/www.iex3.info\/archives\/1174\" target=\"_blank\">GM&#8217;s Log. \u00bb Blog Archive \u00bb MacOSX\u3067Web\u30b5\u30a4\u30c8\u958b\u767a\u3057\u3084\u3059\u3044\u3088\u3046\u306bDNS\u30b5\u30fc\u30d0\u3092\u52d5\u304b\u3057\u3066\u307f\u305f<\/a><\/li>\n<\/ul>\n<p>\u3053\u3053\u3067\u7d39\u4ecb\u3055\u308c\u3066\u3044\u308b\u624b\u9806\u306f\u3001\u6b21\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<ol>\n<li>&#8220;sudo rndc-confgen -a&#8221;\u3067\u3001\/etc\/rndc.key\u3092\u751f\u6210\u3059\u308b<\/li>\n<li>\/var\/named\/named.ca\u3092\u6700\u65b0\u306e\u7269\u306b\u3059\u308b(\u6700\u65b0\u7248\u306f\u3001\u6b21\u306eURL\u306b\u3042\u308a\u307e\u3059\u3002ftp:\/\/ftp.rs.internic.net\/domain\/named.root)<\/li>\n<li>\/var\/named\/localhost.zone\u306e\u3001&#8221;42 ; serial (d. adams)&#8221;\u3068\u306a\u3063\u3066\u3044\u308b\u6570\u5b57\u3092\u3001\u4e00\u3064\u4ee5\u4e0a\u5927\u304d\u304f\u3059\u308b(43\u3068\u304b100\u3068\u304b)<\/li>\n<li>\/var\/named\/localhost.zone\u306e\u6700\u5f8c\u306b\u3001&#8221;* 1D IN A 127.0.0.1&#8243;\u3092\u8ffd\u52a0\u3059\u308b<\/li>\n<li>&#8220;sudo launchctl load -F \/System\/Library\/LaunchDaemons\/org.isc.named.plist&#8221;\u3067\u3001named\u3092\u8d77\u52d5\u3059\u308b<\/li>\n<li>\u300c\u30b7\u30b9\u30c6\u30e0\u74b0\u5883\u8a2d\u5b9a\u300d\u2192\u300c\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u300d\u2192\u300c\u8a73\u7d30\u300d\u2192\u300cDNS\u300d\u306e\u300cDNS\u30b5\u30fc\u30d0\u300d\u306b\u3001&#8221;127.0.0.1&#8243;\u3092\u8ffd\u52a0\u3059\u308b(&#8220;127.0.0.1&#8243;\u306f\u3001\u4e00\u756a\u4e0a\u306b\u6765\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002)<br \/>\n<img decoding=\"async\" src=\"https:\/\/oichinote.com\/plus\/files\/img\/20120322local_dns.png\" alt=\"20120322local_dns\" border=\"0\" \/><\/li>\n<\/ol>\n<p>\u3053\u308c\u3067\u3001Firefox\/Safari\u306a\u3069\u304b\u3089\u3001www.localhost\u306a\u3069\u3068\u3057\u3066\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u30bf\u30fc\u30df\u30ca\u30eb\u3067\u78ba\u8a8d\u3059\u308b\u6642\u306f\u3001\u6b21\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<pre>$ nslookup\r\n&gt; www.localhost\r\nServer:\u00a0 \u00a0\u00a0 \u00a0\u00a0 127.0.0.1\r\nAddress:\u00a0 \u00a0 127.0.0.1#53\r\nName:\u00a0 \u00a0 www.localhost\r\nAddress: 127.0.0.1\r\n&gt; blog.localhost\r\nServer:\u00a0 \u00a0\u00a0 \u00a0\u00a0 127.0.0.1\r\nAddress:\u00a0 \u00a0 127.0.0.1#53\r\nName:\u00a0 \u00a0 blog.localhost\r\nAddress: 127.0.0.1\r\n&gt; exit\r\n$<\/pre>\n<p>\u5148\u307b\u3069\u7d39\u4ecb\u3057\u305f\u30da\u30fc\u30b8\u306b\u306f\u3001\u4e0a\u8a186\u306e\u624b\u9806\u304c\u8a18\u8f09\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\u6700\u521d\u3001\u3053\u308c\u306b\u306f\u307e\u308a\u307e\u3057\u305f\u3002\u308f\u304b\u3063\u3066\u3057\u307e\u3048\u3070\u5f53\u305f\u308a\u524d\u306a\u306e\u3067\u3059\u3051\u308c\u3069\u3001\u6c17\u4ed8\u304f\u307e\u3067\u304c\u5927\u5909\u3067\u3057\u305f\u3002<\/p>\n<p>\u3053\u308c\u3067\u3001\u30cd\u30fc\u30e0\u30b5\u30fc\u30d0\u304c\u52d5\u3044\u3066\u3044\u308bMac\u306e\u4e2d\u3060\u3051\u3067\u306a\u3089\u3001\u30de\u30eb\u30c1\u30b5\u30a4\u30c8(\u30b5\u30d6\u30c9\u30e1\u30a4\u30f3\u5f62\u5f0f)\u3067\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3067\u3059\u304c\u3001\u540c\u3058\u30b5\u30d6\u30cd\u30c3\u30c8\u5185\u306b\u3044\u308b\u4ed6\u306ePC\u3084\u3001iPod touch\/iPad\u304b\u3089\u306f\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n<p>\u3053\u308c\u3092\u89e3\u6c7a\u3059\u308b\u65b9\u6cd5\u306f\u3001\u307e\u305f\u5225\u306e\u8a18\u4e8b\u3067\u66f8\u3053\u3046\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u306a\u304a\u3001\u4e0a\u8a18\u306e\u3084\u308a\u65b9\u3060\u3068\u3001\u30b7\u30e3\u30c3\u30c8\u30c0\u30a6\u30f3(\u30b7\u30b9\u30c6\u30e0\u7d42\u4e86)\u3059\u308b\u3068\u3001DNS\u30b5\u30fc\u30d0\u3082\u6b62\u307e\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<p>\u3044\u3064\u3082DNS\u30b5\u30fc\u30d0\u304c\u8d77\u52d5\u3059\u308b\u3088\u3046\u306b\u3059\u308b\u305f\u3081\u306b\u306f\u3001launchctl\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u3001&#8221;-F&#8221;\u3067\u306f\u306a\u304f&#8221;-w&#8221;\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<pre>$ sudo launchctl load <span style=\"color: #ff0000;\">-w<\/span> \/System\/Library\/LaunchDaemons\/org.isc.named.plist<\/pre>\n<p>\u3053\u3046\u3057\u3066\u304a\u304f\u4e8b\u3067\u3001\u518d\u8d77\u52d5\u3057\u3066\u3082\u3001\u81ea\u52d5\u3067DNS\u30b5\u30fc\u30d0\u304c\u7acb\u3061\u4e0a\u304c\u308a\u307e\u3059\u3002<\/p>\n<p>\u3010\u30b7\u30ea\u30fc\u30ba\u8a18\u4e8b\u3011<\/p>\n<ul>\n<li>OS X Lion\u3092DNS\u30b5\u30fc\u30d0\u306b\u3057\u3066WordPress\u306e\u30de\u30eb\u30c1\u30b5\u30a4\u30c8\u306e\u5b9f\u9a13\u3092\u3057\u307e\u3057\u305f(1\/2): \u30d7\u30e9\u30b9\u03b1\u7a7a\u9593<\/li>\n<li><a href=\"https:\/\/oichinote.com\/plus\/2012\/03\/os-x-liondnswor.html\" rel=\"_RAclick\">OS X Lion\u3092DNS\u30b5\u30fc\u30d0\u306b\u3057\u3066WordPress\u306e\u30de\u30eb\u30c1\u30b5\u30a4\u30c8\u306e\u5b9f\u9a13\u3092\u3057\u307e\u3057\u305f(2\/2): \u30d7\u30e9\u30b9\u03b1\u7a7a\u9593<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>WordPress\u306e\u30de\u30eb\u30c1\u30b5\u30a4\u30c8(\u30b5\u30d6\u30c9\u30e1\u30a4\u30f3\u5f62\u5f0f)\u3092\u5b9f\u9a13\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u3001\u30b5\u30d6\u30c9\u30e1\u30a4\u30f3\u540d\u3067WordPress\u30b5\u30fc\u30d0(OS X 10.7.3 Lion)\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002 \u6700\u521d\u3001\/etc\/hosts [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":4026,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"\u65b0\u3057\u3044\u8a18\u4e8b\u300eOS X Lion\u3092DNS\u30b5\u30fc\u30d0\u306b\u3057\u3066WordPress\u306e\u30de\u30eb\u30c1\u30b5\u30a4\u30c8\u306e\u5b9f\u9a13\u3092\u3057\u307e\u3057\u305f(1\/2)\u300f\u3092\u6295\u7a3f\u3057\u307e\u3057\u305f\u3002\u8aad\u3093\u3067\u3044\u305f\u3060\u3051\u308b\u3068\u5b09\u3057\u3044\u3067\u3059\u3002","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[5],"tags":[],"class_list":["post-2270","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-computer"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/oichinote.com\/plus\/files\/img\/20120322local_dns.png","jetpack-related-posts":[{"id":2275,"url":"https:\/\/oichinote.com\/plus\/2012\/03\/os-x-liondnswor.html","url_meta":{"origin":2270,"position":0},"title":"OS X Lion\u3092DNS\u30b5\u30fc\u30d0\u306b\u3057\u3066WordPress\u306e\u30de\u30eb\u30c1\u30b5\u30a4\u30c8\u306e\u5b9f\u9a13\u3092\u3057\u307e\u3057\u305f(2\/2)","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2012\u5e743\u670827\u65e5","format":false,"excerpt":"WordPress\u306e\u30de\u30eb\u30c1\u30b5\u30a4\u30c8(\u30b5\u30d6\u30c9\u30e1\u30a4\u30f3\u5f62\u5f0f)\u3092\u5b9f\u9a13\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u3001\u30b5\u30d6\u30c9\u30e1\u30a4\u30f3\u540d\u3067WordP\u2026","rel":"","context":"Mac","block_context":{"text":"Mac","link":"https:\/\/oichinote.com\/plus\/category\/mac"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":8920,"url":"https:\/\/oichinote.com\/plus\/2013\/08\/setting-dnsmasq-on-freebsd.html","url_meta":{"origin":2270,"position":1},"title":"FreeBSD\u306bDNSMASQ\u3092\u8a2d\u5b9a\u3059\u308b","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2013\u5e748\u670812\u65e5","format":false,"excerpt":"NAS\u7528\u3068\u3057\u3066\u7d44\u307f\u4e0a\u3052\u305fFreeBSD\u6a5f\u306f\u3001\u5bb6\u5ead\u5185\u30b5\u30fc\u30d0\u3068\u3057\u3066\u3082\u4f7f\u3044\u307e\u3059\u3002 \u307e\u305a\u3001\u6291\u3048\u3066\u304a\u304d\u305f\u3044\u306e\u306f\u2026","rel":"","context":"iPad\/iPod\/iPhone","block_context":{"text":"iPad\/iPod\/iPhone","link":"https:\/\/oichinote.com\/plus\/category\/ipad-ipod-iphone"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":6054,"url":"https:\/\/oichinote.com\/plus\/2013\/04\/l2tp-vpn-server-in-freebsd-9-1.html","url_meta":{"origin":2270,"position":2},"title":"FreeBSD 9.1\u3092IPsec\u5bfe\u5fdcL2TP VPN\u30b5\u30fc\u30d0\u306b\u3059\u308b","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2013\u5e744\u670827\u65e5","format":false,"excerpt":"\u4e00\u5fdc\u3001\u6b21\u306e\u8a2d\u5b9a\u3067\u5916\u51fa\u5148\u304b\u3089\u81ea\u5b85\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306b\u3001VPN\u63a5\u7d9a\u3067\u304d\u3066\u3044\u307e\u3059\u3002 \u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u7248Mac\u3092VPN\u2026","rel":"","context":"FreeBSD","block_context":{"text":"FreeBSD","link":"https:\/\/oichinote.com\/plus\/category\/freebsd"},"img":{"alt_text":"\u30cd\u30c3\u30c8\u30ef\u30fc\u30af","src":"https:\/\/i0.wp.com\/oichinote.com\/plus\/files\/2015\/10\/20151014gatag-00000078.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":1188,"url":"https:\/\/oichinote.com\/plus\/2009\/04\/spotlight-bb6a.html","url_meta":{"origin":2270,"position":3},"title":"Spotlight\u304c\u307e\u3068\u3082\u306b\u52d5\u3044\u3066\u3044\u306a\u304b\u3063\u305f","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2009\u5e744\u670814\u65e5","format":false,"excerpt":"Mac OS X 10.4.11 Tiger\u306e\u30b3\u30f3\u30bd\u30fc\u30eb.app\u3067\u30ed\u30b0\u3092\u898b\u3066\u3044\u305f\u3089\u3001\u898b\u6163\u308c\u306a\u3044\u30e1\u30c3\u30bb\u2026","rel":"","context":"\u30d1\u30bd\u30b3\u30f3\u30fb\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8","block_context":{"text":"\u30d1\u30bd\u30b3\u30f3\u30fb\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8","link":"https:\/\/oichinote.com\/plus\/category\/computer"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":7406,"url":"https:\/\/oichinote.com\/plus\/2015\/06\/gave-up-to-ipsec-on-qnap-ts412.html","url_meta":{"origin":2270,"position":4},"title":"QNAP TS412\u3067VPN(IPsec)\u3092\u3084\u308d\u3046\u3068\u3057\u3066\u632b\u6298\u3057\u305f\u8a71[\u8ffd\u8a18\u3042\u308a]","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2015\u5e746\u67082\u65e5","format":false,"excerpt":"\u524d\u3001QNAP\u306eNAS\u3092\u6301\u3063\u3066\u3044\u307e\u3057\u305f\u3002\u3084\u3063\u305f\u4e8b\u3092\u3001\u6b21\u306e\u30da\u30fc\u30b8\u306b\u307e\u3068\u3081\u3066\u3044\u307e\u3059\u3002 \u304a\u624b\u8efd\u30db\u30fc\u30e0\u30b5\u30fc\u30d0Q\u2026","rel":"","context":"NAS","block_context":{"text":"NAS","link":"https:\/\/oichinote.com\/plus\/category\/nas"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2269,"url":"https:\/\/oichinote.com\/plus\/2012\/03\/wordpressos-x-l.html","url_meta":{"origin":2270,"position":5},"title":"WordPress\u306b\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u306a\u304f\u306a\u3063\u3066\u3057\u307e\u3063\u305f\u306e\u3067OS X Lion\u304b\u3089\u30e1\u30fc\u30eb\u3092\u51fa\u305b\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u305f","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2012\u5e743\u670821\u65e5","format":false,"excerpt":"WordPress\u3067\u30de\u30eb\u30c1\u30b5\u30a4\u30c8\u306e\u5b9f\u9a13\u3092\u3057\u3066\u3044\u305f\u3089\u3001\u30b5\u30d6\u30c9\u30e1\u30a4\u30f3\u306eWordPress\u306e\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u2026","rel":"","context":"\u30d1\u30bd\u30b3\u30f3\u30fb\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8","block_context":{"text":"\u30d1\u30bd\u30b3\u30f3\u30fb\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8","link":"https:\/\/oichinote.com\/plus\/category\/computer"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/posts\/2270","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/comments?post=2270"}],"version-history":[{"count":1,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/posts\/2270\/revisions"}],"predecessor-version":[{"id":17666,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/posts\/2270\/revisions\/17666"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/media\/4026"}],"wp:attachment":[{"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/media?parent=2270"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/categories?post=2270"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/tags?post=2270"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}