Re: A And Cname-record

2020-06-22 Thread Cathy Almond
On 17/06/2020 22:44, Ejaz Ahmed 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
> <http://autodiscover.acig.com.sa>
> 
> ==
> 
> dns_master_load: acig.com.sa.hosts:102: autodiscover.a
> <http://autodiscover.acig.com.sa/>cig.com.sa <http://cig.com.sa>: CNAME
> and other data
> 
> zone acig.com.sa/IN <http://acig.com.sa/IN>: loading from master file
> acig.com.sa.hosts failed: CNAME and other data
> 
> zone acig.com.sa/IN <http://acig.com.sa/IN>: not loaded due to errors 
> 

Late to the party - but we also have a KB article for this:

https://kb.isc.org/docs/aa-01640
___
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


Re: A And Cname-record

2020-06-18 Thread Larry Stone
But if there is a possibly relevant spelling error, it would be helpful to 
point out exactly where the error is rather than just saying “check your 
spelling”. Our eyes frequently see what we expect to see and therefore don’t 
see the error, even when told there is an error. 

-- 
Larry Stone
lston...@stonejongleux.com





> On Jun 18, 2020, at 9:29 AM, Chuck Aurora  wrote:
> 
> On 2020-06-18 06:41, Ondřej Surý wrote:
>> Jukka and others,
>> I would prefer if we didn’t scold people for typos on the mailing list. The 
>> typo
>> in the message had no impact on the question itself, and here, we are trying
>> to build community that’s welcoming to newcomers to the wonderful world
>> of DNS.
> 
> Is it a wonderful world? :)
> 
> Anyway, the vast majority of errors posted here DO boil down to things like
> the typos and syntax niceties (trailing dot) that Jukka pointed out.  Granted,
> in this case that was obviously an email typo, not copied exactly from the
> zone file, but I'd simply suggest that pointing out a typo is not "scolding."
> It's often hard for ME to see MY typos, because I know what I meant to type;
> but for fresh eyes they are much easier to spot.
> ___
> 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

___
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


Re: A And Cname-record

2020-06-18 Thread Chuck Aurora

On 2020-06-18 06:41, Ondřej Surý wrote:

Jukka and others,

I would prefer if we didn’t scold people for typos on the mailing list. 
The typo
in the message had no impact on the question itself, and here, we are 
trying

to build community that’s welcoming to newcomers to the wonderful world
of DNS.


Is it a wonderful world? :)

Anyway, the vast majority of errors posted here DO boil down to things 
like
the typos and syntax niceties (trailing dot) that Jukka pointed out.  
Granted,
in this case that was obviously an email typo, not copied exactly from 
the
zone file, but I'd simply suggest that pointing out a typo is not 
"scolding."
It's often hard for ME to see MY typos, because I know what I meant to 
type;

but for fresh eyes they are much easier to spot.
___
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


Re: A And Cname-record

2020-06-18 Thread Bob McDonald
May I suggest the following?:

If you are an individual that is so pedantic that seeing a spelling error
causes you to lose sleep or have other soul searing consternation, send an
email (gently worded) to the poster only. Please also be encouraging to
that individual pointing out that these types of errors happen and will not
cause loss of their immortal soul. As Ondrej points out, we are trying to
build community that's welcoming to newcomers to the wonderful world of DNS.

I remember when I first subscribed to this list being terrified of posting
after reading several rather terse replies. I've since gotten a bit thicker
skin. I've learned a lot from this list. However, it's not for the timid.
Please be considerate in the wording of your replies.

With my lack of typing skills, my lack of spelling skills, and my lack of
grammar skills, it's a small wonder that anything I post on this list is
understood.

Couple that with most readers not having english as a first language and it
quickly becomes a miracle!

My somewhat simpler interpretation of that error:

if during the named loading process a zone produces an error that says
CNAME and other data, my experience has been that the zone being loaded
contains an A record and one or more CNAME records with the same owner
value (hostname). That's not allowed under the RFC documents for bind.

e.g.

remtest IN A 100.64.0.2
remtest IN CNAME temp.example.com.

-OR-

remtest IN CNAME temp.example.com.
remtest IN CNAME temp001.example.com.

