SIP Host Name Resolution
If I have a SIP endpoint defined in sip.conf using a host name instead of an IP address, do I have to reload sip to get Asterisk to ‘re-resolve’ the host name if I change the IP address in my DNS?
Does the answer change if the host name in sip.conf resolves to a CNAME
and I change the CNAME in my DNS?
One thought on - SIP Host Name Resolution
Hi,
Am 03.02.2017 um 18:23 schrieb Steve Edwards:
Normally, Asterisk honours DNS TTL and will re-lookup hosts as soon as the TTL is expired. If you can’t wait for that to happen, you can enable the builtin DNS manager and configure a refresh interval for DNS records to expire. See “dnsmgr.conf” for the latter one.
Not as far as I know. If you enabled SRV lookups for Asterisk, you may also want to check possibly existing SRV records for your host since Asterisk then looks them up first.
Max