You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@trafficserver.apache.org by Adam Jefferiss <aj...@gmail.com> on 2011/06/14 12:41:31 UTC
Hosts file
Hi all,
I'm looking at moving over to traffic server at the company I work. I'm just
curious as to whether traffic server pays any attention to the /etc/hosts
file in Linux? I've had a look through documentation and Google but can't
see anything.
Failing that is it possible to add static hosts to the internal DNS
resolver?
I'm aware that you can enable a secondary DNS server by enabling the round
robin options, but would prefer a simpler solution if ones available!
CONFIG proxy.config.dns.round_robin_nameservers INT 1
CONFIG proxy.config.dns.nameservers STRING www.xxx.yyy.zzz
Thanks,
Adam
Re: Hosts file
Posted by Leif Hedstrom <zw...@apache.org>.
On 06/14/2011 04:41 AM, Adam Jefferiss wrote:
> Hi all,
>
> I'm looking at moving over to traffic server at the company I work.
> I'm just curious as to whether traffic server pays any attention to
> the /etc/hosts file in Linux? I've had a look through documentation
> and Google but can't see anything.
No, it doesn't use /etc/hosts.
>
> Failing that is it possible to add static hosts to the internal DNS
> resolver?
Sure. If you are doing reverse proxy, you can also "map" straight to the IP.
-- Leif