Skip to content

[Bug]: CLI Fails When Adding NS Record with exo dns add NS #759

@Latzox

Description

@Latzox

Current Behavior

When attempting to add a DNS NS record via the Exoscale CLI using exo dns add NS, the command fails with an unrelated error referencing a missing flag:

error: flag accessed but not defined: mail-server-host

This occurs even though no mail-related flag was provided, and the command syntax follows the documented CLI usage pattern.

Full command: exo dns add NS latzo.net --name cloud --name-server ns2.pangolin.net

Expected Behavior

The command should create a new NS record under the latzo.net zone:

cloud.latzo.net. IN NS ns2.pangolin.net.

Steps To Reproduce

  1. Have access to any active DNS zone in Exoscale DNS (e.g., example.com).
  2. Run the following command in the Exoscale CLI: exo dns add NS <your-domain> --name subdomain --name-server ns2.example-dns.net
  3. Observe the error message about an undefined flag (mail-server-host).

CLI Version

exo 1.85.4 23cf25d (egoscale 0.102.3)

Os platform

Linux Ubuntu 24.04.3 LTS 5.15.167.4-microsoft-standard-WSL2

Relevant log output

error: flag accessed but not defined: mail-server-host

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions