Koozali.org: home of the SME Server

DNS and E-Smith 5.5

Peter Walter

DNS and E-Smith 5.5
« on: January 31, 2003, 12:30:06 AM »
I recently lost my DSL static IP address (provider out of business)  and had to seek a new DSL provider. Unfortunately, my new ISP does not provide static IPs, so I am now using Dynamic DNS updates for my E-Smith web/mail/ftp server. DDNS works fine except for the following problem: some of the mailing lists I subscribe to, in an effort to reduce spamming, blacklist all dynamic IPs.  The suggested workaround is to stop sending mail directly and to use the ISP's mail server (email options in the config panel). However, this does not work either unless you specify the ISP's nameserver as the primary DNS server, because the ISP mail server does not have a static address - you have to use mail.isp.com and have E-Smith look it up - and the lookup fails because the ISP does not publish mail.isp.com globally, only through their nameserver. The lookup suceeds if the ISP nameserver is specified in the email config panel, but then I cannot retrieve mail because the DNS lookup of "mail.myserver.com" is resolved by my ISP to a different (wrong) address because of mail failover at the registrar! In short, can anyone suggest a method to force E-Smith 5.6 to try resolving a name lookup using the local HOSTS file (which has the correct name/ip address)  before it tries using the nameserver specified in the email options ?