{"provider_name":"Hatena Blog","image_url":null,"height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fryuichi1208.hateblo.jp%2Fentry%2F2020%2F06%2F19%2F161320\" title=\"Linux hosts\u304c\u53cd\u6620\u3055\u308c\u3066\u306a\u3044\u3088\u3046\u306a\u73fe\u8c61 - \u5730\u65b9\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u5b66\u7fd2\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://ryuichi1208.hateblo.jp/","blog_title":"\u5730\u65b9\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u5b66\u7fd2\u65e5\u8a18","author_url":"https://blog.hatena.ne.jp/ryuichi1208/","version":"1.0","provider_url":"https://hatena.blog","title":"Linux hosts\u304c\u53cd\u6620\u3055\u308c\u3066\u306a\u3044\u3088\u3046\u306a\u73fe\u8c61","description":"hosts\u7de8\u96c6\u5f8c\u306bnslookup\u3067\u540d\u524d\u89e3\u6c7a\u3092\u884c\u3063\u3066\u307f\u305f\u304c\u53cd\u6620\u3055\u308c\u3066\u7121\u304b\u3063\u305f\u306e\u3067\u7591\u554f\u306b\u601d\u3063\u3066\u8abf\u3079\u305f\u3002 \u7406\u7531\u306f\u7c21\u5358\u3067nslookup\u3067\u306f\u3069\u3046\u3084\u3089hosts\u3092\u53c2\u7167\u305b\u305a\u306bDNS\u30d8\u76f4\u63a5\u554f\u3044\u5408\u308f\u305b\u3059\u308b\u305f\u3081\u3089\u3057\u3044\u3002 \u30c8\u30ec\u30fc\u30b9\u3092\u307f\u3066\u307f\u308b\u3002\u78ba\u304b\u306bhosts\u3078\u306e\u53c2\u7167\u8a71\u3067dns\u3078\u30a2\u30af\u30bb\u30b9\u3057\u3066\u3044\u308b\u3053\u3068\u304c\u308f\u304b\u3063\u305f\u3002 $ strace -e trace=open nslookup hoge.com open(\"/etc/ld.so.cache\", O_RDONLY) = 3 open(\"/usr/lib64/liblwres.so.80\", O_RDONLY) = 3 open(\"/usr/lib64/libdns.s\u2026","type":"rich","url":"https://ryuichi1208.hateblo.jp/entry/2020/06/19/161320","author_name":"ryuichi1208","categories":[],"published":"2020-06-19 16:13:20","width":"100%"}