[TriLUG] Help with caching dns server

Scott Lambdin lopaki at gmail.com
Fri Sep 26 13:03:31 EDT 2008


On Thu, Sep 18, 2008 at 9:36 AM, Aaron Joyner <aaron at joyner.ws> wrote:

>
> If you want your nameserver to return a "local" IP address for
> lmr.gotdns.com, you'll need to define the 'gotdns.com' zone in the
> same way you defined the 'home.linux' zone, already.  Only entries you
> put into the local zone file will be resolvable internally.  In other
> words, you'd have to define 'www.gotdns.com' to go where ever it does
> in the external zone, you wouldn't have the appropriate DNS resolution
> for other "clients" of 'gotdns.com', etc.  This is very likely *not*
> the behavior you want.  The behavior I suspect you really want is to
> just overload the name 'lmr.gotdns.com' internally, and resolve other
> names in the 'gotdns.com' domain from the 'gotdns.com' authoritative
> nameservers.  To the best of my knowledge, this is not possible with
> the standard compile of BIND.  You can do it on the client, via
> /etc/hosts, but doing it on the server requires breaking the model of
> who's authoritative for a given zone, and would very likely result in
> unexpected behavior in edge cases, even if you were able to configure
> your name server to do it in a limited sense[2].
>
Whys?  If this is a names server that is not in the glue records, can't it
have an SOA for gotdns.com
that gives the local IP's?

Great thread, Aaron et al, BTW.



>
> --
> There's a box?
>



More information about the TriLUG mailing list