file zone syntax

·a·L·e·X·u·S· bind at tucows.speedme.com
Wed Jul 12 15:39:04 UTC 2000




-----Original Message-----
From: ·a·L·e·X·u·S· [mailto:alexus at usa.com]
Sent: Wednesday, July 12, 2000 11:00 AM
To: Fred Viles; comp-protocols-dns-bind at moderators.isc.org
Subject: RE: file zone syntax


okay i fix all those
once again my bad
but it looks like all working now
thanks

-----Original Message-----
From: news [mailto:news at bob.news.rcn.net]On Behalf Of Fred Viles
Sent: Wednesday, July 12, 2000 1:01 AM
To: comp-protocols-dns-bind at moderators.isc.org
Subject: Re: file zone syntax


bind at tucows.speedme.com (John Smith) wrote in
<NDBBKLPFADOHLJLDPAKDKECACHAA.bind at tucows.speedme.com>:

>ok here it is...
>
>www.mydomain.com.          IN     A           192.168.0.1
>www.mydomain.com.          IN     A          192.168.0.2
>www.mydomain.com.          IN     A          192.168.0.3

OK.

>mail.mydomain.com.     IN     A          192.168.0.1
>mail.mydomain.com.     IN     A          192.168.0.2
>mail.mydomain.com.     IN     A          192.168.0.3

OK

>mydomain.com.          IN     MX     10     mail1.mydomain.com.
>mydomain.com.          IN     MX     10     mail2.mydomain.com.
>mydomain.com.          IN     MX     20     mail3.mydomain.com.

Not OK, the hostnames on these MX records are not defined in your
zone.

>www.mydomain.com.          IN     CNAME          mydomain.com.
>mail.mydomain.com.     IN     CNAME          mydomain.com.

Not OK, "www.mydomain.com" and "mail.mydomain.com" have A records, so
they can't also have CNAME records.  Also, you have no A records for
"mydomain.com", so it's not clear what you were intending these
CNAMEs to accomplish.


>assumin that i have other recods such as SOA and NS and
>
>192.168.0.x is real internet ip and
>192.168.0.1 is mail1.mydomain.com and web1.mydomain.com
>192.168.0.2 is mail2.mydomain.com and web2.mydomain.com
>192.168.0.3 is mail3.mydomain.com and web3.mydomain.com

None of these names is defined in your sample zone.

>i'm using mydomain.com as a just something instead of my real domain
>and 192.168.0.x as just ip instead of my real ips

whatever.

- Fred





More information about the bind-users mailing list