Setting up Internal DNS server
Barry Margolin
barmar at genuity.net
Thu Dec 6 23:38:16 UTC 2001
In article <9uoo3a$rd7 at pub3.rc.vix.com>,
Peter Knowles <pnet at execulink.com> wrote:
>What I am attempting to do is have BIND control how requests are handled.
>For instance:
>
>Someone goes to: www.mydomain.com
>
>BIND would then say "hmm www.mydomain.com" is handled by "workstation", then
>would handle the request accordingly.
>
>Then someone goes to: mail.mydomain.com
>
>BIND would then say "hmm mail.mydomain.com" is handled by "server", then
>would handle the request accordingly.
In your zone file for the mydomain.com domain, you should have the
following entries:
workstation IN A <address of workstation>
server IN A <address of server>
www IN CNAME workstation
mail IN CNAME server
CNAME records are used to define aliases.
--
Barry Margolin, barmar at genuity.net
Genuity, Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.
More information about the bind-users
mailing list