Update DNS on ondemand

Hi, our current ondemand points to a HA proxy but we want DNS to point directly to to the ondemand server,

I did some digging, if I update the /etc/ood/config/ood_portal.yml file

and eg.

add

server_aliases:
- "``ondemand.xyz.xyz.org``"

update the config file.

/opt/ood/ood-portal-generator/sbin/update_ood_portal
systemctl try-restart httpd
systemctl try-restart ondemand-dex.service

will this work?

Thanks

Not sure if I understand what you’re looking for - you don’t need an alias if you want to route directly to the ondemand server. I.e., if the DNS entry is my.ondemand.host (and this record points to the internal hostname of the ondemand server) then you only need servername: my.ondemand.host set. Though if your routing traffic directly to the server, I’m not sure what the use of HA proxy is, unless you’re trying to get rid of it?

trying to get rid of HA proxy and use the HA proxy as the DNS for our ondemand server

Thanks!