E
E
Evgeny Kuznetsov2014-02-11 19:05:23
PHP
Evgeny Kuznetsov, 2014-02-11 19:05:23

DNS server managed from PHP

As I understand it, you can use PowerDNS + MySQL and write from php to the tables that PowerDNS uses.
I have the following questions:
1. If I create the necessary records in the PowerDNS tables from php, will they be immediately given by the master new ones?
2. Will they be added to the slave automatically?
3. How is PowerDNS performance?
4. Is there another option if I want to make convenient DNS records management from a self-written control panel?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
lehha, 2014-02-25
@evgentus

In short, yes, it will work.
1. Recordings are loaded immediately. But there is also a cache - if the entry has already been asked, then wait until it rots (configured in the config).
2. If Slave via AXFR - then as the zone is requested, if I understand correctly.
But it’s easier to make a Slave not on AXFR , but mysql slave replica - then at least a hundred slaves, everyone will have almost identical (depending on the backlog from the master) 3 years (excluding DDoS). Naturally, in order not to kill mysql, tune the pdns cache and query_cache. The most chic is a table with the MEMORY type, then IO will never rest.
4. For 4 years of experience - I think PDNS is the best option. To help, there is a debug in the log file (it even writes sql queries) and convenient web server statistics.
Of the goodies - the ability to make records for the *.ru zone, for example, or simply * - for all non-existent domains, well, LUA-SCRIPT.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question