which is the vaild a format?

Farkas Levente lfarkas at bppiac.hu
Mon Dec 11 09:11:30 UTC 2006


Roy Arends wrote:
> On Dec 10, 2006, at 10:38 PM, Farkas Levente wrote:
> 
>> hi,
>> after i test nsd i find the following. if i use this in a zone file:
>> $ORIGIN example.com.
>>                CNAME           www
>> www            CNAME           x
>> x              A               1.2.3.4
>> then it's excepted by nsd what's more give the proper result. if the
>> slave is nsd than there is no problem, while if the slave is bind i've
>> got the following error:
>> ----------------------------
>> transfer of 'example.com/IN' from 212.92.23.223#53: resetting
>> transfer of 'example.com/IN' from 212.92.23.223#53: failed while
>> receiving responses: CNAME and other data
>> transfer of 'example.com/IN' from 212.92.23.223#53: end of transfer
>> ----------------------------
>> and of course bind don't accept the above even if he's the master.
>> so my question who is right, but most important is there any other way
>> than define an A record for the domain itself?
> 
> I'd turn the pointers around, so you'd have
> $ORIGIN example.com.
>                A              1.2.3.4
> www            CNAME          example.com.
> x              CNAME          example.com.

ok actually the real problem is when web server is not in the given zone
(but i just like to point to the problem in my original mail) like in
this case:
$ORIGIN example.com.
               CNAME          www
www            CNAME          virtual.webserver.com.
in this case both record should have to be CNAME and the only place
where any changes would have to made is in webserver.com zone.



-- 
  Levente                               "Si vis pacem para bellum!"



More information about the nsd-users mailing list