Both examples are not allowed under the RFCs.

Bob
___
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


Re: A And Cname-record

2020-06-18 Thread Ondřej Surý
Jukka and others,

I would prefer if we didn’t scold people for typos on the mailing list. The typo
in the message had no impact on the question itself, and here, we are trying
to build community that’s welcoming to newcomers to the wonderful world
of DNS.

Ondrej
--
Ondřej Surý
ond...@isc.org

> On 18 Jun 2020, at 00:31, Jukka Pakkanen  wrote:
> 
> Yes but before going to RFC details one should check the basic spelling and 
> syntax first...
> 
> -Alkuperäinen viesti-
> Lähettäjä: bind-users  Puolesta Mark Andrews
> Lähetetty: 18. kesäkuuta 2020 0:27
> Vastaanottaja: Bogdan-Stefan Rotariu 
> Kopio: bind-users@lists.isc.org
> Aihe: Re: A And Cname-record
> 
> 
> 
>> On 18 Jun 2020, at 07:56, Bogdan-Stefan Rotariu  wrote:
>> 
>> Hi,
>> 
>>> On 18 Jun 2020, at 00:44, Ejaz Ahmed  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 I’ve
>> 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 wasn’t 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
> 
>> —
>> 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: ma...@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
> ___
> 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



signature.asc
Description: Message signed with OpenPGP
___
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


Re: VS: A And Cname-record

2020-06-18 Thread Matus UHLAR - fantomas

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ähettäjä: bind-users  Puolesta Mark Andrews


On 18 Jun 2020, at 07:56, Bogdan-Stefan Rotariu  wrote:
Hi,


On 18 Jun 2020, at 00:44, Ejaz Ahmed  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 I’ve
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 wasn’t 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, uh...@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...
___
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


Re: A And Cname-record

2020-06-17 Thread Mark Andrews


> On 18 Jun 2020, at 08:31, Jukka Pakkanen  wrote:
> 
> Yes but before going to RFC details one should check the basic spelling and 
> syntax first…

I put the auotdiscover/autodiscover difference down to typo when entering the 
records by
hand into the email message.  Similarly absolute vs relative target name.

The fact that there was a error message that was cut-and-pasted indicates that 
the zone
actually does have CNAME and other data for name autodiscover.acig.com.sa and 
that Ejaz
said he was adding a A and CNAME at the same subdomain is enough by itself to 
discuss
that issue.

Mark
> -Alkuperäinen viesti-
> Lähettäjä: bind-users  Puolesta Mark Andrews
> Lähetetty: 18. kesäkuuta 2020 0:27
> Vastaanottaja: Bogdan-Stefan Rotariu 
> Kopio: bind-users@lists.isc.org
> Aihe: Re: A And Cname-record
> 
> 
> 
>> On 18 Jun 2020, at 07:56, Bogdan-Stefan Rotariu  wrote:
>> 
>> Hi,
>> 
>>> On 18 Jun 2020, at 00:44, Ejaz Ahmed  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 I’ve 
>> 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 wasn’t 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
> 
>> —
>> 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: ma...@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

-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742  INTERNET: ma...@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


VS: A And Cname-record

2020-06-17 Thread Jukka Pakkanen
Yes but before going to RFC details one should check the basic spelling and 
syntax first...

-Alkuperäinen viesti-
Lähettäjä: bind-users  Puolesta Mark Andrews
Lähetetty: 18. kesäkuuta 2020 0:27
Vastaanottaja: Bogdan-Stefan Rotariu 
Kopio: bind-users@lists.isc.org
Aihe: Re: A And Cname-record



> On 18 Jun 2020, at 07:56, Bogdan-Stefan Rotariu  wrote:
> 
> Hi,
> 
>> On 18 Jun 2020, at 00:44, Ejaz Ahmed  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 I’ve 
> 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 wasn’t 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

> —
> 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: ma...@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
___
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


Re: A And Cname-record

2020-06-17 Thread Mark Andrews


> On 18 Jun 2020, at 07:56, Bogdan-Stefan Rotariu  wrote:
> 
> Hi,
> 
>> On 18 Jun 2020, at 00:44, Ejaz Ahmed  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 I’ve 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 wasn’t 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

