You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When deploying EOS on Kubernetes, I had some spare chances to get a truncated hostname when this was longer than 64 chars, resulting in misconfigurations/erroneous setup. Is this limit still necessary?
Hello,
Two things here:
1) XrdSysDNS is deprecated and should not be used because it only supports
IPv4. The replacement is XrdNetAddr which is derived from XrdNetInfo.
2) There is no restriction to 64 characters and the what is being
referenced here is a misleading comment. The comment suggests that 64
characters is long enough but that is untrue, obviously. I don't think EOS
uses XrdSysDNS anymore and if it does it likely specifies a buffer at
least 256 bytes long.
Andy
xrootd/src/XrdSys/XrdSysDNS.cc
Line 255 in a9d5483
When deploying EOS on Kubernetes, I had some spare chances to get a truncated hostname when this was longer than 64 chars, resulting in misconfigurations/erroneous setup. Is this limit still necessary?
Perhaps https://github.com/xrootd/xrootd/blob/master/src/XrdSys/XrdSysDNS.hh#L182
is involved too.
The text was updated successfully, but these errors were encountered: