DNS and Single IP Revisited...

Markus Stumpf maex-bind-users at Space.Net
Thu Sep 23 00:17:29 UTC 1999


On Wed, Sep 22, 1999 at 08:03:55PM +0000, Barry Margolin wrote:
> In article <Pine.LNX.4.10.9909221440470.16351-100000 at zeus.me.gatech.edu>,
> Jiann-Ming Su  <js1 at zeus.me.gatech.edu> wrote:
> >Anyway, I'm using bind 8 and would like to host several
> >unique domain names on one IP number.  It is possible to do this without
> >creating new zone entries (domain.com and in-addr.arpa) for each 
> >domain name in the named.conf file and the /var/named directory?  
> 
> Each domain will need to be in its own zone file.  You only need one PTR
> record, though.

Hmmmm ... if the zone files are all identical but the name of the zone
wouldn't it be possible to set up a   catchall.zone  like:

; ------------------------------------------------------------------------
@               IN      SOA     ns.example.com hostmaster.example.com. (
                                [ ... ] )

                IN      NS      ns.example.com.
                IN      NS      ns2.example.com.
                IN      MX      100     mail.example.com.

www		IN	A	1.2.3.4
; ------------------------------------------------------------------------

And have named.conf entries:

zone "example-dom1.com" in {type master; file "catchall.zone"; };
zone "example-dom2.com" in {type master; file "catchall.zone"; };
zone "example-dom3.com" in {type master; file "catchall.zone"; };

	\Maex

-- 
SpaceNet GmbH             |   http://www.Space.Net/   | Yeah, yo mama dresses
Research & Development    | mailto:maex-sig at Space.Net | you funny and you need
Joseph-Dollinger-Bogen 14 |  Tel: +49 (89) 32356-0    | a mouse to delete files
D-80807 Muenchen          |  Fax: +49 (89) 32356-299  |


More information about the bind-users mailing list