[Exim] re: DNS lookup by default...

Top Page
Delete this message
Reply to this message
Author: Chan Cao
Date:  
To: exim-users
Subject: [Exim] re: DNS lookup by default...
No. Not at all. I don't think it's "defined at the OS level" as you
indicated. The default configure file or the default Exim behavior
is to use DNS only.

I did updated the hosts file and rearranged me /etc/nsswitch.conf
appropriately.

Well, I just want Exim to look in the hosts file first for the "A"
record of an Exchange server then fall back to DNS. The clipping
I included from the Exim manual indicated that I'd lose "MX processing"
by doing that.

Thanks for your help.

Chan

-----Original Message-----
From: Peter Radcliffe [mailto:pir@pir.net]
Sent: Tuesday, December 28, 1999 4:06 PM
To: exim-users@???
Subject: Re: [Exim] DNS lookup by default, why?


Chan Cao <ctcao@???> probably said:
> I was looking at a debug output and found that the "A" records I put
> in my /etc/hosts are not looked up by Exim. Digging further, it seems
> that DNS is used by default. There must be some wisdom here that all
> venues of host lookup aren't included automatically. I'm tempted to


This is defined at the OS level, not by exim.
Change this in your OS.

Doing routing by changing your hosts file is a Bad Plan and very evil.

> include the gethostbyname option in the lookuphost router but it seems
> I'd lose MX processing. I feel I don't have flexibility here...could
> someone explain? Thanks.


There are dozens of different ways you can route mail in routers.
You didn't say what you wanted to do.

P.

-- 
pir                  pir@???                    pir@???




--
## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##