is this zone correct ? (was -> Re: two names one address)

Joseph S D Yao jsdy at cospo.osis.gov
Wed Dec 22 21:04:26 UTC 1999


On Wed, Dec 22, 1999 at 12:23:21PM +0100, Dariusz Zmokly wrote:
...
> Thanks, I asked because someone told me there is an error in my zone. Please
> tell me if this is correct or what is wrong :
> 
> > ls domain.com
> [dns.domain.com]
> $ORIGIN domain.com.
> @                       1D IN A         x.y.z.2
> blah                    1D IN A         x.y.z.10
> apple                   1D IN A         x.y.z.5
> carrot                  1D IN A         x.y.z.3
> pineapple               1D IN A         x.y.z.2
> lucky                   1D IN A         x.y.z.9
> orange                  1D IN A         127.0.0.1
> citro                   1D IN A         x.y.z.11
> 
> see ya
> Dariusz Zmokly

The $ORIGIN line is superfluous.

At the beginning, you need a $TTL line, an SOA record, and one or more
NS records.

And I'm not sure why you would want to re-name "localhost" to "orange",
but, your privilege.

-- 
Joe Yao				jsdy at cospo.osis.gov - Joseph S. D. Yao
COSPO/OSIS Computer Support					EMT-B
-----------------------------------------------------------------------
This message is not an official statement of COSPO policies.


More information about the bind-users mailing list