Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

duplicate nameservers in resulting netplan config file #158

Open
rudy-l opened this issue Nov 22, 2023 · 0 comments
Open

duplicate nameservers in resulting netplan config file #158

rudy-l opened this issue Nov 22, 2023 · 0 comments

Comments

@rudy-l
Copy link

rudy-l commented Nov 22, 2023

Hi, question about dns_server_list variable.
When I configure multiple nics the resulting netplan config file is something like that :

# Generated by VMWare customization engine.
network:
  version: 2
  renderer: networkd
  ethernets:
    ens192:
      dhcp4: no
      dhcp6: no
      addresses:
        - 192.168.0.1/24
      nameservers:
        addresses:
          - 192.168.2.1
          - 192.168.3.1
    ens224:
      dhcp4: no
      dhcp6: no
      addresses:
        - 192.168.1.1/24
      gateway4: 192.168.1.254
      nameservers:
        addresses:
          - 192.168.2.1
          - 192.168.3.1

I guess if this is the expected behaviour ?
My deployment pipeline (Kubespray) needs these nameservers entries and try to add all of them (4) as upstream DNS, unfortunately this is refused as max number is 3.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant