Jump to content

Recommended Posts

Hello.

 

I am currently working on a new site (http://sa.cx) that is basically a free domain like this: (example.sa.cx). My main goal is to allow users to set the the full MX, CNAME, A and SOA records.

 

Any ideas on how I could go about this using php?

 

My initial thought would be via cURL.

Link to comment
https://forums.phpfreaks.com/topic/248022-subdomain-custom-dns-via-php/
Share on other sites

If the only way you can set up sub-domains is through an online interface, you'll want to cURL to that online interface.

 

You may want to check/talk to your host. They may have a command line solution that will save you a bunch of ugly cURLs and them a bunch of pointless Apache processes.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.