In attempting to set up a VoIP server, I came across some interesting behavior from Ubuntu.
My VoIP account was assigned a unique hostname that I am to connect to, however, Ubuntu is unable to resolve it via any non-dns tools (asterisk and ping). If I plug the hostname into nslookup or dig, it resolves fine and if I ping the hostname on any windows server I have available, it also resolves fine.
The hostname in question is a public domain with a guid prepended to it as a subdomain.
My nsswitch.conf file has
hosts: files dns (removing files didn't help)
hosts has (censored the ip and domain)
127.0.0.1 localhost 198.144.xxx.xxx *****.*****.me ***** # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters
None of the other similar issues had this happening with public domains so I am lost on what is going wrong here.
Any advice or help would be appreciated.