Article View: fj.net.ip.dns
Article #482Re: BIND8 and INADDR_ANY ("0.0.0.0")
From: Keisuke Mori
Date: Mon, 26 Apr 1999 00:00
Date: Mon, 26 Apr 1999 00:00
37 lines
2368 bytes
2368 bytes
と思ったら… comp.protocols.tcp-ip.domains Frequently Asked Questions http://www.intac.com/~cdp/cptd-faq/ にこういう項目がありました。 http://www.intac.com/~cdp/cptd-faq/section5.html#resolv ----8<--------8<--------8<--------8<--------8<--------8<--------8<---- Question 5.15. resolv.conf Date: Fri Feb 10 15:46:17 EST 1995 The question was asked one time, "Why should I use 'real' IP addresses in /etc/resolv.conf and not 0.0.0.0 or 127.0.0.1" ? Paul Vixie writes on the issue of the contents of resolv.conf: It's historical. Some kernels can't unbind a UDP socket's source address, and some resolver versions (notably not including BIND 4.9.2 or 4.9.3's) try to do this. (...snip...) The problem was with older versions of the resolver (4.8.X). If you listed 127.0.0.1 as the first entry in (...snip...) ----8<--------8<--------8<--------8<--------8<--------8<--------8<---- ということで、やっぱり新しい bind では気にせず 127.0.0.1 を使っ ても良い、ということになるのかな。 ところで、ローカルのサーバと通信する時に、loopback interface を 使うのと、自分自身のアドレス(実際にネットワークに繋がっている interface の IP アドレス)を使うのとで、どれくらいパフォーマンス が違うのでしょうね? -- もりけいすけ 米国加州桑港 / 美国加州三藩市
Technical Details
Message-ID:
<wkaevvq9kw.fsf@ntts.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<80aevzdfzn.fsf@kurishna.tri.asanuma.co.jp> <7fp61l$j2b$1@ITG-005.intacc.ne.jp> <80676nd93r.fsf@kurishna.tri.asanuma.co.jp> <7fpo5q$j2b$2@ITG-005.intacc.ne.jp> <80hfq7se7b.fsf@kurishna.tri.asanuma.co.jp> <wk7lr3rmhy.fsf@ntts.com> <87iuamon7v.fsf@yakumo.moriko.hh.iij4u.or.jp> <7froup$j2b$4@ITG-005.intacc.ne.jp> <wkhfq3894c.fsf@ntts.com>Show Full Headers
Complete Article Headers
X-Google-Language: Japanese,JIS
X-Google-Thread: 110989,fb31de07fc8743b8
X-Google-Attributes: gid110989,public
From: Keisuke Mori <ksk@ntts.com>
Subject: Re: BIND8 and INADDR_ANY ("0.0.0.0")
Date: 1999/04/26
Message-ID: <wkaevvq9kw.fsf@ntts.com>
X-Deja-AN: 471242811
References: <80aevzdfzn.fsf@kurishna.tri.asanuma.co.jp> <7fp61l$j2b$1@ITG-005.intacc.ne.jp> <80676nd93r.fsf@kurishna.tri.asanuma.co.jp> <7fpo5q$j2b$2@ITG-005.intacc.ne.jp> <80hfq7se7b.fsf@kurishna.tri.asanuma.co.jp> <wk7lr3rmhy.fsf@ntts.com> <87iuamon7v.fsf@yakumo.moriko.hh.iij4u.or.jp> <7froup$j2b$4@ITG-005.intacc.ne.jp> <wkhfq3894c.fsf@ntts.com>
Content-Type: text/plain; charset=ISO-2022-JP
Organization: RIMNET
Mime-Version: 1.0 (generated by SEMI 1.13.3 - "Komaiko")
User-Agent: Semi-gnus/6.10.8 SEMI/1.13.3 (Komaiko) FLIM/1.12.5 (Hirahata) Emacs/20.3.5 (i386-*-nt4.10) MULE/4.0 (HANANOEN) Meadow/1.03 Alpha3 (FUDI-GASANE)
Newsgroups: fj.net.ip.dns
Originator: ksk@kt.rim.or.jp