rob.r374 at gmail.com
2011-Apr-16 12:41 UTC
[asterisk-users] "chan_sip.c: No such host:" but I can resolve it from command line ?
Hi, I have Asterisk 1.4.10 under LMCE (upgrade is not an option) and have this strange error appearing in full log : [Apr 16 14:35:48] NOTICE[10802] chan_sip.c: -- Registration for 'NUMBER at voip.siol' timed out, trying again (Attempt #22) [Apr 16 14:35:48] WARNING[10802] chan_sip.c: No such host: voip.siol [Apr 16 14:35:48] WARNING[10802] chan_sip.c: Probably a DNS error for registration to NUMBER at voip.siol, trying REGISTER again (after 20 seconds) [Apr 16 14:36:08] NOTICE[10802] chan_sip.c: -- Registration for 'NUMBER at voip.siol' timed out, trying again (Attempt #23) [Apr 16 14:36:08] WARNING[10802] chan_sip.c: No such host: voip.siol [Apr 16 14:36:08] WARNING[10802] chan_sip.c: Probably a DNS error for registration to NUMBER at voip.siol, trying REGISTER again (after 20 seconds) But I can easily solve this URL from command line : host voip.siol voip.siol has address 10.253.0.1 What is wrong ? I have this in resolv.conf : nameserver 10.253.9.6 nameserver 193.189.160.13 And this URL should be resolved by first dns (it's working from command line).... Thanks in advance, Regards, Rob. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110416/c7cc784a/attachment.htm>
Mark Deneen
2011-Apr-16 13:37 UTC
[asterisk-users] "chan_sip.c: No such host:" but I can resolve it from command line ?
dig @193.189.160.13 voip.siol ; <<>> DiG 9.6.0-APPLE-P2 <<>> @193.189.160.13 voip.siol ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: REFUSED, id: 35478 ;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 ;; WARNING: recursion requested but not available ;; QUESTION SECTION: ;voip.siol. IN A ;; Query time: 136 msec ;; SERVER: 193.189.160.13#53(193.189.160.13) ;; WHEN: Sat Apr 16 09:31:24 2011 ;; MSG SIZE rcvd: 27 I can't resolve that from here, but your expected answer (10.253.0.1) falls within a RFC1918 private ip address space so that name server may not be publishing authoritative records. Obviously, no one can check the name server at 10.253.9.6, since it is private as well. -M On Sat, Apr 16, 2011 at 8:41 AM, <rob.r374 at gmail.com> wrote:> Hi, > > > > I have Asterisk 1.4.10 under LMCE (upgrade is not an option) and have this > strange error appearing in full log : > > > > [Apr 16 14:35:48] NOTICE[10802] chan_sip.c:??? -- Registration for > 'NUMBER at voip.siol' timed out, trying again (Attempt #22) > > [Apr 16 14:35:48] WARNING[10802] chan_sip.c: No such host: voip.siol > > [Apr 16 14:35:48] WARNING[10802] chan_sip.c: Probably a DNS error for > registration to NUMBER at voip.siol, trying REGISTER again (after 20 seconds) > > [Apr 16 14:36:08] NOTICE[10802] chan_sip.c:??? -- Registration for > 'NUMBER at voip.siol' timed out, trying again (Attempt #23) > > [Apr 16 14:36:08] WARNING[10802] chan_sip.c: No such host: voip.siol > > [Apr 16 14:36:08] WARNING[10802] chan_sip.c: Probably a DNS error for > registration to NUMBER at voip.siol, trying REGISTER again (after 20 seconds) > > > > But I can easily solve this URL from command line : > > host voip.siol > > voip.siol has address 10.253.0.1 > > > > What is wrong ? I have this in resolv.conf : > > nameserver 10.253.9.6 > > nameserver 193.189.160.13 > > > > And this URL should be resolved by first dns (it?s working from command > line).... > > > > Thanks in advance, > > Regards, > > Rob. > > > > > > > > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > ? ? ? ? ? ? ? http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > ? http://lists.digium.com/mailman/listinfo/asterisk-users >