Outbound proxy and host and registrar that do not resolve

Hi all, I have a provider where on a hardware phone Proxy Server Address:=A Registrar Server Address:=A and Outbound Proxy:=B. Everything works fine. Unfortunately “A” does not resolve by DNS and this seems to cause a problem for asterisk, does anyone know how to create a register string that works for this scenario?