46
5. API for Acquiring/Changing Parameters of VN-E4 _
5.8. Network Basics
Setting Domain Name for VN-E4
Format
/api/param?network.domainname=data
Example
/api/param?network.domainname=somename
Example of Response
network.domainname&202 Required(network.interface.status=restart)
Interpretation
Change the domain name. Characters that may be used for the domain name are alphanumerics, underscores
(_) and hyphens (-). Upon setting this API, execute the "network.interface.status=restart" API for enabling
network setting changes to enable the new settings.
Specify as %00 when the domain name setting is to be left blank.
Example when leaving
field blank
/api/param?network.domainname=%00
Allowed user
admin
Acquiring DNS Server On/Off Status from VN-E4
Format
/api/param?network.dns.status
Example of Response
network.dns.status=off&200 OK
Interpretation
Acquire the on/off status of the DNS server. Either on or off will be returned.
Allowed users
admin, operator, user
Setting DNS Server Status to On/Off for VN-E4
Format
/api/param?network.dns.status=data
Example
/api/param?network.dns.status=on
Example of Response
network.dns.status&202 Required(network.interface.status=restart)
Interpretation
Change the on/off status of the DNS server. Specify as on or off. Upon setting this API, execute the
"network.interface.status=restart" API for enabling network setting changes to enable the new settings.
Allowed users
admin, operator
Acquiring DNS Server Type from VN-E4
Format
/api/param?network.dns.type
Example of Response
network.dns.type=dns&200 OK
Interpretation
Acquire the DNS server type. Either dns or ddns will be returned.
Allowed users
admin, operator, user
Setting DNS Server Type for VN-E4
Format
/api/param?network.dns.type=data
Example
/api/param?network.dns.type=ddns
Example of Response
network.dns.type&202 Required(network.interface.status=restart)
Interpretation
Change the DNS server type. Specify as dns or ddns. Upon setting this API, execute the
"network.interface.status=restart" API for enabling network setting changes to enable the new settings.
Allowed users
admin, operator