Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

freenom API not authenticating

I want to automatically update Freenom's DNS record to my current global IP address because I don't have a static IP. So I looked into Freenom's API and gave it a go. I tried this: https://api.freenom.com/v2/domain/list?email=*****&password=******* and was expecting a list of active domains. But instead got this error back:

{
    "error": "Login credentials do not match any account",
    "status": "error"
}

Which is odd because I have checked the credentials and they are 100% correct. Instead of the email property I also tried a username property and I tried setting this information through HTTP headers and through the body, but I got nothing.

If anyone knows how I can get the API to work, that would be greatly appreciated.

Thanks

like image 591
J-Cake Avatar asked Sep 30 '18 11:09

J-Cake


People also ask

Should I register a domain name with Freenom?

Because of its free offering, domain names registered through Freenom may be easier subject to abuse and misuse than paid domains. Freenom operates an anti-abuse and copyright infringement team based in Amsterdam that replies on each reported issue within 24 hours. This way Freenom can continue to operate top level domain names.

What is Freenom World?

Freenom World is a fast and anonymous Public DNS resolver Change your DNS to 80.80.80.8080.80.81.81 Why Freenom World? Watch video Visit Freenom World Services My Subscriptions My Domains Register a New Domain Freenom World Renew Domains Transfer Domains Register a New Domain Free and Paid domains Domain Price Chart WHOIS Partners Resellers

Is Freenom World an anonymous DNS resolver?

This is still part of the old system which will... Freenom World is a fast and anonymous Public DNS resolver Change your DNS to 80.80.80.8080.80.81.81 Why Freenom World?

What do I do if I Forgot my Freenom password?

If you forgot your password you can click ‘Request a Password Reset’ at the Freenom login page. You will receive a validation... I have problems logging in to My Freenom If you are continuously asked to login you may need to enable cookies in your browser. To enable cookies in your Microsoft...


1 Answers

According to this article the Freenom API is only available for resellers. I ran into the same issue myself. You can use a program that accesses the Freenom UI to change the DNS records, like this one, which uses Python and the UI to update DNS records. Or you can use another DNS provider, which is what I did.

like image 88
jcroskery Avatar answered Oct 21 '22 13:10

jcroskery