On Wed, Sep 21, 2016 at 5:42 PM, Sahina Bose <sabose(a)redhat.com> wrote:
> Hi all,
>
> Is it possible to change the generated hostnames in Lago - currently it
> is of the form lago_basic_suite_hc_host1 and using this hostname fails
> while peer probing gluster.
>
> According to gluster dev:
> "The valid_host_name () function what we have at gluster CLI is as per
> RFC 1912 and an underscore in the hostname is *not* accepted."
>
> If not, other suggestions?
>
Update your code to comply with RFC2181:
" any binary string whatever can be used as the label of any
resource record. Similarly, any binary string can serve as the value
of any record that includes a domain name as some or all of its value
(SOA, NS, MX, PTR, CNAME, and any others that may be added)."
(
https://tools.ietf.org/html/rfc2181 - section 11)
Above paragraph discusses DNS in general. IIUC for hostnames, underscores
are still not allowed. See also e.g.:
Y.
> thanks
> sahina
>
> _______________________________________________
> lago-devel mailing list
> lago-devel(a)ovirt.org
>
http://lists.ovirt.org/mailman/listinfo/lago-devel
>
>
_______________________________________________
lago-devel mailing list
lago-devel(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/lago-devel