> —
> 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: ma...@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


Re: A And Cname-record

2020-06-17 Thread Bogdan-Stefan Rotariu
Hi,

> On 18 Jun 2020, at 00:44, Ejaz Ahmed  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 
> <http://autodiscover.acig.com.sa/>
> 
> ==
> dns_master_load: acig.com.sa.hosts:102: autodiscover.a 
> <http://autodiscover.acig.com.sa/>cig.com.sa <http://cig.com.sa/>: CNAME and 
> other data
> 
> zone acig.com.sa/IN <http://acig.com.sa/IN>: loading from master file 
> acig.com.sa.hosts failed: CNAME and other data
> 
> zone acig.com.sa/IN <http://acig.com.sa/IN>: not loaded due to errors 

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

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

—
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


VS: A And Cname-record

2020-06-17 Thread Jukka Pakkanen
Including the trailing dots…

Lähettäjä: bind-users  Puolesta Jukka Pakkanen
Lähetetty: 17. kesäkuuta 2020 23:51
Vastaanottaja: Ejaz Ahmed ; bind-users@lists.isc.org
Aihe: VS: A And Cname-record

Check at least the spelling…

Lähettäjä: bind-users 
mailto:bind-users-boun...@lists.isc.org>> 
Puolesta Ejaz Ahmed
Lähetetty: 17. kesäkuuta 2020 23:44
Vastaanottaja: bind-users@lists.isc.org<mailto:bind-users@lists.isc.org>
Aihe: A And Cname-record

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<http://autodiscover.acig.com.sa>

==
dns_master_load: acig.com.sa.hosts:102: 
autodiscover.a<http://autodiscover.acig.com.sa/>cig.com.sa<http://cig.com.sa>: 
CNAME and other data
zone acig.com.sa/IN<http://acig.com.sa/IN>: loading from master file 
acig.com.sa.hosts failed: CNAME and other data
zone acig.com.sa/IN<http://acig.com.sa/IN>: not loaded due to errors


___
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


Re: A And Cname-record

2020-06-17 Thread Warren Kumari
Yup - that’s because you cannot (legally) have a CNAME and any other RR
type at the same name — see
https://en.m.wikipedia.org/wiki/CNAME_record for an explanation as to why...

W

On Wed, Jun 17, 2020 at 5:44 PM Ejaz Ahmed  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.a
> <http://autodiscover.acig.com.sa/>cig.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
> 
>
> ___
> 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
>
-- 
I don't think the execution is relevant when it was obviously a bad idea in
the first place.
This is like putting rabid weasels in your pants, and later expressing
regret at having chosen those particular rabid weasels and that pair of
pants.
   ---maf
___
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


VS: A And Cname-record

2020-06-17 Thread Jukka Pakkanen
Check at least the spelling…

Lähettäjä: bind-users  Puolesta Ejaz Ahmed
Lähetetty: 17. kesäkuuta 2020 23:44
Vastaanottaja: bind-users@lists.isc.org
Aihe: A And Cname-record

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<http://autodiscover.acig.com.sa>

==
dns_master_load: acig.com.sa.hosts:102: 
autodiscover.a<http://autodiscover.acig.com.sa/>cig.com.sa<http://cig.com.sa>: 
CNAME and other data
zone acig.com.sa/IN<http://acig.com.sa/IN>: loading from master file 
acig.com.sa.hosts failed: CNAME and other data
zone acig.com.sa/IN<http://acig.com.sa/IN>: not loaded due to errors


___
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


A And Cname-record

2020-06-17 Thread Ejaz Ahmed
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.a
<http://autodiscover.acig.com.sa/>cig.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

___
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


cname record

2013-03-01 Thread Dwayne Hottinger
I would like for users inside my network to not be able to do ssl searches
with google, because of cipa compliance issues.  I added a cname record to
my zone file:

www.google.com CNAME nosslsearch.google.com

To try and get it to redirect.  Since Im not authoritive for google, I dont
think this will work no matter how I tweak it.  Am I right in this
assumption?

thanks,

ddh


-- 
Dwayne Hottinger
Network Administrator
Harrisonburg City Public Schools
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

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

Re: cname record

2013-03-01 Thread Chuck Swiger
Hi, Dwayne--

On Mar 1, 2013, at 10:29 AM, Dwayne Hottinger wrote:
 I would like for users inside my network to not be able to do ssl searches 
 with google, because of cipa compliance issues.

OK, so you should block port tcp/443 to Google's network addresses 
(approximately 173.194.79.0/24) on your firewall.

  I added a cname record to my zone file:
 
 www.google.com CNAME nosslsearch.google.com
 
 To try and get it to redirect.  Since Im not authoritive for google, I dont 
 think this will work no matter how I tweak it.  Am I right in this assumption?

You can use RPZ capabilities in BIND to override their records:

  http://www.isc.org/software/rpz

...but that won't do anything to prevent a knowledgeable user from hitting 
something like https://173.194.79.99/ directly.

Regards,
-- 
-Chuck

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

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


Re: Wildcard CNAME record?

2013-01-16 Thread Matus UHLAR - fantomas

On 16.01.13 14:57, Baird, Josh wrote:

Is it acceptable to have a wildcard CNAME?  Example:

* IN   CNAMEsomewhere.com.

Or, would it be advised to only use wildcard 'A' records?


while it is technically valid, I don't think it's acceptable to use solutions
that require wildcards ;-)

--
Matus UHLAR - fantomas, uh...@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.
They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety. -- Benjamin Franklin, 1759
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

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


Re: Wildcard CNAME record?

2013-01-16 Thread Tony Finch
Matus UHLAR - fantomas uh...@fantomas.sk wrote:
 On 16.01.13 14:57, Baird, Josh wrote:
  Is it acceptable to have a wildcard CNAME?  Example:
 
  * IN   CNAMEsomewhere.com.
 
  Or, would it be advised to only use wildcard 'A' records?

 while it is technically valid, I don't think it's acceptable to use solutions
 that require wildcards ;-)

RFC 4592 is enlightening in a rather unpleasant manner.

Tony.
-- 
f.anthony.n.finch  d...@dotat.at  http://dotat.at/
Forties, Cromarty: East, veering southeast, 4 or 5, occasionally 6 at first.
Rough, becoming slight or moderate. Showers, rain at first. Moderate or good,
occasionally poor at first.
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

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


Re: Wildcard CNAME record?

2013-01-16 Thread Barry Margolin
In article mailman.1072.1358349671.11945.bind-us...@lists.isc.org,
 Oliver Peter li...@peter.de.com wrote:

 On Wed, Jan 16, 2013 at 02:57:48PM +, Baird, Josh wrote:
  Is it acceptable to have a wildcard CNAME?  Example:
  
  * IN   CNAMEsomewhere.com.
  
  Or, would it be advised to only use wildcard 'A' records?
 
 Not valid since there should be SOA and NS records for somewhere.com,
 the CNAME would conflict with them.

But wildcards only synthesize records that are actually queried for. If 
no one ever asks for these SOA and NS records, the conflicts will never 
occur. They're the DNS equivalent of trees falling in a forest.

-- 
Barry Margolin
Arlington, MA
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

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


Re: Wildcard CNAME record?

2013-01-16 Thread Oliver Peter
On Wed, Jan 16, 2013 at 10:33:03AM -0500, Barry Margolin wrote:
 In article mailman.1072.1358349671.11945.bind-us...@lists.isc.org,
  Oliver Peter li...@peter.de.com wrote:
 
  On Wed, Jan 16, 2013 at 02:57:48PM +, Baird, Josh wrote:
   Is it acceptable to have a wildcard CNAME?  Example:
   
   * IN   CNAMEsomewhere.com.
   
   Or, would it be advised to only use wildcard 'A' records?
  
  Not valid since there should be SOA and NS records for somewhere.com,
  the CNAME would conflict with them.
 
 But wildcards only synthesize records that are actually queried for. If 
 no one ever asks for these SOA and NS records, the conflicts will never 
 occur. They're the DNS equivalent of trees falling in a forest.

