Print

Print


On 12/19/2016 08:49 AM, Andrew Hanushevsky wrote:
> Hi Adrian,
>
> On Sun, 18 Dec 2016, Adrian Sevcenco wrote:
>
>> I just used host+ with an proper single ip cname.
>> My intention/thought was just to have host+ in place and when that
>> host name will change to an alias, i would just need to restart services.
>> (in fact, the configuration is dynamically generated from a template
>> and i thought to use in the template host+ thinking that it will be
>> ignored for normal cnames and used for aliases for those that have
>> aliases)
> Unfortunately, xroot requires that any mentioned DNS name be resolvable.
> This is reasonable even for cname records asRFC 1034 requires that cname
> entries be resolvable. So, in this case it would seem that the cname
> record was incomplete and that's why xroot complained.
this is very strange .. what mean incomplete?
could you check rd.spacescience.ro?
and how do you check if it is an alias or nor?
i would like to have the template configuration check if the redirector 
is an alias to automatically add "+" after the host name ...

for me the dns name looks ok.. do you see something not right?

dig +nostats +noquestion +nocmd rd.spacescience.ro
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 31884
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; ANSWER SECTION:
rd.spacescience.ro.     3341    IN      A       85.120.46.20

Thank you!
Adrian

>
>> Wouldn't be possible for xrootd to detect that even if there is host+
>> setting, the dns name is a proper unique ip name and just use it?
> It should but the cname didn't reference anything useful as far as I can
> tell from the messages. In short, a cname record must refer to a
> properly registered DNS name and that seems to not be the case here.
>
> Andy
>


-- 
----------------------------------------------
Adrian Sevcenco, Ph.D.                       |
Institute of Space Science - ISS, Romania    |
adrian.sevcenco at {cern.ch,spacescience.ro} |
----------------------------------------------


########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-L list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-L&A=1