Reza Dehbozorgi Posted June 17, 2023 Share Posted June 17, 2023 Greetings, I need a hook to introduce a domain from the user level, in a specific cron job, it will automatically do whois from within whmcs (local), if the domain status is available, it will automatically register it. Can you help me? 0 Quote Link to comment Share on other sites More sharing options...
ruswein Posted June 20, 2023 Share Posted June 20, 2023 TopLevelDomainAdd TopLevelDomainDelete TopLevelDomainPricingUpdate does not works because fires only if updated manually in admin area 0 Quote Link to comment Share on other sites More sharing options...
ruswein Posted June 20, 2023 Share Posted June 20, 2023 sorry, wrong here 0 Quote Link to comment Share on other sites More sharing options...
Reza Dehbozorgi Posted June 21, 2023 Author Share Posted June 21, 2023 Thank you, It doesn't matter if we add the domain manually, but the status of the domain will be checked automatically every few hours we specify, and if the domain becomes available, it will be registered or at least sent an email. 0 Quote Link to comment Share on other sites More sharing options...
ruswein Posted June 23, 2023 Share Posted June 23, 2023 On 6/21/2023 at 5:15 PM, Reza Dehbozorgi said: Thank you, It doesn't matter if we add the domain manually, but the status of the domain will be checked automatically every few hours we specify, and if the domain becomes available, it will be registered or at least sent an email. What registrar module do you use? Is it a self developed one? If yes you can just extend module sync function and perform you check and register actions here. 0 Quote Link to comment Share on other sites More sharing options...
Reza Dehbozorgi Posted June 23, 2023 Author Share Posted June 23, 2023 We use Joker registry and module. We want a hook to do this for us independently, we don't want it integrated into the registry! We want this operation to be done independently, if the domain is available, the registrar will instruct the registry module to register. 0 Quote Link to comment Share on other sites More sharing options...
Sarah David Posted July 3, 2023 Share Posted July 3, 2023 Auto Check Domain Status Hook appears to be a term or phrase related to a feature or process used to automatically check the status of a domain. It could refer to a technical mechanism or functionality implemented within a system or software that regularly verifies the status or availability of a domain name. By utilizing this "hook," the system can periodically query the domain's status, such as whether it is registered, expired, or available for registration. This information can be useful for various purposes, such as domain management, monitoring domain expiration, or assisting with domain registration or acquisition processes. 0 Quote Link to comment Share on other sites More sharing options...
jworley641 Posted July 13, 2023 Share Posted July 13, 2023 I'm sorry, but I'm not familiar with an "Auto Check Domain Status Hook" as a specific term or concept. However, I can provide you with information on domain status and how you can automate the process of checking it. Domain status refers to the current condition or state of a domain name. It can include various aspects such as registration status, expiration date, availability, and other related information. Monitoring domain status is important for website owners, businesses, and individuals to ensure that their domains are active, renewed on time, or available for purchase if desired. To automate the process of checking domain status, you can use various programming languages and tools to create a script or application. Here's a general outline of how you could approach it: 1. Choose a programming language: Select a programming language that you are comfortable with or that best suits your requirements. Common choices include Python, PHP, or JavaScript. 2. Select a domain registrar API: Most domain registrars provide APIs (Application Programming Interfaces) that allow you to interact with their systems programmatically. Choose a registrar whose API supports domain status retrieval and management. Some popular domain registrars include GoDaddy, Namecheap, and Google Domains. 3. Set up API access: Create an account with the chosen domain registrar and obtain API credentials (e.g., API key, secret token) to authenticate your requests. Follow the registrar's documentation to understand their API endpoints and authentication process. 4. Write code to check domain status: Use your chosen programming language and the registrar's API to develop a function or script that queries the domain status. This can typically be done by making HTTP requests to the registrar's API endpoints with the appropriate parameters (e.g., domain name). 5. Implement automation and scheduling: Depending on your requirements, you can set up automated checks at regular intervals using scheduling mechanisms provided by your operating system or a task scheduler library in your chosen programming language. This ensures that the domain status is checked automatically without manual intervention. 6. Handle the retrieved data: Once you receive the response from the domain registrar API, you can parse the data to extract relevant information such as registration status, expiration date, or availability. You can then take further actions based on this information, such as sending notifications, renewing domains, or initiating purchases. Remember to handle errors and exceptions appropriately, and consider implementing logging and error handling mechanisms to ensure the reliability and stability of your automation script. Please note that the specific implementation details will depend on the registrar's API documentation and the programming language you choose. It's essential to refer to the registrar's API documentation for accurate information and examples specific to their services. If you had a different understanding or context in mind for the term "Auto Check Domain Status Hook," please provide more details, and I'll do my best to assist you further. First Motion Products 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.