Skip to content

[Feature][config-ui] Extend DNS variable assignment to handle IPv6 #6977

Description

@wanis-fahmy

Search before asking

  • I had searched in the issues and found no similar feature requirement.

Use case

The config-ui's nginx throws an error on startup when running in an IPv6-only environment. This error arises because the existing command used to extract DNS server addresses does not properly handle IPv6 addresses.

Running the config-ui in an IPv6 only environment throws the below error:
2024/02/19 09:31:08 [emerg] 14#14: invalid port in resolver "xxxx:xxxx:xxxx::a" in /etc/nginx/conf.d/default.conf:26 nginx: [emerg] invalid port in resolver "xxxx:xxxx:xxxx::a" in /etc/nginx/conf.d/default.conf:26

Description

Without proper address substitution, we are not able to run DevLake in an IPv6 only environment

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/feature-requestThis issue is a proposal for something new

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions