[CentOS] "Semi-Authoritative" DNS?

Kahlil Hodgson kahlil.hodgson at dealmax.com.au
Sat Nov 6 18:30:56 EDT 2010


On 11/06/2010 02:54 AM, Tim Nelson wrote:
> Greetings All-
> 
> I have an odd need for a 'semi-authoritative' DNS server. Let's say I have a zone for 'domain.com' with public DNS servers. However, I wanted to run an internal DNS server for internal things. Public resolution of 'www.domain.com' would yield the public IPs, private resolution of 'www.domain.com' would yield the internal private IPs. Easy enough. BUT, what if there is a DNS record present on the public nameservers that is *not* present on the internal nameserver? Typically, DNS will say 'no record found' when it could really forward the request to the public DNS. Is it possible to configure this? So, the internal 'domain.com' zone will be authoritative for records it has but forward queries for those records it does not have, even on the same domain?
> 

Checkout dnsmasq package.  That will do exactly what you want.

Kal


More information about the CentOS mailing list