"CNAME and other data" problem

Stefan Puiu stefan.puiu at gmail.com
Wed Nov 15 09:06:04 UTC 2006


Hi,

you might want to check whether $ORIGIN sets the default domain. I
think it doesn't (there was a discussion about this on the list
recently), so if you have something like this in your zone:

foo CNAME blah blah

$ORIGIN bar.

      A x.y.z.t

The owner of the A record is still foo ($ORIGIN only changes the
domain appended to unqualified names) - hence the error you are
seeing. And anyway, I think named-checkzone should tell you the line
number where it sees the error, doesn't it do that?

HTH,
Stefan.

On 11/14/06, Tony Johansson <tony.johansson at svenskakyrkan.se> wrote:
> $ORIGIN .
> $TTL 3600       ; 1 hour
> efs.nu        IN SOA  ns1.svenskakyrkan.se. hostmaster.svenskakyrkan.se. (
[...]
>
> $ORIGIN efs.nu.
>                          A       195.43.38.33
> www                     A       195.67.160.6
>
> $ORIGIN blasarfest.efs.nu.
>                          MX      10 e05.dknet.se.
>                          MX      10 e05.dknet.biz.
> mail                    CNAME   s05.dknet.se.
> www                     CNAME   s33.dknet.se.
> ftp                     CNAME   s33ftp.dknet.se.
> smtp                    CNAME   s21smtp.dknet.se.
> pop                     CNAME   s21pop.dknet.se.
>
> $ORIGIN burea.efs.nu.
>                          A       195.43.38.33
>                          MX      10 e05.dknet.biz.
>                          MX      10 e05.dknet.se.
> mail                    CNAME   s05.dknet.se.
> ftp                     CNAME   s33ftp.dknet.se.
> www                     A       195.67.160.6
>
>
>



More information about the bind-users mailing list