What is Dynamic DNS?
A method of keeping a domain name linked to a changing IP address.
Typically, when you connect to the Internet, your ISP assigns an unused IP address from a pool of IP addresses,
and this address is used only for the duration of that specific connection. Therefore, it may change as often as every day.
freemyip.com provides a method of contacting the DNS service
each time the IP address provided by the ISP changes, and subsequently updating the DNS database to reflect the
change in IP address. In this way, even though your IP address will change often, other users
do not have to know the changed IP address in order to connect with your computer. They can always use the same dynamic DNS domain.
This allows you to have your own web server, or easily connect remotely to your network using SSH, among other examples.
Once I create my dynamic domain, how can I keep updating my IP?
Every time your IP address changes, you need to connect to the following URL from inside your network: https://freemyip.com/update?token=YOUR_TOKEN&domain=YOUR_DOMAIN.freemyip.com
The server will automatically recognize your new IP address, and point your dynamic domain to the new IP address.
How do I know if my IP address was updated successfully?
When you use the above URLs to update your IP address, the server will return either "OK" or "ERROR" response.
If you want to learn more details about your result, you can add "&verbose=yes" parameter at the end of your URL. For example:
https://freemyip.com/update?token=YOUR_TOKEN&domain=YOUR_DOMAIN.freemyip.com&verbose=yes
How can I keep updating my IP address automatically?
The easiest way is to simply go to the above URL in your browser. You can set it as your home page,
so that every time you start your browser, your IP address will be updated. It is possible to add a "&redirectURL=www.google.com"
parameter at the end of the above URL, to automatically redirect you to www.google.com once your IP is updated (you can put any website you want instead of www.google.com):
https://freemyip.com/update?token=YOUR_TOKEN&domain=YOUR_DOMAIN.freemyip.com&redirectURL=www.google.com
If you have an always-on Linux on your network (or Raspbian on Raspberry Pi),
......
you can install a cron job that will automatically update your IP address every 20 minutes.
Make sure you have the "curl" command installed, and then execute the following command:
(crontab -l;echo "*/21 * * * * curl \"https://freemyip.com/update?token=YOUR_TOKEN&domain=YOUR_DOMAIN.freemyip.com\">/dev/null 2>&1")|crontab -
If your main router is based on Tomato Firmware,
......
you can configure it in Basic -> DDNS section. In Service dropdown, choose Custom URL.
In the URL field, copy and paste the following, and click Save button.:
https://freemyip.com/update?token=YOUR_TOKEN&domain=YOUR_DOMAIN.freemyip.com
If your main router is based on pfSense,
......
you can configure it on Dyndns Services page. In Service type dropdown, choose Custom.
Leave Username and Password fields empty. In the Update URL field, copy and paste the following, and click Save button.:
https://freemyip.com/update?token=YOUR_TOKEN&domain=YOUR_DOMAIN.freemyip.com
If your want to use inadyn v1.xx client,
......
you can either execute it from command line as follows:
inadyn -N freemyip.com -u YOUR_TOKEN -p YOUR_TOKEN -a YOUR_DOMAIN.freemyip.com -U /nic/update -S default@dyndns.org
Or if your want to use inadyn v1.xx client with configuration file,
......
this is how your
/etc/inadyn.conf file should look like:
# Configuration for freemyip.com
system default@dyndns.org
username YOUR_TOKEN
password YOUR_TOKEN
alias YOUR_DOMAIN.freemyip.com
server-name freemyip.com
server-url /nic/update
Alternatively, if your want to use inadyn v2.xx client with configuration file,
......
this is how your
/etc/inadyn.conf file should look like:
# Configuration for freemyip.com
custom freemyip {
password = YOUR_TOKEN
hostname = YOUR_DOMAIN.freemyip.com
ddns-server = freemyip.com
ddns-path = "/update?token=%p"
}
If you use ddclient (or any other router or software that supports dyndns
or dyndns2 protocol),
......
this is how your /etc/ddclient/ddclient.conf configuration file should look like:
# Configuration for freemyip.com
custom=yes
server=freemyip.com
protocol=dyndns2
login=YOUR_TOKEN
password=YOUR_TOKEN
YOUR_DOMAIN.freemyip.com
If your main router is based on dd-wrt firmware,
.....
this is how you need to configure it in your Dynamic DNS section:
DDNS Service: Custom
DYNDNS Server: freemyip.com
Username: nulluser
Password: nullpassword
Hostname: YOUR_TOKEN
URL: https://freemyip.com/update?domain=YOUR_DOMAIN.freemyip.com&token=
Do Not Use External IP Check: Yes
Force Update Interval: 10
If you use EdgeRouter (or any other router that uses EdgeOS
from Ubiquiti),
......
this is how you need to configure it in your Dynamic DNS section:
Web: leave empty
Web-skip: leave empty
Service: custom
Hostname: YOUR_DOMAIN.freemyip.com
Login: YOUR_TOKEN
Password: YOUR_TOKEN
Protocol: either dyndns or dyndns2 (whatever is available)
Server: freemyip.com
If you need help configuring any other appliance, please use the contact form
Can I use subdomains within my domain?
Yes. Any subdomain in your domain will return your IP address. For example, if your domain is YOUR_DOMAIN.freemyip.com,
you can access your IP by going to this.is.my.YOUR_DOMAIN.freemyip.com or i.really.like.my.YOUR_DOMAIN.freemyip.com, etc.
You can use this to set up virtual servers in your network.
Can I use my own domain name with freemyip.com?
Yes. You can set a CNAME record inside your own domain to point to your subdomain at freemyip.com. For example, assuming you own
example.com, in the zone file for your domain, you would need to set this record:
my.example.com. CNAME YOUR_DOMAIN.freemyip.com.
Now, if you go to my.example.com, your browser will connect to your dynamic IP address.
Similarly, you can use DNAME record to redirect your whole domain to your dynamic IP address, for example:
my.example.com. DNAME YOUR_DOMAIN.freemyip.com.
Now, if you go to www.my.example.com, ftp.my.example.com, cctv.my.example.com,
or any other address within my.example.com, your browser will connect to your dynamic IP address.
This way you can easily create virtual web servers in your network, without having to configure anything in your DNS.
Can I point my domain to an arbitrary IP address?
Yes. You can use an optional "&myip" parameter to do that. For example, to set your domain to point to IP 1.2.3.4
you need to use the following URL:
https://freemyip.com/update?token=YOUR_TOKEN&domain=YOUR_DOMAIN.freemyip.com&myip=1.2.3.4
Can I point my domain to an IPv6 address?
Yes. You can use an optional "&myip" parameter to do that. For example, to set your domain to point to IP 2001:db8::
you need to use the following URL:
https://freemyip.com/update?token=YOUR_TOKEN&domain=YOUR_DOMAIN.freemyip.com&myip=2001:db8::
How long can I keep my subdomain?
You can keep your subdomain as long as you want, but you have to update your IP at least once a year. Even if it's the same IP,
it will still count as an update. So as long as your IP updating script is running, you can keep your subdomain forever.
Can I edit the TXT record for my domain?
Yes. You can use an optional "&txt" parameter to do that. For example, to set your TXT record to "my test text"
you need to use the following URL:
https://freemyip.com/update?token=YOUR_TOKEN&domain=YOUR_DOMAIN.freemyip.com&txt=my%20test%20text
This will also automagically work for any subdomain within your domain.
If you want to remove your TXT record, use "&txt=null" or "&txt=". You can also add parameter "&verbose=yes" to see some
more information in the output, especially if you encounter an error. Any time you change your TXT record, you will have to wait around 1 minute for DNS cache to get updated.
Can I delete my subdomain?
Yes. You can use an optional "&delete=yes" parameter to do that. But be careful:
your subdomain will be permanently deleted, and it won't be possible to create the same subdomain within 12 months (this is to prevent somebody else from "stealing" your deleted subdomain).
Can I check my current external IP address?
Yes. You can use the following URL to check your current external IP address: http://freemyip.com/checkip
If you want to use this URL in pfSense in the "Check IP Services" section, you might need to add the "?format=pfsense" parameter
if your pfSense is an older version (from before 2022).