HassanAlKak88
Expert
Expert

configure three dns servers for nsx manager

Jump to solution

Hello,

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


Cheers,
vExpert2020-2019||vExpert-NSX2020||VCIX6-NV||VCAP-NV-DCV||VCP-NV-DC-CMA||CCNA-R&S
Twitter: @KakHassan
LinkedIn: linkedin.com/in/hassanalkak
0 Kudos
1 Solution

Accepted Solutions
RShankar22
VMware Employee
VMware Employee

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

0 Kudos
2 Replies
Marcin4
Enthusiast
Enthusiast

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
0 Kudos
RShankar22
VMware Employee
VMware Employee

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

0 Kudos