|
| Re: need to change DNS A rec via api [message #83458 is a reply to message #83457] |
Mon, 16 May 2011 22:33   |
|
timy wrote on Tue, 17 May 2011 09:20I have read thread 7316,
Link please.
Quote:I'm wandering how to change an A record e.g. mail,__base__ ?
mail=>1.2.3.4 change to mail=>5.6.7.8
Not just add new ones.
This tends to 'hack' code rather than 'standard' API
|
|
|
|
|
| Re: need to change DNS A rec via api [message #83463 is a reply to message #83461] |
Mon, 16 May 2011 23:45   |
|
I am wrong about it.
Try change '/add' with '/update':
/script/add --parent-class=dns --parent-name=domain.com --class=dns_record_a -v-ttype=a --v-hostname=subdomain --v-param=192.168.1.1
/script/add --parent-class=dns --parent-name=domain.com --class=dns_record_a -v-ttype=cname --v-hostname=subdomain --v-param=cnamesub
/script/add --parent-class=dns --parent-name=domain.com --class=dns_record_a -v-ttype=ns --v-param=ns.lxlabs.net
|
|
|
| Re: need to change DNS A rec via api [message #83495 is a reply to message #83463] |
Tue, 17 May 2011 12:50   |
|
Thanks for replying.
It saids "update succesfully executed",but it didnt update anything:
/script/update --parent-class=dns --parent-name=sdfasdfasd.com --class=dns_record_a -v-ttype=a --v-hostname=mail --v-param=192.168.1.1
update succesfully executed
|
|
|
|
| Re: need to change DNS A rec via api [message #89850 is a reply to message #83457] |
Wed, 12 October 2011 00:34  |
|
Hi,
You can change A record from DNS settings. GO to your control panel and then dns setting and edit dns settings. DNS will take 12 to 24 hour for completely resolve on network.
Thanks,
Manoj Gupta
2gbhosting.com
Cheap Web Hosting Solution
|
|
|