If you're getting public CA to sign E cert it wont accept the IP address
This works to get TLS working and the records survive a reboot of the expressway
https://cdpneighbors.com/spoof-dns-on-expressway/
login as root
For static A records, create a file called hosts.conf
/tandberg/etc/dnsmasq.conf.d/hosts.conf
address=/expe-mra.car.pnslabs.com/10.20.30.40
For static SRV records, create a file called srv.conf
/tandberg/etc/dnsmasq.conf.d/srv.conf
srv-host=_cisco-uds._tcp.car.pnslabs.com.,cucm.car.pnslabs.com.,8443,100,0
After adding the file, you’ll need to restart dnsmasq: - I couldn't get this command to work so rebooting the expressway did the trick
/etc/init.d/dnsmasq restart