Christian
Christian

Reputation: 28125

Change IP where domain is pointing

This is probably a very strange request.

I need to programmaticaly (via code) change the IP where a domain name is pointing to.

IE: xyz.com points to 100.100.100.100

setIP('xyz.com','100.100.100.100');

I know this [code] is practically impossible, however, what I need is to do this via domain host API etc or other possible ways you might think of.

I'd be happy even if it weren't anything more then sending an email to the DNS owner/host.

Do you know of anything the like or which might help?

(nb: considered throwing this at ServerFault, but felt it more at home here ;) )

Cheers!

Upvotes: 1

Views: 383

Answers (3)

Prabhu Murthi
Prabhu Murthi

Reputation: 2876

There is an API class called "WMI API", which can be used to manage your stuffs using code/program. please try the below URL.

http://www.delphi3000.com/articles/article_4392.asp

Upvotes: 2

Lee
Lee

Reputation: 95

It really depends on the setup, where you are doing it from and for what reason?

I guess you are not running a DNS server yourself or hosting the(se) domains either, if you were then this is relatively easy.

More information on what you are trying to achieve using what technology would be helpful.

Upvotes: 3

SLaks
SLaks

Reputation: 887215

You're looking for a Dynamic DNS provider, such as No-IP or DynDNS.

They have HTTP APIs that allow you to change the A records.

Upvotes: 7

Related Questions