Gah, mixed it up, was thinking the other way round.  Sorry.


-- 
Oliver PETER   oli...@opdns.de   0x456D688F
You need healthy, natural sleep. Chew some Valerian root and get more 
exercise.


signature.asc
Description: Digital signature
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

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

Re: Wildcard CNAME record?

2013-01-16 Thread Matus UHLAR - fantomas

Matus UHLAR - fantomas uh...@fantomas.sk wrote:

On 16.01.13 14:57, Baird, Josh wrote:
 Is it acceptable to have a wildcard CNAME?  Example:

 * IN   CNAMEsomewhere.com.

 Or, would it be advised to only use wildcard 'A' records?

while it is technically valid, I don't think it's acceptable to use solutions
that require wildcards ;-)


On 16.01.13 15:16, Tony Finch wrote:

RFC 4592 is enlightening in a rather unpleasant manner.


yes, very unpleasant. I read that more than once and was repeatedly not able
to fully understand it.


--
Matus UHLAR - fantomas, uh...@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.
I don't have lysdexia. The Dog wouldn't allow that.
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

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


Re: CNAME record for the root of the domain

2011-10-17 Thread Chris Thompson

On Oct 16 2011, Kevin Oberman wrote:


2011/10/16 Niccolò Belli darkba...@linuxsystems.it:

I'm sorry but I still didn't understand if it's possible to do it with some
workaround, and if yes HOW to do it.


No, you can' have a CNAME at the top of a zone. A zone requires an SOA
and CNAMEs cannot co-exist with ANY other record.

Depending on exactly what you are trying to accomplish, you might get there by:
1. A DNAME in the parent. This aliases the entire domain, so this
might or might not do what you want.


DNAMEs do not redirect their own name, so neither a DNAME at the zone
apex (which is legal) nor one in the parent would have the effect of
a CNAME at the apex.

A *CNAME* in the parent would, but only as long as you didn't mind
losing all the rest of the zone.


2. Use a A (and other records as needed) instead of a CNAME.


This is, of course, the usual solution.

--
Chris Thompson
Email: c...@cam.ac.uk
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

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


Re: CNAME record for the root of the domain

2011-10-17 Thread Niccolò Belli

Il 17/10/2011 17:09, Matt Rowley ha scritto:

but if you're ok with all of the records in the zone being identical, you could 
point both zones to the same file in your named.conf


If I am the one who host the name server for example.com :)
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

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


Re: CNAME record for the root of the domain

2011-10-16 Thread Niccolò Belli
I'm sorry but I still didn't understand if it's possible to do it with 
some workaround, and if yes HOW to do it.


Thanks,
Niccolò
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

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


Re: CNAME record for the root of the domain

2011-10-16 Thread Kevin Oberman
2011/10/16 Niccolò Belli darkba...@linuxsystems.it:
 I'm sorry but I still didn't understand if it's possible to do it with some
 workaround, and if yes HOW to do it.

No, you can' have a CNAME at the top of a zone. A zone requires an SOA
and CNAMEs cannot co-exist with ANY other record.

Depending on exactly what you are trying to accomplish, you might get there by:
1. A DNAME in the parent. This aliases the entire domain, so this
might or might not do what you want.
2. Use a A (and other records as needed) instead of a CNAME.
-- 
R. Kevin Oberman, Network Engineer
E-mail: kob6...@gmail.com
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

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


CNAME record for the root of the domain

2011-10-12 Thread Niccolò Belli

How to set it?
I know there is a workaround, but I hadn't been able to make it work...
I use bind 9.7.3.

Thanks,
Niccolò
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

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


Re: CNAME record for the root of the domain

2011-10-12 Thread Rick Dicaire
2011/10/12 Niccolò Belli darkba...@linuxsystems.it:
 How to set it?
 I know there is a workaround, but I hadn't been able to make it work...

What have you tried so far?


-- 
aRDy Music and Rick Dicaire present:
http://www.ardynet.com
http://www.ardynet.com:9000/ardymusic.ogg.m3u
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

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


Re: CNAME record for the root of the domain

2011-10-12 Thread Paul Wouters

On Wed, 12 Oct 2011, Niccolò Belli wrote:


Subject: CNAME record for the root of the domain

How to set it?
I know there is a workaround, but I hadn't been able to make it work...
I use bind 9.7.3.


Perhaps you mean DNAME?

http://www.ietf.org/rfc/rfc2672.txt

http://www.informit.com/articles/article.aspx?p=19798

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

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


Re: CNAME record for the root of the domain

2011-10-12 Thread H. Peter Anvin
On 10/12/2011 09:20 AM, Paul Wouters wrote:
 On Wed, 12 Oct 2011, Niccolò Belli wrote:
 
 Subject: CNAME record for the root of the domain

 How to set it?
 I know there is a workaround, but I hadn't been able to make it work...
 I use bind 9.7.3.
 
 Perhaps you mean DNAME?
 

How widely are DNAMEs supported?

-hpa

-- 
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel.  I don't speak on their behalf.

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

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

Re: CNAME record for the root of the domain

2011-10-12 Thread Niccolò Belli

Il 12/10/2011 18:18, Rick Dicaire ha scritto:

What have you tried so far?


@  IN  CNAME   linuxsystems.it.
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

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


Re: CNAME record for the root of the domain

2011-10-12 Thread Jan-Piet Mens
 What have you tried so far?
 @  IN  CNAME   linuxsystems.it.

No CNAME and other data [1]. You have an SOA and NS at the apex, so a
CNAME isn't allowed.

-JP

[1] Until you start with DNSSEC :)
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

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


Re: Forward using CNAME record

2011-01-26 Thread Henry Hartley

On 01/25/2011 01:34 PM, Henry Hartley wrote:

On 1/25/2011 10:40 AM, Torinthiel wrote:

Dnia 2011-01-25 10:18 Henry Hartley napisał(a):


Should I be able to do what I'm trying to do?


If you have a web panel to configure your hosting, look for something
named
alternative domain names, aliases, virtual hosts or virtual servers.


I thought it might be something like that. Since I don't have access to
any web panel type interface for the site (I'm just providing DNS for a
friend) I can't fix it on my own. Also, since she's in Europe and I'm in
North America, it's a little harder for me to hand hold, but I'm sure
we'll figure it out. If not, I can always point the DNS to my own web
server and redirect from there, changing the URL passed to tumblr.com.


Following up on my own post, tumblr.com DOES have a setting like this 
and my friend was able to set it, so all is well.


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

Re: Forward using CNAME record

2011-01-26 Thread Gary Wallis

p...@mail.nsbeta.info wrote:

Gary Wallis writes:



Do not confuse your forwarding with HTTP rewriting.
One is just about DNS records (CNAME, A or otherwise.) The other 
happens on the server side (see Apache rewrite engine docs.)


This is nothing about rewrite, but webserver's virtual host stuff.
Regards.


Phy,

Thanks for your comment but from the OP:

When you point your browser to www.example.com (obviously not
example) the page on web.me.com loads properly but www.example.com is 
still displayed in the address bar.


The use of the word still clearly points to some type of confusion 
about rewrite and dns.


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


Forward using CNAME record

2011-01-25 Thread Henry Hartley
My apologies if this gets to the list twice. I tried to post it through 
the web interface but it seems to have been dropped by whatever 
screening gets applied.


I'm not sure if I've misunderstood the use of CNAME or if I've simply 
done something wrong.


I have two domains that I want to forward. One is working properly and 
the other is not. In both cases I want users to enter a URL in their 
browser (www.example.com) and be forwarded to a different system, where 
the user has their site. In the working case, the forwarding it to 
web.me.com so I have the following in my zone file:


www.example.com.   CNAME   web.me.com.

When you point your browser to www.example.com (obviously not
example) the page on web.me.com loads properly but www.example.com is 
still displayed in the address bar.


In the second case, which is NOT working, I have a similar CNAME record 
but instead of web.me.com, it's on tumblr.com. So, I have this (this is 
the actual domain):


www.ioanamorosan.com.  CNAME   ioanamorosan.tumblr.com.

If you go directly to ioanamorosan.tumblr.com, the site loads, but if 
you go to www.ioanamorosan.com, you get a tumblr.com 404 error page. The 
browser still displays www.ioanamorosan.com in the address bar.


So, is this a situation where web.me.com is set up to recognize 
www.example.com properly but tumblr.com is not? Or what?


Should I be able to do what I'm trying to do?

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


Re: Forward using CNAME record

2011-01-25 Thread Gary Wallis

Henry Hartley wrote:
My apologies if this gets to the list twice. I tried to post it through 
the web interface but it seems to have been dropped by whatever 
screening gets applied.


I'm not sure if I've misunderstood the use of CNAME or if I've simply 
done something wrong.


I have two domains that I want to forward. One is working properly and 
the other is not. In both cases I want users to enter a URL in their 
browser (www.example.com) and be forwarded to a different system, where 
the user has their site. In the working case, the forwarding it to 
web.me.com so I have the following in my zone file:


www.example.com.   CNAME   web.me.com.

When you point your browser to www.example.com (obviously not
example) the page on web.me.com loads properly but www.example.com is 
still displayed in the address bar.


In the second case, which is NOT working, I have a similar CNAME record 
but instead of web.me.com, it's on tumblr.com. So, I have this (this is 
the actual domain):


www.ioanamorosan.com.  CNAME   ioanamorosan.tumblr.com.

If you go directly to ioanamorosan.tumblr.com, the site loads, but if 
you go to www.ioanamorosan.com, you get a tumblr.com 404 error page. The 
browser still displays www.ioanamorosan.com in the address bar.


So, is this a situation where web.me.com is set up to recognize 
www.example.com properly but tumblr.com is not? Or what?


Should I be able to do what I'm trying to do?

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



Do not confuse your forwarding with HTTP rewriting.

One is just about DNS records (CNAME, A or otherwise.) The other happens 
on the server side (see Apache rewrite engine docs.)


Usually both must be setup correctly to achieve your forwarding.

Cheers!
Gary
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: Forward using CNAME record

2011-01-25 Thread Gary Wallis

Gary Wallis wrote:

Henry Hartley wrote:

...


In the second case, which is NOT working, I have a similar CNAME 
record but instead of web.me.com, it's on tumblr.com. So, I have this 
(this is the actual domain):


www.ioanamorosan.com.  CNAME   ioanamorosan.tumblr.com.

If you go directly to ioanamorosan.tumblr.com, the site loads, but if 
you go to www.ioanamorosan.com, you get a tumblr.com 404 error page. 
The browser still displays www.ioanamorosan.com in the address bar.


So, is this a situation where web.me.com is set up to recognize 
www.example.com properly but tumblr.com is not? Or what?


Should I be able to do what I'm trying to do?




About your second case:

This is not about DNS but about HTTP. Site tumblr uses the incoming HTTP 
request to provide content. Since it does not know anything about 
www.ioanamorosan.com it returns the 404.


Cheers!
Gary

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


Re: Forward using CNAME record

2011-01-25 Thread Eivind Olsen
 www.example.com.   CNAME   web.me.com.
 When you point your browser to www.example.com (obviously not
 example) the page on web.me.com loads properly but www.example.com is
 still displayed in the address bar.

What happens in this case is: the web browser you use will connect to the
address of web.me.com but will present a HTTP host header asking for
www.examle.com. Depending on the configuration of the webserver on that
host, it may serve web pages from a default document root, which may or
may not be the same as web.me.com

 www.ioanamorosan.com.  CNAME   ioanamorosan.tumblr.com.
 If you go directly to ioanamorosan.tumblr.com, the site loads, but if
 you go to www.ioanamorosan.com, you get a tumblr.com 404 error page. The
 browser still displays www.ioanamorosan.com in the address bar.

In this case, the webserver on ioanamorosan.tumblr.com doesn't know how to
deal with requests coming in for www.ioanamorosan.com and gives that error
message.
The administrators of the webserver could add a ServerAlias setting in
their Apache configuration, to put requests into the correct document
root.

Regards
Eivind Olsen


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


Re: Forward using CNAME record

2011-01-25 Thread Torinthiel
Dnia 2011-01-25 10:18 Henry Hartley napisał(a):

