parasitid | hi again, i've pushed a patchset on designate to try to add support for rfc3597 | 08:28 |
---|---|---|
parasitid | https://review.opendev.org/c/openstack/designate/+/936264 | 08:29 |
parasitid | my goal is to try to implement a gslb around openstack components. | 08:29 |
parasitid | thanks to powerdns lua records i could do a small test yesterday | 08:30 |
parasitid | here's a basic example of a LUA record: | 08:32 |
parasitid | IN LUA A "ifportup(443, {'192.0.2.1', '192.0.2.2'})" | 08:32 |
parasitid | and now the way to create it in Pdns through designate using RFC3597: | 08:33 |
parasitid | openstack recordset create --type TYPE65402 --record ' \# 44 0001296966706f72747570283434332c207b273139322e302e322e31272c20273139322e302e322e32277d29' geoip.dyonisos.local. config2.geoip.dyonisos.local. | 08:33 |
parasitid | the record become active: openstack recordset list geoip.dyonisos.local. | 08:34 |
parasitid | | f2cc5f13-6a33-4e02-86d9-e848f90f35ae | config2.geoip.dyonisos.local. | TYPE65402 | \# 44 0001296966706f72747570283434332c207b27313932 | ACTIVE | NONE | | 08:34 |
parasitid | | | | | 2e302e322e31272c20273139322e302e322e32277d29 | | | | 08:34 |
parasitid | and we can dig it | 08:34 |
parasitid | dig +short config2.geoip.dyonisos.local @192.168.100.53 | 08:35 |
parasitid | 192.0.2.2 | 08:35 |
parasitid | so in summary, with rfc3597, it's (hard yet) possible to setup a geoip dns using designate with pdns4 backend. | 08:37 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!