Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Oct 2002 17:34:58 +0100
From:      "Barry Byrne" <barry.byrne@wbtsystems.com>
To:        "Moti Levy" <moti@flncs.com>, "ann kok" <annkok2001@yahoo.com>, <freebsd-questions@FreeBSD.ORG>
Subject:   RE: DNS server
Message-ID:  <NCBBIAMNAKDKFJIIGNPKMEPOJOAA.barry.byrne@wbtsystems.com>
In-Reply-To: <01a001c27b75$394cf4d0$fd6e34c6@moti>

next in thread | previous in thread | raw e-mail | index | archive | help
Fairly simple:

Use the @ for the domain as in the example below.

 - Barry

partial zone file 'master.zone' looks like:

$TTL 12h
@               IN      SOA     ns0.masterdomain.com.
hostmaster.masterdomain.com. (
                2002100101
                30m
                15m
                336h
                12h )

                IN      NS      ns0
                IN      NS      ns1

                IN      A       192.168.0.123

ns0                     IN      A       192.168.0.1
ns1                     IN      A       192.168.0.2


Partial Conf file looks like:

zone "domain1.com" {
        type master;
        file "master.zone";
};

zone "domain2.com" {
        type master;
        file "master.zone";
};


--
Barry Byrne, IT Manager,
WBT Systems, Block 2, Harcourt Centre
Harcourt Street, Dublin 2, Ireland

> -----Original Message-----
> From: owner-freebsd-questions@FreeBSD.ORG
> [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Moti Levy
> Sent: 24 October 2002 16:51
> To: ann kok; freebsd-questions@FreeBSD.ORG
> Subject: Re: DNS server
>
>
> zone = domain .....
> AFAIK can't be done
> -------------------------------------------------
> Moti
> www.flncs.com
> -------------------------------------------------
> be careful what you wish for ...
> -------------------------------------------------
>
> ----- Original Message -----
> From: "ann kok" <annkok2001@yahoo.com>
> To: <questions@FreeBSD.org>
> Sent: Thursday, October 24, 2002 11:45 AM
> Subject: DNS server
>
>
> > Hi all
> >
> > I have question about DNS server:
> >
> > I have more than 300 domain names and want to all
> > domain names pointing to one ipaddress
> >
> > I don't want to create 300 zones separately
> >
> > ls it possible to do it one zone to have this feature?
> >
> > Thank you for your help
> >
> >
> > __________________________________________________
> > Do you Yahoo!?
> > Y! Web Hosting - Let the expert host your web site
> > http://webhosting.yahoo.com/
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
> >
> >
> >
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NCBBIAMNAKDKFJIIGNPKMEPOJOAA.barry.byrne>