Freenom-dns Script
An unofficial python implementation for managing freenom.com dns records.
Freenom
Freenom is the world's first and only free domain provider.
Install
pip install git+https://github.com/Shm013/freenom-dns.git
How to use
from freenom import Freenom
if __name__ == '__main__':
freenom = Freenom('your username', 'your password')
###################################################
pub_ip = freenom.getPublicIP()
# add or modify a record
freenom.setRecord('your domain', '', 'a', pub_ip)
freenom.setRecord('your domain', 'www', 'a', pub_ip)
freenom.setRecord('your domain', 'test', 'a', pub_ip)
# delete a record
freenom.delRecord('your domain', 'test')
# show all records with domain
freenom.showRecords('your domain')
print results
doLogin: Login successfully.
PublicIP: xxx.xxx.xxx.xxx
setRecord: There were no changes
setRecord: There were no changes
setRecord: Record added successfully
delRecord: Record deleted successfully
--------------your domain--------------
['', 'A', '3600', 'xxx.xxx.xxx.xxx']
['WWW', 'A', '3600', 'xxx.xxx.xxx.xxx']
License
Metadata
Release files for freenom 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| freenom-0.0.2.tar.gz | 5.6 kB | Without provenance | Details for freenom-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| freenom-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for freenom-0.0.2-py3-none-any.whl |
Total release size: 11.3 kB
Release files / freenom-0.0.2.tar.gz
| Download URL | freenom-0.0.2.tar.gz |
|---|---|
| Size | 5.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
676dbacc5aa2a45c34db359f2497d1dd329ceb30e3bf9d57d795290328cbcd14
|
|
BLAKE2b-256 checksum How to use checksums |
b5508bac87fb1cc27ea2a802eca68720bb589b1914603420644c2b6a394c38ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.10
|
Release files / freenom-0.0.2-py3-none-any.whl
| Download URL | freenom-0.0.2-py3-none-any.whl |
|---|---|
| Size | 5.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
06e25b6ef1ee94b14aab6b156ce9f351968c9bb88e082ca578484adb37d1324d
|
|
BLAKE2b-256 checksum How to use checksums |
fa3ca1f53d9413e8de14dd7ee6fe9a989052d2ae93ce2e0cb8a664e533275107
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.10
|
Security for freenom 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.