Re: Help with multiple zones

This is a discussion on Re: Help with multiple zones within the Bind Users forums, part of the DNS and Related Forums category; Barry, That seemed to fix the problems I was having. Thanks. On 5/31/05, Barry Margolin <barmar@alum....


Go Back   Usenet Forums > DNS and Related Forums > Bind Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-31-2005
Phusion
 
Posts: n/a
Default Re: Help with multiple zones

Barry,

That seemed to fix the problems I was having. Thanks.

On 5/31/05, Barry Margolin <barmar@alum.mit.edu> wrote:
> In article <d7gkbd$2t9$1@sf1.isc.org>, Phusion <phusion2k@gmail.com>
> wrote:
>=20
> > I'm trying to make an internal DNS server using BIND9. We locally host
> > public webservers for multiple domains. I'm setting up the DNS server
> > so internal users can go to the local address instead of going out to
> > the internet to the public address. Like I said we have multple
> > domains which means mutiple zone files, this is where I need help. The
> > multple domains are because we've switched company names. I've
> > included a copy of the zone file for our main domain. I've used this
> > as an example for the other zone files. The DNS server this is on has
> > the address of ns.foo.com.
> >
> > ----------------------------------------
> > db.foo.com =3D3D Main Domain
> > ----------------------------------------
> > $TTL 3600
> >
> > @ IN SOA ns.foo.com. root.ns.foo.com. (
> > 20050510 ; Serial
> > 3600 ; Refresh
> > 900 ; Retry
> > 3600000 ; Expire
> > 3600 ) ; Minimum
> > @ IN NS ns.foo.com.
> >
> > ; Addresses for the canonical names
> > mail.foo.com. IN A 192.168.10.11
> > ns.foo.com. IN A 192.168.1.34
> >
> > ; Aliases
> > ntp.foo.com. IN CNAME ns.foo.com.
> >
> > I was wondering if the next zone is correct because I copied most of
> > the information except for the addresses at the bottom. I changed the
> > SOA line to say ns.foo.net, instead of ns.foo.com. Also, I changed the
> > NS line to say ns.foo.net. Is this correct? I've followed the same
> > pattern for the other zone files, just changing the address parts at
> > the bottom.

>=20
> You don't have an A record for ns.foo.net, so it's clearly wrong. If
> all these domains are being hosted on the same server they should all
> have the same server in the SOA and NS records.
>=20
> > ----------------------------------------
> > db.foo.net =3D3D Another domain
> > ----------------------------------------
> > $TTL 3600
> >
> > @ IN SOA ns.foo.net. root.ns.foo.net. (
> > 20050510 ; Serial
> > 3600 ; Refresh
> > 900 ; Retry
> > 3600000 ; Expire
> > 3600 ) ; Minimum
> > @ IN NS ns.foo.net.
> >
> > ; Addresses for the canonical names
> > phusion.foo.net. IN A 192.168.10.27
> > dev.foo.net. IN A 192.168.1.35
> > reports.foo.net. IN A 192.168.1.35
> >
> > Let me know if this is correct? If not tell me what I should do. Thanks=

..
> >
> > Phusion

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



Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:20 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0