My apologies if this gets to the list twice. I tried to post it through 
the web interface but it seems to have been dropped by whatever 
screening gets applied.

I'm not sure if I've misunderstood the use of CNAME or if I've simply 
done something wrong.

I have two domains that I want to forward. One is working properly and 
the other is not. In both cases I want users to enter a URL in their 
browser (www.example.com) and be forwarded to a different system, where 
the user has their site. In the working case, the forwarding it to 
web.me.com so I have the following in my zone file:

www.example.com.   CNAME   web.me.com.

When you point your browser to www.example.com (obviously not
example) the page on web.me.com loads properly but www.example.com is 
still displayed in the address bar.

In the second case, which is NOT working, I have a similar CNAME record 
but instead of web.me.com, it's on tumblr.com. So, I have this (this is 
the actual domain):

www.ioanamorosan.com.  CNAME   ioanamorosan.tumblr.com.

If you go directly to ioanamorosan.tumblr.com, the site loads, but if 
you go to www.ioanamorosan.com, you get a tumblr.com 404 error page. The 
browser still displays www.ioanamorosan.com in the address bar.

So, is this a situation where web.me.com is set up to recognize 
www.example.com properly but tumblr.com is not? Or what?

Should I be able to do what I'm trying to do?

No, not exactly. your name properly resolves to the same domain as 
ioanamorosan.tumblr.com. Your DNS setup is perfectly correct. But the web 
server is not configured to handle www.ioanamorosan.com.
If you go to ioanamorosan.tumblr.com it handles the name correctly and gives 
your page. But when faced with a name it doesn't recognize it falls back to 
default site.

If you have a web panel to configure your hosting, look for something named 
alternative domain names, aliases, virtual hosts or virtual servers.

The name that is sent to the web serwer is the one typed in browser, and has 
nothing to do with any CNAME records on the way. The web server must be  
configured to handle it.
Torinthiel
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Re: Forward using CNAME record

2011-01-25 Thread Henry Hartley

On 1/25/2011 10:40 AM, Torinthiel wrote:

Dnia 2011-01-25 10:18 Henry Hartley napisał(a):


In the second case, which is NOT working, I have a similar CNAME record
but instead of web.me.com, it's on tumblr.com. So, I have this (this is
the actual domain):

www.ioanamorosan.com.  CNAME   ioanamorosan.tumblr.com.

If you go directly to ioanamorosan.tumblr.com, the site loads, but if
you go to www.ioanamorosan.com, you get a tumblr.com 404 error page. The
browser still displays www.ioanamorosan.com in the address bar.

So, is this a situation where web.me.com is set up to recognize
www.example.com properly but tumblr.com is not? Or what?

Should I be able to do what I'm trying to do?


No, not exactly. your name properly resolves to the same domain as
ioanamorosan.tumblr.com. Your DNS setup is perfectly correct. But the web
server is not configured to handle www.ioanamorosan.com.
If you go to ioanamorosan.tumblr.com it handles the name correctly and gives
your page. But when faced with a name it doesn't recognize it falls back to
default site.

If you have a web panel to configure your hosting, look for something named
alternative domain names, aliases, virtual hosts or virtual servers.

The name that is sent to the web serwer is the one typed in browser, and has
nothing to do with any CNAME records on the way. The web server must be
configured to handle it.
Torinthiel


I thought it might be something like that. Since I don't have access to 
any web panel type interface for the site (I'm just providing DNS for a 
friend) I can't fix it on my own. Also, since she's in Europe and I'm in 
North America, it's a little harder for me to hand hold, but I'm sure 
we'll figure it out. If not, I can always point the DNS to my own web 
server and redirect from there, changing the URL passed to tumblr.com.


Thanks you to you and the others who took time to answer my question.

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

Re: Forward using CNAME record

2011-01-25 Thread pyh
Gary Wallis writes: 





Do not confuse your forwarding with HTTP rewriting. 

One is just about DNS records (CNAME, A or otherwise.) The other happens 
on the server side (see Apache rewrite engine docs.) 



This is nothing about rewrite, but webserver's virtual host stuff. 


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