Hi, Clearwater uses dnsmasq (a DNS forwarder that runs on each Clearwater node to act as a cache). The clearwater processes look in /etc/resolv.conf for DNS configuration, and this points them to localhost, where dnsmasq runs.
Your successful nslookup doesn’t use localhost, but instead 10.129.34.70, so you’ll need to update the dnsmasq configuration to point to this server rather than localhost. You can find details of how to do this at: https://github.com/Metaswitch/clearwater-docs/wiki/Clearwater-DNS-Usage#client-configuration Also, in your email you put: “HttpResolver::resolve for host hs.ims.hom, port 8888, family 2 10-09-2014 20:04:09.570 UTC Debug baseresolver.cpp:511: Attempt to parse hs.ims.hom as IP address 10-09-2014 20:04:09.570 UTC Debug dnscachedresolver.cpp:179: Pulling 0 records from cache for hs.ims.hom A 10-09-2014 20:04:09.570 UTC Debug baseresolver.cpp:359: Found 0 A/AAAA records, randomizing 10-09-2014 20:04:09.570 UTC Debug baseresolver.cpp:418: Adding 0 servers from blacklist Doesn't the baseresolver.cpp:359 line signify that it found hs.ims.hom?” The baseresolver log indicates how many A/AAAA records were found for the address – in this case none. Hope this helps, Ellie From: Sushant Hiray [mailto:[email protected]] Sent: 11 September 2014 13:08 To: Eleanor Merry Cc: [email protected] Subject: Re: [Clearwater] SIP Client Register not working [403 Forbidden] Hi Elie, Thanks for a quick reply. I've configured a DNS server. Here are some quick bytes. [sprout]synerg@ubuntu-precise:~$ ping ralf.ims.hom PING ralf.ims.hom (10.129.34.68) 56(84) bytes of data. 64 bytes from ralf.ims.hom (10.129.34.68): icmp_req=1 ttl=64 time=1.30 ms 64 bytes from ralf.ims.hom (10.129.34.68): icmp_req=2 ttl=64 time=0.784 ms 64 bytes from ralf.ims.hom (10.129.34.68): icmp_req=3 ttl=64 time=0.759 ms 64 bytes from ralf.ims.hom (10.129.34.68): icmp_req=4 ttl=64 time=0.720 ms ^C --- ralf.ims.hom ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 3004ms rtt min/avg/max/mdev = 0.720/0.891/1.304/0.241 ms [sprout]synerg@ubuntu-precise:~$ ping hs.ims.hom PING hs.ims.hom (10.129.34.49) 56(84) bytes of data. 64 bytes from hs.ims.hom (10.129.34.49): icmp_req=1 ttl=64 time=1.28 ms 64 bytes from hs.ims.hom (10.129.34.49): icmp_req=2 ttl=64 time=0.889 ms 64 bytes from hs.ims.hom (10.129.34.49): icmp_req=3 ttl=64 time=0.671 ms ^C --- hs.ims.hom ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2002ms rtt min/avg/max/mdev = 0.671/0.947/1.282/0.254 ms [sprout]synerg@ubuntu-precise:~$ nslookup hs.ims.hom Server: 10.129.34.70 Address: 10.129.34.70#53 Name: hs.ims.hom Address: 10.129.34.49 [sprout]synerg@ubuntu-precise:~$ nslookup ralf.ims.hom Server: 10.129.34.70 Address: 10.129.34.70#53 Name: ralf.ims.hom Address: 10.129.34.68 So I guess sprout can reach both hs.ims.hom and ralf.ims.hom HttpResolver::resolve for host hs.ims.hom, port 8888, family 2 10-09-2014 20:04:09.570 UTC Debug baseresolver.cpp:511: Attempt to parse hs.ims.hom as IP address 10-09-2014 20:04:09.570 UTC Debug dnscachedresolver.cpp:179: Pulling 0 records from cache for hs.ims.hom A 10-09-2014 20:04:09.570 UTC Debug baseresolver.cpp:359: Found 0 A/AAAA records, randomizing 10-09-2014 20:04:09.570 UTC Debug baseresolver.cpp:418: Adding 0 servers from blacklist Doesn't the baseresolver.cpp:359 line signify that it found hs.ims.hom? Thanks, Sushant _______________________________________________ Clearwater mailing list [email protected] http://lists.projectclearwater.org/listinfo/clearwater
