Is there a problem with this zone file?
Kevin Darcy
kcd at daimlerchrysler.com
Tue Oct 3 00:32:02 UTC 2000
CNAMEs can't co-exist with any other record types. You have: 1 SOA, 2 NS
and 1 MX record for "foo.org", so you cannot also have a CNAME with that
owner name. Make it an A record pointing to the address of
"baz.bar.com" instead.
- Kevin
Steve Linberg wrote:
> I'm trying to troubleshoot a zone file that is having a problem. I
> have a colocation server set up and this domain will be hosted on the
> box, managed as a virtual domain through qmail and apache.
>
> The domain I'm tryint to set up in this example is foo.org; the hosting
> box is baz.bar.com. The problem I'm having is that while nslookup
> resolves all of the subdomains of foo.org correctly (starting with
> www.foo.org), just plain "foo.org" by itself doesn't resolve.
> (Non-existent host/domain).
>
> Is there anything obviously wrong in here that anybody can see? bar.com
> resolves fine and is defined with an A record in its own zone file,
> defined earlier from the same named.conf on my box.
>
> ---------------------------------------------------------------------
> foo.org. IN SOA baz.bar.com. steve.bar.com. (
> 2000100204 ; Serial
> 8H ; Refresh
> 2H ; Retry
> 1W ; Expire
> 1D ) ; Minimum
>
> NS baz.bar.com.
>
> ; These are the colo's DNS IP numbers; they work.
>
> NS x.x.x.x
> NS x.x.x.x
>
> MX 10 mail.bar.com.
>
> localhost IN A 127.0.0.1
>
> foo.org. CNAME baz.bar.com.
> www.foo.org. CNAME baz.bar.com.
> ftp.foo.org. CNAME baz.bar.com.
> mysql.foo.org. CNAME baz.bar.com.
> preview.foo.org. CNAME baz.bar.com.
> webmail.foo.org. CNAME baz.bar.com.
> ---------------------------------------------------------------------
>
> Thanks for any tips.
More information about the bind-users
mailing list