LxCenter HyperVM & Kloxo Support

Forum



Members   Search      Help    Register    Login    Home
Home » LxCenter » Command-line Management » need to change DNS A rec via api
need to change DNS A rec via api [message #83457] Mon, 16 May 2011 22:20 Go to next message
timy is currently offline timy  China
Messages: 5
Registered: May 2011
Member
I have read thread 7316,
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.
Re: need to change DNS A rec via api [message #83458 is a reply to message #83457] Mon, 16 May 2011 22:33 Go to previous messageGo to next message
mustafaramadhan is currently offline mustafaramadhan  Indonesia
Messages: 5677
Registered: December 2010
Location: Yogyakarta
Super Grandmaster
Forum Moderator

timy wrote on Tue, 17 May 2011 09:20
I 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


http://download.lxcenter.org/kdev.png
..:: MRatWork ::..
Server/Web-integrator - perfect not always more useful

--- Need KVM/OpenVZ VPS? - click here (Kloxo-MR READY!) ---

For bug/feature/security - Member rank status

http://download.lxcenter.org/hdev.png
Re: need to change DNS A rec via api [message #83460 is a reply to message #83458] Mon, 16 May 2011 22:46 Go to previous messageGo to next message
timy is currently offline timy  China
Messages: 5
Registered: May 2011
Member
This is the link:
forum-lxcenter-org/index.php?t=msg&th=7316
I cant post a link until I have more than 2 messages.
"This tends to 'hack' code rather than 'standard' API "
This is not a kind of 'hack' Smile
Re: need to change DNS A rec via api [message #83461 is a reply to message #83460] Mon, 16 May 2011 22:53 Go to previous messageGo to next message
timy is currently offline timy  China
Messages: 5
Registered: May 2011
Member
Link:
http://forum.lxcenter.org/index.php?t=msg&th=7316&st art=0&
Re: need to change DNS A rec via api [message #83463 is a reply to message #83461] Mon, 16 May 2011 23:45 Go to previous messageGo to next message
mustafaramadhan is currently offline mustafaramadhan  Indonesia
Messages: 5677
Registered: December 2010
Location: Yogyakarta
Super Grandmaster
Forum Moderator

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


http://download.lxcenter.org/kdev.png
..:: MRatWork ::..
Server/Web-integrator - perfect not always more useful

--- Need KVM/OpenVZ VPS? - click here (Kloxo-MR READY!) ---

For bug/feature/security - Member rank status

http://download.lxcenter.org/hdev.png
Re: need to change DNS A rec via api [message #83495 is a reply to message #83463] Tue, 17 May 2011 12:50 Go to previous messageGo to next message
timy is currently offline timy  China
Messages: 5
Registered: May 2011
Member
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 #83499 is a reply to message #83495] Tue, 17 May 2011 12:52 Go to previous messageGo to next message
timy is currently offline timy  China
Messages: 5
Registered: May 2011
Member
The matter is that,__base__ is not removedable,or I can try to remove it and add a new one.
Re: need to change DNS A rec via api [message #89850 is a reply to message #83457] Wed, 12 October 2011 00:34 Go to previous message
2gbhosting is currently offline 2gbhosting  Indonesia
Messages: 3
Registered: September 2011
Location: New York
Member
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
Previous Topic:Add and Delete address from a mailing list
Next Topic:Reload DNS configuration for all clients
Goto Forum:
  


Current Time: Sat May 25 04:11:24 EDT 2013

Total time taken to generate the page: 0.01163 seconds
.:: Contact :: Home :: Privacy ::.

Click here to lend your support to: LxCenter and make a donation at www.pledgie.com !

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software