home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.mail.sendmail
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!ux1.cso.uiuc.edu!mp.cs.niu.edu!rickert
- From: rickert@mp.cs.niu.edu (Neil Rickert)
- Subject: Re: IDA-sendmail: NIS vs. DNS name lookup
- Message-ID: <1992Aug18.181204.31132@mp.cs.niu.edu>
- Organization: Northern Illinois University
- References: <rhoward.714153528@matd>
- Date: Tue, 18 Aug 1992 18:12:04 GMT
- Lines: 44
-
- In article <rhoward.714153528@matd> rhoward@matd.gatech.edu (Robert L. Howard) writes:
- > The NIS server maps were made with the -b
- >option so that name lookups that fail at the local NIS level will then
- >be handed to DNS. The NIS master server has a /etc/resolv.conf file
- >that points to the DNS machine (not under my control).
-
- > I like this hand off scheme because my access to the name server
- >is not perfectly reliable and this way my hosts can communicate among
- >themselves even when the DNS machine is down.
- >
- >So now I compile IDA-sendmail with DNS/BIND stuff built in. The client
- >I test on does not have a resolv.conf file and thus name lookups won't
- >work. Should I take the DNS stuff out (thus allowing name lookups
- >using NIS)? If I do this will I lose the ability to deliver to MX
- >records (which I am required to do)? How can I get the best of both
- >worlds?
-
- If you use NIS rather than DNS, you will see two effects:
-
- Mail which requires MX records will fail (be bounced).
-
- Other mail will be unreliable (sometimes bounce), because a
- failed nameserver lookup via NIS will be interpreted as "Host
- unknown" instead of being treated as an indicator to queue the
- message for later retry.
-
- Your best bet is:
-
- Have a /etc/resolv.conf on all machines not running their own
- nameserver. Mainly sendmail and nslookup will use this.
-
- Run a nameserver on your NIS master, or some other machine you
- control. You can probably make it an unofficial secondary server
- to the campus main DNS server (so that local names are guaranteed
- to always be in cache), and you can make it a forwarder,
- so that all requests are normally made through the campus server.
- This way you will have backup in case the server you currently
- use is down.
-
- In your M4 file, use the VALIDATION_DOMAINS option to minimize
- nameserver lookups, and reduce delays that they cause. If your
- Sendmail.mc does not support it, pick up a recent one from
- mp.cs.niu.edu:/pub/cf .
-
-