Control Web Panel

WebPanel => DNS Manager => Topic started by: Administrator on July 29, 2014, 01:40:23 PM

Title: How to use FreeDNS Manager
Post by: Administrator on July 29, 2014, 01:40:23 PM
How to use FreeDNS Manager?

1. Register on FreeDNS Manager website
http://freedns.centos-webpanel.com


2. Point you domain to the following nameservers (at your domain registrar):
ns1.centos-webpanel.com
ns2.centos-webpanel.com


3. add your domain on FreeDNS (enter following):
- Zone/Domain: your domain name, example: mydomain.com
- Web Server IP: your server IP, example: 121.122.123.124
- Mail Server IP: your server IP, example: 121.122.123.124
- FTP Server IP: your server IP, example: 121.122.123.124

Great now you have set your FreeDNS!

test your domain records by visiting following link and entering your domain name
http://leafdns.com/

Title: Re: How to use FreeDNS Manager
Post by: erm3nda on August 10, 2014, 09:21:25 PM
Does the freedns service read our server zones from the cwp panel?
Do i need to manually enter my zones entries to freedns panel when, by example, a new subdomain is made?

It's a little confusing about have full local dns manager when is not working because you're using freedns service.

Thank you.
Title: Re: How to use FreeDNS Manager
Post by: Administrator on August 10, 2014, 10:06:35 PM
FreeDNS is independent DNS server, you can use your own DNS server or FreeDNS, that is up to you.

Title: Re: How to use FreeDNS Manager
Post by: erm3nda on August 11, 2014, 07:12:23 AM
Im planning to create a script to collect all subdomains then fill the zones on the freedns panel... just impressed about that missing feature. Freedns looks like "ohh nice dns propagation and free" BUT, why in the word a webhosting panel can rely into manual dns entries???

The cwp panel has full bind script zones automation... so, why not commit to freednspanel? Seems basic like get and post.

If you're not planning that feature i will do in my free time. First onto your ns servie, maybe later on affraid.

Really like that awesome panel :D
Title: Re: How to use FreeDNS Manager
Post by: Administrator on August 12, 2014, 12:26:14 PM
dns on all servers are fully functional, but if you want you can use FreeDNS instead this is only like additional option.

if you want you can build module for editing local dns settings on CWP this would be helpful.
Title: Re: How to use FreeDNS Manager
Post by: erm3nda on August 13, 2014, 06:04:03 PM
If i've build the module for automatic commit of local zones to freedns manager, do i need to send it to some listing? or just upload right here?

I will build it for sure, because i need.

Regards.
Title: Re: How to use FreeDNS Manager
Post by: Administrator on August 14, 2014, 04:49:48 PM
you can contact support and send it,
when source code is checked it could be added to CWP upgrade.
Title: Re: How to use FreeDNS Manager
Post by: erm3nda on August 18, 2014, 06:28:10 PM
Little dude related.

Do i have any API to the builtin functions of cwp?
Because PHP code is ofuscated i cannot take a look on the right way. Just adding code.

Regards.
Title: Re: How to use FreeDNS Manager
Post by: Administrator on August 19, 2014, 07:17:09 PM
no, you can build regular code and once its done we can check it and add in the CWP or integrate.
Title: Re: How to use FreeDNS Manager
Post by: erm3nda on August 20, 2014, 09:38:17 PM
I've started yet and now i have a lot of more dudes than before.

I have some ways (wrong ways) to do that.

Can i rely on other modules like ?module=list_domains to fetch data or it's better to build again the direct query to database?

Also, the fact of how the dns zones are threat add complexity. Is not the same to create a subdomain to a existing zone (presumable domain) than create a new dns zone using a subdomain of a current hosted domain. In this way no one is listed into the domains/subdomains listings. Only into dns zone editor.

So, i have to choose over do in one way, rather than try all and lost my time doing something without a real vision about what im doing. The other way is to make the module i need instead a good module for everyone.

I need things clear to make a good module, not garbage code.

I will continue building the module following MY needs untill i have any guide about how to proceed.
Recent discover is that i cannot attach anything to that thread. ( image about current work into my panel)

Thank you.
Title: Re: How to use FreeDNS Manager
Post by: Administrator on August 21, 2014, 06:37:13 AM
you can build your own query's to database, this is simple mysql query code for domains and subdomains.
when you complete your code we will check it and integrate into panel.

it's the best that this code is standalone and all in one file.

Title: Re: How to use FreeDNS Manager
Post by: erm3nda on August 21, 2014, 06:02:13 PM
Okay.

I've have build it using my own querys reading superglobals info. But, i will try reading db.zones files rather than read database. I say, there's no mysql information when you made a new zone using subdomain. Anyway that's a cool practice to me :D

Im using simple_html_dom class to read http://freedns.centos-webpanel.com/ information, scrapping.
It's easier to my use it than use DomDocument PHP's builtin function. I can try but cannot promise.

Module performance lacks because it does all operations at once. A better way will be call some functions from your current creation/modification scripts.

So, i do not need any more information about that.
Thanks for your patience. Next time i will be here with a working module.

Regards.

Title: Re: How to use FreeDNS Manager
Post by: cdouillard on November 03, 2014, 04:22:33 AM
I've setup a new zone with FreeDNS Manager, but the domain's name servers had not resolved yet generating an error.
Now I can see the zone with the following message associated.
"WARNING: The following zone contains bad or uncommitted records:mydomain.com"
When hit "commit Changes" I get a message "Cannot open: /var/named/mydomain.com
I can't delete the zone because I get an Access denied "A general error has occurred. Reason: You are not an administrator."
My domain can't resolve even if I see when checking via "Whois" that it is linked to name servers ns1.centos-webpanel.com and ns2.centos-webpanel.com

What should I do, I am at lost.
Thanks
Christophe
Title: Re: How to use FreeDNS Manager
Post by: Administrator on November 03, 2014, 06:10:36 AM
you can use LeafDNS to check if you have the correct DNS settings
http://leafdns.com/

if you still have issues then you can contact support.
http://centos-webpanel.com/contact
Title: Re: How to use FreeDNS Manager
Post by: erm3nda on November 11, 2014, 06:05:55 AM
Don't remember where, but i got similar problem about  ns1.centos-webpanel.com and ns2.centos-webpanel.com nameservers. My problem was that the form puts the ns2 first then produces error. Try to swap order evern if doesn't seem logical.

Editing named file: Even if you can't use manager, you can login ssh/scp your server with root user then gracefull edit /var/named/mydomain.com file.

IMPORTANT, dont mix errors:

"WARNING: The following zone contains bad or uncommitted records:mydomain.com"
This is a problem from the named files parser. IM sure you have added the domain badly. You must put a final dot (.) on domain name. Example: mydomain.com.

When hit "commit Changes" I get a message "Cannot open: /var/named/mydomain.com
This is error from your credentials. Use cwp root account to log in then use filemanager to edit the file.

Im developing an dns_commiter module to work with freedns-centos service (by now, more panels later...).
It's a REAL faster DNS service. Sometimes has seconds to make it work. Im very happy with that combo of cwp and 3rdparty dns.

Regards.



Title: Re: How to use FreeDNS Manager
Post by: bulamu on November 02, 2021, 08:01:51 PM
FreeDNS manager is not able to save a new zone.

Code: [Select]
Forbidden

You don't have permission to access /zonelist.php on this server.

screenshot
(https://imgur.com/KzNKiXF)

https://imgur.com/KzNKiXF