| View previous topic :: View next topic |
| Author |
Message |
JohnM
Joined: 20 Oct 2009 Posts: 8
|
Posted: Tue Oct 20, 2009 11:34 pm Post subject: Hostname Resolution Failing in Relay <server> |
|
|
Hi.
Seems that I'm unable to use hostnames in the relay <server></server> field.
I'm running Icecast 2.3.2 on FreeBSD 6.3 and 7.2 with the same results. I'm able to dig and nslookup the host names without issue.
-- error logs --
[2009-10-20 23:25:55] INFO slave/open_relay_connection connecting to relay.myhost.com:80
[2009-10-20 23:25:55] WARN slave/open_relay_connection Failed to connect to relay.myhost.com:80
Any ideas?? |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Wed Oct 21, 2009 12:05 am Post subject: |
|
|
sounds like you have an incomplete chroot jail. DNS lookups will involve various libs and files like /etc/nsswitch.conf or /etc/resolv.conf, you may find that other libs (.so) are loaded as needed. I don't know FBSD that well but on linux you have /lib/libnss* files that are loaded depending on the settings in /etc/nsswitch.conf
karl. |
|
| Back to top |
|
 |
JohnM
Joined: 20 Oct 2009 Posts: 8
|
Posted: Wed Oct 21, 2009 12:24 am Post subject: |
|
|
| thanks Karl. I'll check into this and will update here if I make any progress. |
|
| Back to top |
|
 |
JohnM
Joined: 20 Oct 2009 Posts: 8
|
Posted: Thu Oct 22, 2009 6:48 am Post subject: |
|
|
Karl - you were right on.
I was able to resolve the issue by copying /etc/resolv.conf and /etc/host.conf to <icecast_chroot>/etc/
Thanks again. |
|
| Back to top |
|
 |
|