Lukeidiot Posted September 28, 2011 Share Posted September 28, 2011 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 More sharing options...
trq Posted September 28, 2011 Share Posted September 28, 2011 Any ideas on how I could go about this using php? Not with the (lack of) information provided. Are you hosting DNS locally? Link to comment https://forums.phpfreaks.com/topic/248022-subdomain-custom-dns-via-php/#findComment-1273553 Share on other sites More sharing options...
Lukeidiot Posted September 28, 2011 Author Share Posted September 28, 2011 Right now I've just got a reseller with WHM. Link to comment https://forums.phpfreaks.com/topic/248022-subdomain-custom-dns-via-php/#findComment-1273740 Share on other sites More sharing options...
xyph Posted September 28, 2011 Share Posted September 28, 2011 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. Link to comment https://forums.phpfreaks.com/topic/248022-subdomain-custom-dns-via-php/#findComment-1273748 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.