Skip to content

Shjpr9/CF-Ip-Changer-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

CF-Ip-Changer-bot

Cloudflare ip changer telegram bot

Hey, Welcome to this telegram bot. You can use this bot to directly manage your dns records on Cloudflare. So let's start!

I've created a Telegram bot that allows you to easily change the IP address of your Cloudflare subdomain. This bot uses the Cloudflare API to update your DNS record with the new IP address. To get started, you'll need to host the bot on your own server. You can do this by downloading the code and hosting it on your server using PHP. Once you have the bot hosted on your server, you'll need to set up a Telegram bot and obtain an API token. To use the bot, simply send a message to the bot with the new IP address you want to use. The bot will then update your Cloudflare DNS record with the new IP address. To make the bot work, you'll need to point your Telegram webhook to the main.php file on your server. This file contains the code that handles incoming messages and updates the Cloudflare DNS record. If you have any questions or run into any issues with the bot, feel free to contact me for support.

How to make a telegram bot?

Here is how you can create a Telegram bot using BotFather:

Open the Telegram app and search for "BotFather". Start a chat with BotFather and send the message "/newbot". BotFather will prompt you to choose a name for your bot. Choose a name and send it to BotFather. Next, BotFather will ask you to choose a username for your bot. This username must end in "bot". Choose a username and send it to BotFather. BotFather will then give you an API token for your bot. Save this token as you will need it to authenticate your bot when making API requests. That's it! You have now created a Telegram bot using BotFather. You can use the API token provided by BotFather to set a webhook and point it to the code.

Make sure to change $token in main.php with your bot token

About

Cloudflare ip changer telegram bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages