VMware Networking Community
HassanAlKak88
Expert
Expert
Jump to solution

configure three dns servers for nsx manager

Hello,

what is the way to configure three DNS servers for NSX-V manager (6.4.4).


If my reply was helpful, I kindly ask you to like it and mark it as a solution

Regards,
Hassan Alkak
Reply
0 Kudos
1 Solution

Accepted Solutions
RShankar22
VMware Employee
VMware Employee
Jump to solution

The recommended configuration through UI will allow you to configure only 2 DNS servers (Primary and Secondary). But if you want to configure more DNS servers then you can use below API.

//To get the Network config

GET  https://10.152.223.130/api/1.0/appliance-management/system/network

//To edit network configuration

PUT https://10.152.223.130/api/1.0/appliance-management/system/network


You can verify the same through NSX cli through enable mode:

manager# show startup-config

View solution in original post

Reply
0 Kudos
2 Replies
Marcin4
Enthusiast
Enthusiast
Jump to solution

You can try to do it via REST API.

Please refer to:

https://docs.vmware.com/en/VMware-NSX-Data-Center-for-vSphere/6.4/nsx_64_api.pdf  page 146.

nsxapi01.png

Best Regards
Marcin Gwóźdź
VCP-NV 6, VCIX-DCV 7, VCIX-DTM 7.
linkedin.com/in/marcin-gwóźdź-80b84b122
Reply
0 Kudos
RShankar22
VMware Employee
VMware Employee
Jump to solution

The recommended configuration through UI will allow you to configure only 2 DNS servers (Primary and Secondary). But if you want to configure more DNS servers then you can use below API.

//To get the Network config

GET  https://10.152.223.130/api/1.0/appliance-management/system/network

//To edit network configuration

PUT https://10.152.223.130/api/1.0/appliance-management/system/network


You can verify the same through NSX cli through enable mode:

manager# show startup-config

Reply
0 Kudos