Print

Print


Right now, the hostname that will be used by an XRootD daemon is bootstrapped here:

https://github.com/xrootd/xrootd/blob/master/src/Xrd/XrdConfig.cc#L574-L579

Basically, it selects an IP address and does a reverse DNS resolution to determine the hostname. This hostname can't be overridden as far as I can tell.

We've run into two cases where an override is necessary:

  1. Where the forward DNS resolution (name -> IP address) configured as desired but it's essentially impossible to setup the reverse DNS. This is because the university that owns the project (and the DNS zone for the project) is different than the university that owns the IPs.
  2. When running inside Kubernetes, the visible device IP is distinct from the incoming IP address meaning neither forward nor reverse DNS lookups result in the correct value. We need to explicitly set the hostname instead of having it autodetected.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <xrootd/xrootd/issues/1855@github.com>

[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/xrootd/xrootd/issues/1855", "url": "https://github.com/xrootd/xrootd/issues/1855", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

Use REPLY-ALL to reply to list

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