title: ISC-DHCP and PowerDNS for DDNS "Unable to add forward map <FQDN> to <IP>:unexpected error
body: <p>I have trouble implementing isc-dhcp with powerdns for ddns, no matter how many time i've change to configuration, it will always came back with this error &quot;Unable to add forward map from  to : operation canceled&quot;</p>
  <p>then this &quot;Unable to add forward map from  to : unexpected error&quot;</p>
  <p>this is my dhcpd.conf file</p>
  <pre><code>authoritative;
  log-facility local7;
  
  key dhcp-key {
          algorithm hmac-sha256;
          secret &quot;some comfusing scramble alphabet and number and symbol ass well&quot;;
  };
  
  default-lease-time 720000;
  max-lease-time 2160000;
  
  
  ddns-updates on;
  ddns-update-style interim;
  update-static-leases on;
  
  ping-check true;
  
  ddns-domainname &quot;gwusers.lan&quot;;
  ddns-rev-domainname &quot;in-addr.arpa.&quot;;
  
  zone gwusers.lan. {
          primary 192.168.183.111;
          key dhcp-key;
  }
  
  shared-network user-ip {
          subnet 172.17.183.0 netmask 255.255.255.0 {
                  option routers 172.17.183.254;
                  option domain-name-servers 192.168.183.111, 192.168.183.222;
                  option domain-search &quot;mycomp.local&quot;;
  
                  pool {
                          #one-lease-per-client true;
                          ping-check true;
                          range 172.17.183.1 172.17.183.229;
                  }
                  zone 183.17.172.in-addr.arpa. {
                          primary 192.168.183.111;
                          key dhcp-key;
                  }
          }
  
          subnet 172.21.183.0 netmask 255.255.255.0 {
                  option routers 172.21.183.254;
                  option domain-name-servers 192.168.183.111, 192.168.183.222;
                  option domain-search &quot;mycomp.local&quot;;
  
                  pool {
                          #one-lease-per-client true;
                          ping-check true;
                          range 172.21.183.1 172.21.183.229;
                  }
  
                  zone 183.21.172.in-addr.arpa. {
                         primary 192.168.183.111;
                         key dhcp-key;
                 }
          }
  }
  </code></pre>
  <p>on my pdns.conf</p>
  <p>i have enable &quot;dnsupdate=yes&quot; and &quot;allow-dnsupdate-from=&quot;</p>
  <p>i have follow this guide but doesn't seem to work at all</p>
  <p>NB : dhcp-server (Centos 8 with dhcpd version is 4.3.6) and dns server (centos 7 with pdns version is 4.3.0) is not under 1 machine, i have installed them separately.</p>
  <p>does anybody know how to fix this?</p>