Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]tlug: Question about resolv.conf
- To: Matt Gushee <matt@example.com>
- Subject: tlug: Question about resolv.conf
- From: "Stephen J. Turnbull" <turnbull@example.com>
- Date: Wed, 2 Sep 1998 15:57:41 +0900 (JST)
- Cc: tlug@example.com
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset=us-ascii
- In-Reply-To: <199809020601.PAA08089@example.com>
- References: <199809020601.PAA08089@example.com>
- Reply-To: tlug@example.com
- Sender: owner-tlug@example.com
>>>>> "Matt" == Matt Gushee <matt@example.com> writes: Matt> just a quick question here. Is it okay to have entries for 2 Matt> different domains in resolv.conf? I believe that you can only use the domain keyword once, and that should be used for the domain via which your machine is connected. However, you can use the search keyword to specify a full search path. For your application, I don't think there should be a problem. See man resolv.conf (or man 5 resolver) for details of how to specify it and some information about drawbacks (in particular, if you specify search school.ac.jp, isp.or.jp and ns.school.ac.jp is down, an abbreviated search for popserver.isp.or.jp can fail even though ns.isp.or.jp is up, if I understand the man page right). The search and domain keywords are mutually exclusive; the domain keyword may permit recursive searching (ie, with "domain sk.tsukuba.ac.jp", host "sakura.cc" will be searched for in "sakura.cc.sk.tsukuba.ac.jp", then found as "sakura.cc.tsukuba.ac.jp"), the search keyword does not. The length of the search path is very restricted, six domains, 256 characters. Also consider using the LOCALDOMAIN environment variable to specify the search path in .bashrc or .bash_profile echo 'Hey, Matt!' echo "Remember to fix your LOCALDOMAIN variable (or figure out you don't" echo "need to) when you get back!" export LOCALDOMAIN=school.ac.jp isp.or.jp -- University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN Institute of Policy and Planning Sciences Tel/fax: +1 (298) 53-5091 -------------------------------------------------------------- Next Nomikai: 18 September, 19:30 Tengu TokyoEkiMae 03-3275-3691 Next Meeting: 10 October, Tokyo Station Yaesu central gate 12:30 -------------------------------------------------------------- Sponsor: PHT, makers of TurboLinux http://www.pht.co.jp
- Follow-Ups:
- tlug: Question about resolv.conf
- From: Matt Gushee <matt@example.com>
- References:
- tlug: Question about resolv.conf
- From: Matt Gushee <matt@example.com>
Home | Main Index | Thread Index
- Prev by Date: tlug: Question about resolv.conf
- Next by Date: Re: tlug: LILO/Fat32
- Prev by thread: tlug: Question about resolv.conf
- Next by thread: tlug: Question about resolv.conf
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links