Router to use hosts file rather than DNS

This is a discussion on Router to use hosts file rather than DNS within the alt.comp.mail.exim forums, part of the Mail Servers and Related category; Hi, I have two exoim servers on one network, with one external IP address. A is main server, B is ...


Go Back   Usenet Forums > Mail Servers and Related > alt.comp.mail.exim

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-03-2006
Sharky
 
Posts: n/a
Default Router to use hosts file rather than DNS

Hi,

I have two exoim servers on one network, with one external IP address.
A is main server, B is a back up server.
A works fine, however when mail arrives at B , B does a DNS lookup
looking for A and finds the external Ip , then receives its own mail and
forms a loop.
Can someone tell me how to write a router that uses hosts file so that B
looks up lan address of A instead?
Googled my eyes of and no closer to solution!

Thanks
Reply With Quote
  #2 (permalink)  
Old 11-04-2006
Sharky
 
Posts: n/a
Default Re: Router to use hosts file rather than DNS

Sharky wrote:
> Hi,
>
> I have two exoim servers on one network, with one external IP address.
> A is main server, B is a back up server.
> A works fine, however when mail arrives at B , B does a DNS lookup
> looking for A and finds the external Ip , then receives its own mail and
> forms a loop.
> Can someone tell me how to write a router that uses hosts file so that B
> looks up lan address of A instead?
> Googled my eyes of and no closer to solution!
>
> Thanks


Sorted it:

smart_route:
driver = manualroute
domains = !+local_domains
transport = remote_smtp
route_list = * smarthost.ref.example
Reply With Quote
  #3 (permalink)  
Old 11-04-2006
Christian Schmidt
 
Posts: n/a
Default Re: Router to use hosts file rather than DNS

Hello Sharky,

Sharky schrieb/wrote:

> I have two exoim servers on one network, with one external IP address.
> A is main server, B is a back up server.
> A works fine, however when mail arrives at B , B does a DNS lookup
> looking for A and finds the external Ip , then receives its own mail and
> forms a loop.
> Can someone tell me how to write a router that uses hosts file so that B
> looks up lan address of A instead?
> Googled my eyes of and no closer to solution!


What you are looking for is a "manualroute router". Google will help
you.

Regards,
Christian
--
Christian Schmidt | Germany | ChriSchmiLi@gmx.de
No HTML Mails, please!!
De eene hett 'n Rittergut, de annere ritt 'n Gitter rut.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:14 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0