DynDNS

From Jan's Wiki
Revision as of 19:59, 25 February 2015 by Der Jan (talk | contribs) (Created page with "Add to pdns.conf: experimental-dnsupdate=yes allow-dnsupdate-from= Check the domain id in psql sudo psql -U powerdns -W powerdns select id from domains where name='conti....")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Add to pdns.conf:

experimental-dnsupdate=yes
allow-dnsupdate-from=

Check the domain id in psql

sudo psql -U powerdns -W powerdns
select id from domains where name='conti.work';

insert into domainmetadata(domain_id, kind, content) values(DOMAINIDHERE, 'ALLOW-DNSUPDATE-FROM','172.16.0.0/16');
insert into tsigkeys (name, algorithm, secret) values ('dyndns', 'hmac-md5', 'ReplaceWithBase64Key==');
insert into domainmetadata (domain_id, kind, content) values (DOMAINIDHERE, 'TSIG-ALLOW-DNSUPDATE', 'dyndns');

For reference see here [1]