LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   sendmail dns lookups (https://www.linuxquestions.org/questions/linux-networking-3/sendmail-dns-lookups-331792/)

davidsrsb 06-09-2005 04:34 AM

sendmail dns lookups
 
I have a small NATed network with a mail server. This machine runs sendmail with uucp transport to my ISP mailserver. Mail is transferred in batches.
My problem is with local mail.

When david@mydomain.com sends mail to fred@mydomain.com, the server first tries to reverse lookup my IP address and then in turn looks up domain.com and MX domain.com. The latter gets a MX record response for the ISP mail server, which I hope that this mail will not go near.
I do not run a dns server on my network, just using the dnsmasq of the firewall. As we have some dhcp machines, putting the local IP addresses in the host file is not an option.

trickykid 06-09-2005 09:35 PM

Simply add the hosts and their IP's then into your /etc/hosts configuration file if you don't want to setup an internal DNS server..


All times are GMT -5. The time now is 08:26 AM.