[Pdns-users] ddns: no A records created, only PTR

Patrick Bervoets patrick.bervoets at psc-elsene.be
Thu Mar 17 15:37:45 UTC 2022


pdns 4.7
ISC dhcpd 4.2.5
MariaDB 10.7.3

It's been 3 days now I am trying to get ddns working, and I ran out of ideas.

PTRs gets created, in-addr.arpa SOA gets updated, but I can't find a way to create or update A records. I'm quite sure I made a stupid mistake but just can't find it.

The relevant parts of the confs and records:

pdns.conf
allow-dnsupdate-from=
dnsupdate=yes
local-address=127.0.0.53
local-port=53

recursor.conf
allow-from=127.0.0.0/8, 192.168.0.0/16, 10.0.0.0/8
forward-zones=psc-elsene.be=127.0.0.53:53,168.192.in-addr.arpa=127.0.0.53:53,10.in-addr.arpa=127.0.0.53:53
local-address=192.168.1.60, 10.103.103.5, 127.0.0.1
local-port=53

dhcpd.conf
key dhcpdupdate { algorithm hmac-md5; secret yup; }
ddns-updates on;
ddns-update-style standard;
ddns-domainname "psc-elsene.be";
ddns-rev-domainname "in-addr.arpa.";
zone psc-elsene.be { primary 127.0.0.53; key dhcpdupdate; }
zone 103.103.10.in-addr.arpa. { primary 127.0.0.53; key dhcpdupdate; }

dhcpd.leases
lease 10.103.103.12 {
  starts 4 2022/03/17 14:49:37;
  ends 5 2022/03/18 02:49:37;
  cltt 4 2022/03/17 14:49:37;
  binding state active;
  next binding state free;
  rewind binding state free;
  hardware ethernet 52:54:00:ma:sk:ed;
  uid "[...]";
  set ddns-client-fqdn = "vpc2102.PSC-ELSENE.BE";
  set ddns-rev-name = "12.103.103.10.in-addr.arpa.";
  client-hostname "vpc2102";
}

domains
|id |name                   |master|last_check|type  |notified_serial|account|
|---|-----------------------|------|----------|------|---------------|-------|
|10 |psc-elsene.be          |      |[NULL]    |NATIVE|[NULL]         |       |
|15 |103.103.10.in-addr.arpa|      |[NULL]    |NATIVE|[NULL]         |       |

domainmetadata
|id |domain_id|kind                |content        |
|---|---------|--------------------|---------------|
|5  |10       |TSIG-ALLOW-DNSUPDATE|dhcpdupdate    |
|7  |15       |TSIG-ALLOW-DNSUPDATE|dhcpdupdate    |
|9  |10       |ALLOW-DNSUPDATE-FROM|127.0.0.0/8    |
|10 |15       |ALLOW-DNSUPDATE-FROM|127.0.0.1      |
|13 |10       |ALLOW-DNSUPDATE-FROM|10.103.103.0/24|

|id |domain_id|name                      |type|content                                                                       |ttl  |prio|change_date|disabled|ordername|auth|
|---|---------|--------------------------|----|------------------------------------------------------------------------------|-----|----|-----------|--------|---------|----|
|451|15       |12.103.103.10.in-addr.arpa|PTR |vpc2102.PSC-ELSENE.BE                                                         |3,600|0   |[NULL]     |0       |[NULL]   |1   |
|452|15       |103.103.10.in-addr.arpa   |SOA |dns.psc-elsene.be ict.103.103.10.in-addr.arpa 2022031815 10800 3600 86400 3600|3,600|0   |[NULL]     |0       |[NULL]   |1   |

Although vpc2102 gets his ip and other info; no A record.

I can create A records with nsupdate.

I could paste in the logs, but it's rather a lot. I don't know if that's appreciated.

Any pointer would be very welcome.

Thanks,
Patrick

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20220317/024eb857/attachment-0001.htm>


More information about the Pdns-users mailing list