Thursday, 2024-04-04

opendevreviewMikhail Samoylov proposed openstack/designate-tempest-plugin master: Add zone serial tests.  https://review.opendev.org/c/openstack/designate-tempest-plugin/+/91506914:19
opendevreviewMikhail Samoylov proposed openstack/designate master: Support using non unix timestamp serial.  https://review.opendev.org/c/openstack/designate/+/91474914:21
samcat116Hi all, I am using Designate and PDNS4. I think I have the integration setup correctly. When I create a zone I see the zone show up as a secondary in PDNS with its masters as my openstack controllers and the mdns port. However if I try and manually create a recordset, it will sit in pending forever, even after the zone becomes active. If I manually trigger an "update from primary" on the powerdns side, it will actualy grab all the18:56
samcat116records and create them on the pdns side and those will respond to dns requests, but the recordsets stay pending on the openstack side. Any ideas?18:56
samcat116this is a bobcat deployment18:56
johnsomThat sounds like a pool configuration issue18:59
johnsomCheck that the "nameservers" section is correct. Also use the designate manage to see the running pool config vs. the config files19:00
johnsomMy guess is the NOTIFY message from designate is not getting to the PDNS servers19:01
samcat116I am actually seeing notify messages get to pdns19:03
samcat116in the pdns logs19:03
johnsomPDNS is getting the NOTIFY but not starting an AXFR for the zone?19:03
samcat116yes19:04
johnsomI wonder if PDNS isn't trusting the designate controllers, i.e. it doesn't see them as primary servers for the zone, or there is an allow list configured wrong.19:04
samcat116when I create a new zone, I see a notify and then an axfr19:05
samcat116and I see the @ NS record on pdns side19:05
samcat116but then I never see another axfr for the zone19:05
samcat116unless I manually trigger an update on the pdns side19:05
johnsomYeah, so the NOTIFYs aren't working in PDNS for some reason19:05
johnsomhttps://doc.powerdns.com/authoritative/settings.html#allow-notify-from19:06
samcat116I don't have that set so the default should be working19:07
johnsomIf you are on 4.x, you may need to also configure https://doc.powerdns.com/authoritative/settings.html#setting-allow-unsigned-notify19:07
samcat116I do have trusted-notification-proxy set as pdns is behind a LB. That part appears to be working as it isn't refusing the notify anymore19:08
samcat116Ok, I'll try that then19:08
samcat116well that default seems to be fine19:08
johnsomAre you using TSIG on the zones?19:08
samcat116no19:08
johnsomHmmm, then I am not sure why the NOTIFY isn't triggering PDNS to do a serial check/zone transfer.19:10
samcat116I also dont see a notify after I create a recordset19:12
samcat116strike that, I do19:13
johnsomIt should send one on any zone update, but they can be "batched" so there might be a short delay.19:14
samcat116yep that makes sense19:15
johnsomYou said you have an LB in front, do the PDNS servers have a route back to the mini-DNS instances to do the AXFR pull?19:18
johnsomI would expect PDNS to log something if that was the case, but... I mostly work with BIND, so I don't know all of the details with PDNS19:19
samcat116It should. it can do the axfr when the zone is created19:20
samcat116I see that happening in the pdns logs19:20
johnsomThat's right, you said a manually triggered transfer was successful. Hmmm19:20
samcat116Should I see the SOA record on the PDNS side? I don't see that in any of my zones19:22
samcat116its just on the openstack side19:22
johnsomI would expect it to be there, yes19:24
johnsomThat is how PDNS can check it's serial number (in the SOA) with the one in mini-DNS19:24
johnsomThe initial AXFR should have pulled that over.19:25
samcat116It does not, just the NS record19:26
johnsomDouble check the targets: masters settings in your pool config19:29
johnsomMaybe compare your running pool config with this one: https://docs.openstack.org/designate/latest/admin/pools.html#managing-pools19:30
johnsomThe PDNS zone create just sends PDNS the zone and the list of masters, from that it should AXFR the zone19:31
johnsomI do recommend using "$ designate-manage pool show_config" just in case the config file on disk is different than the running config.19:34
samcat116Oh I think this is due to the serial not being bumped on the designate side19:34
samcat116the serial in desginate has not changed after adding recordsets19:34
johnsomIt should still do the initial transfer though19:35
samcat116the masters in my pool config are my controllers running mdns 19:40
samcat116So when I add a recordset to a zone, should that increase the serial?20:11
johnsomYeah, after a short period of time (batching).20:16
samcat116None of my zone serials have ever changed since creation20:18

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!