[Dnsmasq-discuss] SMTP server DNS resolution

Edson 4lists at gmail.com
Fri Feb 9 15:17:46 GMT 2007


Then try this approach:

Internet <-> OpenDNS <-> [DNSmasq<->SMTP+SAMBA]
                 \-----> DNSMasq <->LAN

Let me explain how it would work:

1- SMTP+SAMBA has it's own DNSMasq instance, responding on 127.0.0.1.
   The /etc/resolv.conf on this machice has "nameserver 127.0.0.1".
   Tweak this instance configuration with all policies that You want to.

2- The LAN clients use another DNSMasq for DNS consults... another point
   of tweak... ;)

Well, this is just one approach... another one would connect the
SMTP-machine's DNSMasq to the LAN's DNSMasq... is this case, You could
including, config a fixed entry on DHCP to feed all options on a centralized
way (like, NTP server, DNS server, IP, Netmask, etc)

I think that the best is either one.. You'll find YOUR best just after
playing arround...

Good look...

Edson.

> -----Original Message-----
> From: dnsmasq-discuss-bounces at lists.thekelleys.org.uk [mailto:dnsmasq-
> discuss-bounces at lists.thekelleys.org.uk] On Behalf Of Charles Marcus
> Sent: sexta-feira, 9 de fevereiro de 2007 11:36
> To: dnsmasq-discuss at thekelleys.org.uk
> Subject: Re: [Dnsmasq-discuss] SMTP server DNS resolution
> 
> Hi Jon,
> 
> Thanks for the reply... I'd like to keep this on list if you don't mind...
> 
> Jon wrote:
> > Not sure if I fully understand your question, but the killer feature of
> > DNSMasq for me is that it will return addresses from the /etc/hosts file
> > as responses to DNS queries from machines on the network. Therefore, if
> > I put the name of my SMTP server and an address for it in my /etc/hosts
> > file, then it would return that address for queries against the SMTP
> > server's host name.
> >
> > Does that sound like what you're looking for?
> 
> No, I guess I wasn't clear. Let me try rephrasing...
> 
> I'm talking about my internal, public smtp server using DNSMasq for its
> caching capability...
> 
> Specifically:
> 
> 1. I'd like to use DNSMasq as my DHCP/DNS server for my new Samba server.
> 
> 2. I'd like normal DNS client requests (LAN/web browsing) to be handled
> by DNSMasq, taking advantage of the DHCP/Dynamic DNS and external DNS
> caching, forwarding any non-local requests that aren't cached to the
> OpenDNS servers.
> 
> 3. I'd like a SEPARATE DNSMasq instance, that is used ONLY by my
> internal SMTP server, as an SMTP DNS cache, forwarding any cache misses
> to the internet root servers for authoritative resolution.
> 
> I have been simply forwarding all such requests to my ISPs DNS servers,
> but they haven't been extremely reliable, so I'd like to bypass them. Is
> forwarding such requests directly to the root servers considered bad
> netiquette?
> 
> --
> 
> Best regards,
> 
> Charles
> 
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss




More information about the Dnsmasq-discuss mailing list