[asterisk-users] DNS lookups failing for SIP register

Alistair Cunningham acunningham at integrics.com
Mon Jul 31 07:44:32 MST 2006


Joshua Colp wrote:
>> Putting an entry in /etc/hosts, or using an IP address in the register 
>> line, works.
> 
> That's really really weird, it should use the system to lookup the hostname... did restarting Asterisk not help?

Joshua,

That was exactly my reaction! Restarting Asterisk did not help. I had a 
look at the Asterisk source code, and it just uses gethostbyname() so I 
can't imagine why it would be any different from host or ping.


Alistair Cunningham,
Integrics Ltd,
+44 20 799 39 799
http://integrics.com/



More information about the asterisk-users mailing list