bind config to view local virtual servers

Barry Margolin barmar at alum.mit.edu
Fri Jul 2 20:55:22 UTC 2004


In article <cc4d4e$ac5$1 at sf1.isc.org>,
 news user <news at sisyphus.news.be.easynet.net> wrote:

> On Fri, 02 Jul 2004 14:21:04 -0400, Barry Margolin wrote:
> 
> > You're going to have to give us more information.  What's different 
> > about the ways that www.mydomain.com and ed.mydomain.com are entered 
> > into your DNS?  What happens when you try to access ed.mydomain.com?
> 
> links http://www.mydomain.com	OK
> links http://mybox		OK
> links http://internalip		OK
> 
> I think the problem is for ed.mydomain.com it will make a request to
> external DNS and try and come back into my domain rather than pointing
> streight to my DMZ.
> 
> links http://ed.mydomain.com	FAIL (host not found)
> 
> I think I need to be working with "views" (found the article ;) but I can
> figure it out... this is a sample of my "not working" config:
> 
> view "internal"{
>         match-clients { localnets; };
>         zone "mydomain.com" IN {
>                 type master;
>                 file "db.mydomain";
>                 allow-update { none; };
>         };
> };
> 
> Any clue?

If db.mydomain has identical records for "www" and "ed", they should 
both work.  You never answered my first question: what's different about 
the ways that the two hostnames are entered into the zone file?  Perhaps 
you should post db.mydomain.

-- 
Barry Margolin, barmar at alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***


More information about the bind-users mailing list