• VS: A And Cname-record

    From Jukka Pakkanen@jukka.pakkanen@qnet.fi to Mark Andrews on Wed Jun 17 22:31:47 2020
    From Newsgroup: comp.protocols.dns.bind

    Yes but before going to RFC details one should check the basic spelling and syntax first...

    -----Alkuper|ninen viesti-----
    L|nhett|nj|n: bind-users <bind-users-bounces@lists.isc.org> Puolesta Mark Andrews
    L|nhetetty: 18. kes|nkuuta 2020 0:27
    Vastaanottaja: Bogdan-Stefan Rotariu <bogdan@rotariu.ro>
    Kopio: bind-users@lists.isc.org
    Aihe: Re: A And Cname-record



    On 18 Jun 2020, at 07:56, Bogdan-Stefan Rotariu <bogdan@rotariu.ro> wrote:

    Hi,

    On 18 Jun 2020, at 00:44, Ejaz Ahmed <mejaz@cyberia.net.sa> wrote:

    when i am trying to add A and CNAME record together for the same
    subdomain, getting an error as below, you all kind assistance would
    be highly appreciated thanks in advance

    my records are as follows in zone

    auotdiscover IN A 1.1.1.1
    autodiscover IN CNAME autodiscover.acig.com.sa

    ======================================================
    dns_master_load: acig.com.sa.hosts:102: autodiscover.acig.com.sa:
    CNAME and other data

    zone acig.com.sa/IN: loading from master file acig.com.sa.hosts
    failed: CNAME and other data

    zone acig.com.sa/IN: not loaded due to errors

    CNAME records cannot coexist with any other records last time IrCOve checked. See section 2.4 from RFC1912[1]

    [1] https://tools.ietf.org/html/rfc1912

    Well it actually goes back to RFC 1034. Unfortunately it wasnrCOt enforced in nameservers at the beginning and is still not enforced by some servers.

    3.6.2. Aliases and canonical names

    ...

    The domain system provides such a feature using the canonical name
    (CNAME) RR. A CNAME RR identifies its owner name as an alias, and specifies the corresponding canonical name in the RDATA section of the RR. If a CNAME RR is present at a node, no other data should be present; this ensures that the data for a canonical name and its aliases cannot be different. This rule also insures that a cached CNAME can be used without checking with an authoritative server for other RR types.

    Mark

    rCo
    Bogdan-Stefan Rotariu

    _______________________________________________
    Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list

    ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.


    bind-users mailing list
    bind-users@lists.isc.org
    https://lists.isc.org/mailman/listinfo/bind-users

    --
    Mark Andrews, ISC
    1 Seymour St., Dundas Valley, NSW 2117, Australia
    PHONE: +61 2 9871 4742 INTERNET: marka@isc.org

    _______________________________________________
    Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list

    ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.


    bind-users mailing list
    bind-users@lists.isc.org
    https://lists.isc.org/mailman/listinfo/bind-users
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Matus UHLAR - fantomas@uhlar@fantomas.sk to bind-users on Thu Jun 18 13:36:17 2020
    From Newsgroup: comp.protocols.dns.bind

    On 17.06.20 22:31, Jukka Pakkanen wrote:
    Yes but before going to RFC details one should check the basic spelling and syntax first...

    if there was a spelling mistake, the error would not be "CNAME and other data" when the error is "CNAME and other data", spelling mistakes don't matter...

    L|nhett|nj|n: bind-users <bind-users-bounces@lists.isc.org> Puolesta Mark Andrews

    On 18 Jun 2020, at 07:56, Bogdan-Stefan Rotariu <bogdan@rotariu.ro> wrote: >> Hi,

    On 18 Jun 2020, at 00:44, Ejaz Ahmed <mejaz@cyberia.net.sa> wrote:

    when i am trying to add A and CNAME record together for the same
    subdomain, getting an error as below, you all kind assistance would
    be highly appreciated thanks in advance

    my records are as follows in zone

    auotdiscover IN A 1.1.1.1
    autodiscover IN CNAME autodiscover.acig.com.sa

    ======================================================
    dns_master_load: acig.com.sa.hosts:102: autodiscover.acig.com.sa:
    CNAME and other data

    zone acig.com.sa/IN: loading from master file acig.com.sa.hosts
    failed: CNAME and other data

    zone acig.com.sa/IN: not loaded due to errors

    CNAME records cannot coexist with any other records last time IrCOve
    checked. See section 2.4 from RFC1912[1]

    [1] https://tools.ietf.org/html/rfc1912

    Well it actually goes back to RFC 1034. Unfortunately it wasnrCOt enforced in nameservers at the beginning and is still not enforced by some servers.

    3.6.2. Aliases and canonical names

    ...

    The domain system provides such a feature using the canonical name
    (CNAME) RR. A CNAME RR identifies its owner name as an alias, and specifies the corresponding canonical name in the RDATA section of the RR. If a CNAME RR is present at a node, no other data should be present; this ensures that the data for a canonical name and its aliases cannot be different. This rule also insures that a cached CNAME can be used without checking with an authoritative server for other RR types.
    --
    Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
    Warning: I wish NOT to receive e-mail advertising to this address.
    Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
    Fighting for peace is like fucking for virginity...
    --- Synchronet 3.21d-Linux NewsLink 1.2